drbd: Fixed w_restart_disk_io() to handle non active AL-extents
authorPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 15 Jul 2011 15:19:02 +0000 (17:19 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:57:58 +0000 (16:57 +0100)
commit1b7ab15b11716d075b3dca34cf41e8d7aba3cba2
tree3aaa51da655ed15215d5ad1367cf4f0140bc4d89
parent9b743da96c8640dbfc864cb5d79c51547c3fadb4
drbd: Fixed w_restart_disk_io() to handle non active AL-extents

Since we now apply the AL in user space onto the bitmap, the AL
is not active for the requests we want to reply.

For that a al_write_transaction() that might be called from
worker context became necessary.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_actlog.c
drivers/block/drbd/drbd_worker.c