linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC V2 0/4] Fix regression bugs
@ 2024-02-20 15:30 Xiao Ni
  2024-02-20 15:30 ` [PATCH RFC 1/4] dm-raid/md: Clear MD_RECOVERY_WAIT when stopping dmraid Xiao Ni
                   ` (4 more replies)
  0 siblings, 5 replies; 23+ messages in thread
From: Xiao Ni @ 2024-02-20 15:30 UTC (permalink / raw)
  To: song
  Cc: yukuai1, bmarzins, heinzm, snitzer, ncroxon, neilb, linux-raid,
	dm-devel

Hi all

Sorry, I know this patch set conflict with Yu Kuai's patch set. But
I have to send out this patch set. Now we're facing some deadlock
regression problems. So it's better to figure out the root cause and
fix them. But Kuai's patch set looks too complicate for me. And like
we're talking in the emails, Kuai's patch set breaks some rules. It's
not good to fix some problem by breaking the original logic. If we really
need to break some logic. It's better to use a distinct patch set to
describe why we need them.

This patch is based on linus's tree. The tag is 6.8-rc5. If this patch set
can be accepted. We need to revert Kuai's patches which have been merged
in Song's tree (md-6.8-20240216 tag). This patch set has four patches.
The first two resolves deadlock problems. With these two patches, it can
resolve most deadlock problem. The third one fixes active_io counter bug.
The fouth one fixes the raid5 reshape deadlock problem.

I have run lvm2 regression test. There are 4 failed cases:
shell/dmsetup-integrity-keys.sh
shell/lvresize-fs-crypt.sh
shell/pvck-dump.sh
shell/select-report.sh

Xiao Ni (4):
  Clear MD_RECOVERY_WAIT when stopping dmraid
  Set MD_RECOVERY_FROZEN before stop sync thread
  md: Missing decrease active_io for flush io
  Don't check crossing reshape when reshape hasn't started

 drivers/md/dm-raid.c |  2 ++
 drivers/md/md.c      |  8 +++++++-
 drivers/md/raid5.c   | 22 ++++++++++------------
 3 files changed, 19 insertions(+), 13 deletions(-)

-- 
2.32.0 (Apple Git-132)


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2024-03-01  4:18 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-20 15:30 [PATCH RFC V2 0/4] Fix regression bugs Xiao Ni
2024-02-20 15:30 ` [PATCH RFC 1/4] dm-raid/md: Clear MD_RECOVERY_WAIT when stopping dmraid Xiao Ni
2024-02-23  3:31   ` Yu Kuai
2024-02-23 13:20     ` Xiao Ni
2024-02-26  1:31       ` Yu Kuai
2024-02-26  5:12         ` Xiao Ni
2024-02-26  9:36           ` Yu Kuai
2024-02-27  7:16             ` Xiao Ni
2024-02-27  7:39               ` Yu Kuai
2024-03-01  4:18             ` Xiao Ni
2024-02-23 10:31   ` Yu Kuai
2024-02-23 13:40     ` Xiao Ni
2024-02-20 15:30 ` [PATCH RFC 2/4] md: Set MD_RECOVERY_FROZEN before stop sync thread Xiao Ni
2024-02-23  3:12   ` Yu Kuai
2024-02-23  3:58     ` Song Liu
2024-02-20 15:30 ` [PATCH RFC 3/4] md: Missing decrease active_io for flush io Xiao Ni
2024-02-23  3:06   ` Yu Kuai
2024-02-23 13:49     ` Xiao Ni
2024-02-20 15:30 ` [PATCH RFC V2 4/4] md/raid5: Don't check crossing reshape when reshape hasn't started Xiao Ni
2024-02-23  3:08   ` Yu Kuai
2024-02-23 14:00     ` Xiao Ni
2024-02-21  5:45 ` [PATCH RFC V2 0/4] Fix regression bugs Benjamin Marzinski
2024-02-23  2:42   ` Xiao Ni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).