diff options
author | NeilBrown <neilb@suse.de> | 2009-03-30 23:27:02 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-03-30 23:27:02 -0400 |
commit | 355a43e641b948a7b755cb4c2466ec548d5b495f (patch) | |
tree | bed8f87adde74f054c6b822ffdbae74395e76710 /drivers/md/md.c | |
parent | d0a4bb492772ce5c4bdfba3744a99ed6f6fb238f (diff) |
md: write bitmap information to devices that are undergoing recovery.
When we add some spares to an array and start recovery, and we have
a bitmap which is stored 'internally' on all devices, we call
bitmap_write_all to make sure the bitmap is correct on the new
device(s).
However that doesn't work as write_sb_page only writes to
'In_sync' devices, and devices undergoing recovery are not
'In_sync' until recovery finishes.
So extend write_sb_page (actually next_active_rdev) to include devices
that are under recovery.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/md.c')
0 files changed, 0 insertions, 0 deletions