summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-thin-metadata.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2017-02-28 17:55:16 +0100
committerMike Snitzer <snitzer@redhat.com>2017-02-28 22:47:50 +0100
commitad47047220777460c6d7dc8333808591f29e5c17 (patch)
treef919340456653c7794100937e52a31949f70ae0d /drivers/md/dm-thin-metadata.c
parentdm: flush queued bios when process blocks to avoid deadlock (diff)
downloadlinux-ad47047220777460c6d7dc8333808591f29e5c17.tar.xz
linux-ad47047220777460c6d7dc8333808591f29e5c17.zip
dm raid: fix raid "check" regression due to improper cleanup in raid_message()
While cleaning up awkward branching in raid_message() a raid set "check" regression was introduced because "check" needs both MD_RECOVERY_SYNC and MD_RECOVERY_REQUESTED flags set. Fix this regression by explicitly setting both flags for the "check" case (like is also done for the "repair" case, but redundant set_bit()s are perfectly fine because it adds clarity to what is needed in response to both messages -- in addition this isn't fast path code). Fixes: 105db59912 ("dm raid: cleanup awkward branching in raid_message() option processing") Reported-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-thin-metadata.c')
0 files changed, 0 insertions, 0 deletions