summaryrefslogtreecommitdiff
path: root/kernel/padata.c
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2012-10-19 12:21:22 (GMT)
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-09 13:11:42 (GMT)
commit518a4d53b2985451a08cb4e5b79deacfe151a38a (patch)
treea2bbe91f62459f474417c1485912b1da7beaed10 /kernel/padata.c
parentfd0017c1243b2b9058525672b9ea13272fb51b30 (diff)
downloadlinux-fsl-qoriq-518a4d53b2985451a08cb4e5b79deacfe151a38a.tar.xz
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 'kernel/padata.c')
0 files changed, 0 insertions, 0 deletions