summaryrefslogtreecommitdiffstats
path: root/Manage.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2008-09-16 05:58:43 +0200
committerDan Williams <dan.j.williams@intel.com>2008-09-16 05:58:43 +0200
commit4795982e68f72ef44bd29c9883e5f6291088a3e1 (patch)
tree6a17d7ec939a5d2c922a28c6a26c55f4fa44b9f2 /Manage.c
parentmonitor: clean up some debug messages (diff)
downloadmdadm-4795982e68f72ef44bd29c9883e5f6291088a3e1.tar.xz
mdadm-4795982e68f72ef44bd29c9883e5f6291088a3e1.zip
sysfs: detect disks that are in the process of being removed
When removing a disk there is a window where the 'slot' attribute of md/dev-$name will return -EBUSY to read attempts. When this happens look at the the 'block' link, if it is removed then we can be sure the device has been removed, versus some other error. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'Manage.c')
0 files changed, 0 insertions, 0 deletions