summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2008-10-21 13:25:28 +1100
committerNeilBrown <neilb@suse.de>2008-10-21 13:25:28 +1100
commit3c0ee63a64a20351ed6c16ec797e1f8c850741ea (patch)
tree482b825a00356a2b7b605065ce1d6ebe87591eb5 /drivers/md/dm.c
parentb62b75905d571c29262a6c38cf9e5f089c203871 (diff)
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 <neilb@suse.de>
Diffstat (limited to 'drivers/md/dm.c')
0 files changed, 0 insertions, 0 deletions