]> git.baikalelectronics.ru Git - kernel.git/commit
drbd: fix READ_RETRY_REMOTE_CANCELED to not complete if device is suspended
authorLars Ellenberg <lars.ellenberg@linbit.com>
Wed, 11 Jan 2012 08:46:48 +0000 (09:46 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Wed, 9 May 2012 13:16:48 +0000 (15:16 +0200)
commit5e4d011e8a05b8263c54ac627828b8528cd5fa85
treeecfc9c36addad208e1416aef84d7ffe9ff1a737f
parent25b4e805b20af460ba61fb648dcc2ca0b92cc981
drbd: fix READ_RETRY_REMOTE_CANCELED to not complete if device is suspended

READ_RETRY_REMOTE_CANCELED needs to be grouped with the other _CANCELED
cases, not with CONNECTION_LOST_WHILE_PENDING, as that would complete
(fail) the bio even if the device became suspended.

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