drbd: wait for meta data IO completion even with failed disk, unless force-detached
authorLars Ellenberg <lars.ellenberg@linbit.com>
Thu, 27 Sep 2012 11:03:45 +0000 (13:03 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 30 Oct 2012 07:39:18 +0000 (08:39 +0100)
commit44edfb0d785ea06712b5a717fa2c1ae34e300845
treeb886731330dc8b153f033d7c16729c47b146a026
parent8b45a5c8a190d0ea0077928fd8e95c0752e40e41
drbd: wait for meta data IO completion even with failed disk, unless force-detached

The intention of force-detach is to be able to deal with a completely
unresponsive lower level IO stack, which does not even deliver error
completions anymore, but no completion at all.

In all other cases, we must still wait for the meta data IO completion.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/drbd/drbd_actlog.c
drivers/block/drbd/drbd_bitmap.c
drivers/block/drbd/drbd_int.h