aboutsummaryrefslogtreecommitdiff
path: root/drivers/block/drbd/drbd_int.h
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2012-10-19 14:21:22 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-09 14:11:42 +0100
commit518a4d53b2985451a08cb4e5b79deacfe151a38a (patch)
treea2bbe91f62459f474417c1485912b1da7beaed10 /drivers/block/drbd/drbd_int.h
parentfd0017c1243b2b9058525672b9ea13272fb51b30 (diff)
downloadvexpress-lsk-518a4d53b2985451a08cb4e5b79deacfe151a38a.tar.gz
drbd: don't try to clear bits once the disk has failed
If the disk has failed already, there is no point trying to change the bitmap. drbd_set_out_of_sync() already had this safeguard, time to add it to drbd_set_in_sync() as well. This also prevents some warning messages, like FIXME asender in bm_change_bits_to, bitmap locked for 'detach' by worker if our disk fails during resync, while there are some resync acks queued up. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_int.h')
0 files changed, 0 insertions, 0 deletions