]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dm flakey: fix reads to be issued if drop_writes configured
authorMike Snitzer <snitzer@redhat.com>
Thu, 25 Aug 2016 01:12:58 +0000 (21:12 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Sep 2016 08:09:28 +0000 (10:09 +0200)
commitb60784f807b36f89d89d174cbff574df75a7a586
tree646e0d3b50192052b3f4b60550c5a43f7bc470ce
parent7bac8850af69c9322a9ee32a6cc449d02eccb01f
dm flakey: fix reads to be issued if drop_writes configured

commit 299f6230bc6d0ccd5f95bb0fb865d80a9c7d5ccc upstream.

v4.8-rc3 commit 99f3c90d0d ("dm flakey: error READ bios during the
down_interval") overlooked the 'drop_writes' feature, which is meant to
allow reads to be issued rather than errored, during the down_interval.

Fixes: 99f3c90d0d ("dm flakey: error READ bios during the down_interval")
Reported-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/dm-flakey.c