summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_main.c
diff options
context:
space:
mode:
authorLars Ellenberg2011-10-06 17:30:26 +0200
committerPhilipp Reisner2012-05-09 15:15:54 +0200
commita2e9138197405a4c051630416ceebf98158e631d (patch)
tree260a4976065d1efc85bc73d1a7c7be8c2416bb7a /drivers/block/drbd/drbd_main.c
parentdrbd: Fixed a race condition between detach and start of resync (diff)
downloadkernel-qcow2-linux-a2e9138197405a4c051630416ceebf98158e631d.tar.gz
kernel-qcow2-linux-a2e9138197405a4c051630416ceebf98158e631d.tar.xz
kernel-qcow2-linux-a2e9138197405a4c051630416ceebf98158e631d.zip
drbd: fix spurious meta data IO "error"
When detaching, even cleanly detaching due to administrator request, we always go through D_FAILED before we become D_DISKLESS. Don't let that state change race with an in-flight meta data IO, or that one might think it actually experienced an IO error. 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_main.c')
0 files changed, 0 insertions, 0 deletions