diff options
author | Lars Ellenberg | 2011-10-06 17:30:26 +0200 |
---|---|---|
committer | Philipp Reisner | 2012-05-09 15:15:54 +0200 |
commit | a2e9138197405a4c051630416ceebf98158e631d (patch) | |
tree | 260a4976065d1efc85bc73d1a7c7be8c2416bb7a /drivers/block/drbd/drbd_main.c | |
parent | drbd: Fixed a race condition between detach and start of resync (diff) | |
download | kernel-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