md: add 'recovery_start' per-device sysfs attribute
authorDan Williams <dan.j.williams@intel.com>
Sun, 13 Dec 2009 04:17:12 +0000 (21:17 -0700)
committerNeilBrown <neilb@suse.de>
Mon, 14 Dec 2009 01:58:57 +0000 (12:58 +1100)
commit06e3c817b750c131a20e82eed57a17841ea88ed2
tree55da529f662c29da5b5fd202b5ece9fb907aa431
parent4e59ca7da05f0d5d3ad40365c502c8b0fd24c7e3
md: add 'recovery_start' per-device sysfs attribute

Enable external metadata arrays to manage rebuild checkpointing via a
md/dev-XXX/recovery_start attribute which reflects rdev->recovery_offset

Also update resync_start_store to allow 'none' to be written, for
consistency.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Documentation/md.txt
drivers/md/md.c