diff options
| author | NeilBrown <[email protected]> | 2008-10-21 02:25:28 +0000 |
|---|---|---|
| committer | NeilBrown <[email protected]> | 2008-10-21 02:25:28 +0000 |
| commit | 3c0ee63a64a20351ed6c16ec797e1f8c850741ea (patch) | |
| tree | 482b825a00356a2b7b605065ce1d6ebe87591eb5 /fs/proc/array.c | |
| parent | md: use sysfs_notify_dirent to notify changes to md/array_state (diff) | |
| download | kernel-3c0ee63a64a20351ed6c16ec797e1f8c850741ea.tar.gz kernel-3c0ee63a64a20351ed6c16ec797e1f8c850741ea.zip | |
md: use sysfs_notify_dirent to notify changes to md/dev-xxx/state
The 'state' file for a device reports, for example, when the device
has failed. Changes should be reported to userspace ASAP without
the possibility of blocking on low-memory. sysfs_notify does
have that possibility (as it takes a mutex which can be held
across a kmalloc) so use sysfs_notify_dirent instead.
Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
