]> 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)
committerSasha Levin <alexander.levin@verizon.com>
Wed, 31 Aug 2016 23:21:09 +0000 (19:21 -0400)
commit917f1531b13efbc52acbc9fc0a65c258f01bfbc4
treeeccddd433847a48db94e1eb542f91e2d91994a4f
parent1d6a6dc25a83afb263fcc961d3714b6e30ba7fd1
dm flakey: fix reads to be issued if drop_writes configured

[ Upstream commit 299f6230bc6d0ccd5f95bb0fb865d80a9c7d5ccc ]

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>
Cc: stable@vger.kernel.org
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
drivers/md/dm-flakey.c