summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-mv.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-03-31 15:15:05 +1100
committerNeilBrown <neilb@suse.de>2009-03-31 15:15:05 +1100
commitcea9c22800773cecb1d41f4a6139f9eb6a95368b (patch)
treed070d22390b86768fefb8ba04c64d74993ed28e9 /drivers/rtc/rtc-mv.c
parent7ec0547838976d088dfb9cb0adb073e6e8a15aa3 (diff)
downloadop-kernel-dev-cea9c22800773cecb1d41f4a6139f9eb6a95368b.zip
op-kernel-dev-cea9c22800773cecb1d41f4a6139f9eb6a95368b.tar.gz
md: add explicit method to signal the end of a reshape.
Currently raid5 (the only module that supports restriping) notices that the reshape has finished be sync_request being given a large value, and handles any cleanup them. This patch changes it so md_check_recovery calls into an explicit finish_reshape method as well. The clean-up from sync_request can do things that need to be done promptly, typically things local to the raid5_conf_t structure. The "finish_reshape" method is called under the mddev_lock so it can do things involving reconfiguring the device. This allows us to get rid of md_set_array_sectors_locked, which would have caused a deadlock if you tried to stop and array while a reshape was happening. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/rtc/rtc-mv.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud