]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dm raid: fix false positive for requeue needed during reshape
authorMing Lei <ming.lei@redhat.com>
Mon, 11 Mar 2024 17:42:55 +0000 (13:42 -0400)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:41 +0000 (18:19 -0400)
commit9f926ba2534321811d20bc59b5adbcfefd0f4cfe
treee3051a661978bb37c16943b8fcfe86fffdc5aeb9
parent535fb2160ade51d3b653b96575233ea46d1213a7
dm raid: fix false positive for requeue needed during reshape

[ Upstream commit b25b8f4b8ecef0f48c05f0c3572daeabefe16526 ]

An empty flush doesn't have a payload, so it should never be looked at
when considering to possibly requeue a bio for the case when a reshape
is in progress.

Fixes: 9dbd1aa3a81c ("dm raid: add reshaping support to the target")
Reported-by: Patrick Plenefisch <simonpatp@gmail.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/md/dm-raid.c