]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/block/drbd/drbd_req.c
drbd: Fix postponed requests
authorPhilipp Reisner <philipp.reisner@linbit.com>
Wed, 29 Aug 2012 13:23:14 +0000 (15:23 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 9 Nov 2012 13:11:37 +0000 (14:11 +0100)
commit76590cd1fc338fd1c50f7121636db421deb8b881
treeb73e77a7594fbdf2f4250e2c4700b273e3625899
parent19fffd7b0303e8843aa2decfd43fa57c9d511409
drbd: Fix postponed requests

A postponed request might has RQ_IN_ACT_LOG already set, but
is POSTPONED before it gets something in the RQ_LOCAL_MASK
set. Up to now this caused a left-over active extent.

Fix that by only testing for the RQ_IN_ACT_LOG bit in drbd_req_destroy()

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