Files
Linux/drivers
Dan Williams 6bfe0b4990 md: support blocking writes to an array on device failure
Allows a userspace metadata handler to take action upon detecting a device
failure.

Based on an original patch by Neil Brown.

Changes:
-added blocked_wait waitqueue to rdev
-don't qualify Blocked with Faulty always let userspace block writes
-added md_wait_for_blocked_rdev to wait for the block device to be clear, if
 userspace misses the notification another one is sent every 5 seconds
-set MD_RECOVERY_NEEDED after clearing "blocked"
-kill DoBlock flag, just test mddev->external

Signed-off-by: Dan Williams <[email protected]>
Signed-off-by: Neil Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2008-04-30 08:29:33 -07:00
..
…
…
…
…
…
2008-04-29 08:06:27 -07:00
2008-04-29 13:46:54 -07:00
2008-04-29 08:06:27 -07:00
2008-04-29 08:06:18 -07:00
…
…
…
…
…
…
…
…
2008-04-29 08:06:28 -07:00
…
…
…
…