dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/include/linux/raid
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 <dan.j.williams@intel.com>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-30 08:29:33 -07:00
..
Kbuild
bitmap.h md: reduce CPU wastage on idle md array with a write-intent bitmap 2008-03-04 16:35:17 -08:00
linear.h
md.h md: support blocking writes to an array on device failure 2008-04-30 08:29:33 -07:00
md_k.h md: support blocking writes to an array on device failure 2008-04-30 08:29:33 -07:00
md_p.h
md_u.h
multipath.h
raid0.h
raid1.h
raid5.h md: introduce get_priority_stripe() to improve raid456 write performance 2008-04-28 08:58:42 -07:00
raid10.h
xor.h async_tx: add the async_tx api 2007-07-13 08:06:14 -07:00