drbd: Consider that read requests could be NEG_ACKEDed
authorPhilipp Reisner <philipp.reisner@linbit.com>
Tue, 13 Dec 2011 10:36:57 +0000 (11:36 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:58:12 +0000 (16:58 +0100)
commite8cdc3433568a1741e95c1d4412a7fb9736d0eac
tree3ec01ced9ac8201f23f7e659a6c4b15b88ae018b
parent6ab9b1b60b1854bf5fe68ecd51cb9550c67801ec
drbd: Consider that read requests could be NEG_ACKEDed

ap_in_flight only counts writes. NEG_ACKED is an action
on a request that might be called for reads and writes.

This bug was there forever, but it becomes much more
relevant with the read balincing code.

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