summaryrefslogtreecommitdiff
path: root/fs/xfs
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2018-12-18 17:35:41 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-05 09:20:37 +0100
commitfe8e594cb7246815d051d78b74dc5270b7d598f3 (patch)
tree9fef8a02caa484b57ddece56a679731944e0ee9f /fs/xfs
parent7baf8fd1ffff8e57f903956c10d8a18dc098cdbe (diff)
dm raid: fix false -EBUSY when handling check/repair message
[ Upstream commit 74694bcbdf7e28a5ad548cdda9ac56d30be00d13 ] 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>
Diffstat (limited to 'fs/xfs')
0 files changed, 0 insertions, 0 deletions