linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] md: flush deadlock bugfix
@ 2024-05-25 18:52 linan666
  2024-05-25 18:52 ` [PATCH 1/2] md: change the return value type of md_write_start to void linan666
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: linan666 @ 2024-05-25 18:52 UTC (permalink / raw)
  To: song, yukuai3
  Cc: linux-raid, linux-kernel, linan666, yi.zhang, houtao1, yangerkun

From: Li Nan <linan122@huawei.com>

I recently identified a flush deadlock issue, which can be resolved
by this patch set. After testing for a day in an environment where the
problem can be easily reproduced, I did not encounter the issue again.

Before a complete overwrite of the md flush, first fix the issue with
this patch set.

Li Nan (2):
  md: change the return value type of md_write_start to void
  md: fix deadlock between mddev_suspend and flush bio

 drivers/md/md.h     |  2 +-
 drivers/md/md.c     | 40 +++++++++++++++++++---------------------
 drivers/md/raid1.c  |  3 +--
 drivers/md/raid10.c |  3 +--
 drivers/md/raid5.c  |  3 +--
 5 files changed, 23 insertions(+), 28 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2024-08-17 23:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-25 18:52 [PATCH 0/2] md: flush deadlock bugfix linan666
2024-05-25 18:52 ` [PATCH 1/2] md: change the return value type of md_write_start to void linan666
2024-05-28 12:53   ` Yu Kuai
2024-05-25 18:52 ` [PATCH 2/2] md: fix deadlock between mddev_suspend and flush bio linan666
2024-05-28 13:12   ` Yu Kuai
2024-08-17 22:49   ` Michael
2024-06-10 20:52 ` [PATCH 0/2] md: flush deadlock bugfix Song Liu

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).