diff options
author | NeilBrown <neilb@suse.de> | 2012-02-07 12:01:51 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-02-07 12:01:51 +1100 |
commit | db91ff55bdf06736b849afc1b1fce5763bbb8d5d (patch) | |
tree | ade2010773b721e3d699e75a9348f200e7ad31c4 /drivers/md/raid1.c | |
parent | 34f8ac6d79e5446c6242e4bcb474f152c857c5c6 (diff) | |
download | lwn-db91ff55bdf06736b849afc1b1fce5763bbb8d5d.tar.gz lwn-db91ff55bdf06736b849afc1b1fce5763bbb8d5d.zip |
md: two small fixes to handling interrupt resync.
1/ If a resync is aborted we should record how far we got
(recovery_cp) the last request that we know has completed
(->curr_resync_completed) rather than the last request that was
submitted (->curr_resync).
2/ When a resync aborts we still want to update the metadata with
any changes, so set MD_CHANGE_DEVS even if we 'skip'.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid1.c')
0 files changed, 0 insertions, 0 deletions