summaryrefslogtreecommitdiffstats
path: root/include/linux/backing-dev-defs.h
diff options
context:
space:
mode:
authorHeinz Mauelshagen2018-12-18 17:35:41 +0100
committerMike Snitzer2018-12-18 19:48:35 +0100
commit74694bcbdf7e28a5ad548cdda9ac56d30be00d13 (patch)
tree44eabdc82e3b9ac13159650576f06c0b71f523f1 /include/linux/backing-dev-defs.h
parentdm rq: cleanup leftover code from recently removed q->mq_ops branching (diff)
downloadkernel-qcow2-linux-74694bcbdf7e28a5ad548cdda9ac56d30be00d13.tar.gz
kernel-qcow2-linux-74694bcbdf7e28a5ad548cdda9ac56d30be00d13.tar.xz
kernel-qcow2-linux-74694bcbdf7e28a5ad548cdda9ac56d30be00d13.zip
dm raid: fix false -EBUSY when handling check/repair message
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>
Diffstat (limited to 'include/linux/backing-dev-defs.h')
0 files changed, 0 insertions, 0 deletions