]> git.baikalelectronics.ru Git - kernel.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)
committerMike Snitzer <snitzer@redhat.com>
Thu, 25 Aug 2016 01:55:05 +0000 (21:55 -0400)
commit8cd19e5317752c1345fe65e0e445d07e3749ff30
treebc5b3db5bf18861eaca1b12e5917f69018413d8f
parent1fa859b2de8f1ef05332f907c6e06d634c23731e
dm flakey: fix reads to be issued if drop_writes configured

v4.8-rc3 commit fb7bd1aac8 ("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: fb7bd1aac8 ("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>
Cc: stable@vger.kernel.org
drivers/md/dm-flakey.c