drbd: Fixed P_NEG_ACK processing for protocol A and B
authorPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 17 Jan 2011 17:39:18 +0000 (18:39 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:45:40 +0000 (11:45 +0100)
commit2deb8336d04106f215c21ad1b029e78d12033d02
tree19a6efb58bf425002630c58826c6b53099fe73a1
parent94f2b05f03fbc605f83ae501682c85ff4535bb6d
drbd: Fixed P_NEG_ACK processing for protocol A and B

Protocol A has no P_WRITE_ACKs, but has P_NEG_ACKs.
The master bio might already be completed, therefore the
request is no longer in the collision hash.
=> Do not try to validate block_id as request

In Protocol B we might already have got a P_RECV_ACK
but then get a P_NEG_ACK after wards.

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