]> git.karo-electronics.de Git - linux-beck.git/commit
drbd: fix list corruption by failing but already aborted reads
authorLars Ellenberg <lars.ellenberg@linbit.com>
Fri, 8 Jun 2012 12:09:54 +0000 (14:09 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Tue, 12 Jun 2012 12:34:51 +0000 (14:34 +0200)
commit1ed25b269e3dd5ecc64f17beef9ea21745c39ca6
treea311e656c28d4946ddb0849f1a4e42839706e990
parent4eccc579795290a58e2262fa4e9d083d7672e699
drbd: fix list corruption by failing but already aborted reads

If a read is aborted due to force-detach of a supposedly unresponsive
local backing device, and retried on the peer, it can happen that the
local request later still completes (hopefully with an error).
As it may already have been completed to upper layers meanwhile,
it must not be retried again now.

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