Files
linux/drivers/md
Heinz Mauelshagen fe8e594cb7 dm raid: fix false -EBUSY when handling check/repair message
[ Upstream commit 74694bcbdf ]

Sending a check/repair message infrequently leads to -EBUSY instead of
properly identifying an active resync.  This occurs because
raid_message() is testing recovery bits in a racy way.

Fix by calling decipher_sync_action() from raid_message() to properly
identify the idle state of the RAID device.

Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-05 09:20:37 +01:00
..
2016-11-01 09:43:26 -06:00
2019-10-05 13:10:03 +02:00
2007-10-20 02:01:26 +01:00
2017-06-09 09:27:32 -06:00
2018-06-08 11:59:51 -04:00
2018-06-08 11:59:51 -04:00