linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] md: retry bailed bio
@ 2017-09-21 17:42 Shaohua Li
  2017-09-21 17:42 ` [PATCH 1/3] md: separate request handling Shaohua Li
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Shaohua Li @ 2017-09-21 17:42 UTC (permalink / raw)
  To: linux-raid; +Cc: Shaohua Li

From: Shaohua Li <shli@fb.com>

With cc27b0c78c79(md: fix deadlock between mddev_suspend() and
md_write_start()), pers->make_request could bail out without handling the bio.
If that happens, we should retry. There are two call sites we don't do the
retry and cause problems. This set fixes the issues.

Thanks,
Shaohua

Shaohua Li (3):
  md: separate request handling
  md: fix a race condition for flush request handling
  dm-raid: fix a race condition in request handling

 drivers/md/dm-raid.c |  2 +-
 drivers/md/md.c      | 72 +++++++++++++++++++++++++++++++---------------------
 drivers/md/md.h      |  1 +
 3 files changed, 45 insertions(+), 30 deletions(-)

-- 
2.11.0


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

end of thread, other threads:[~2017-09-28  2:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-21 17:42 [PATCH 0/3] md: retry bailed bio Shaohua Li
2017-09-21 17:42 ` [PATCH 1/3] md: separate request handling Shaohua Li
2017-09-21 17:42 ` [PATCH 2/3] md: fix a race condition for flush " Shaohua Li
2017-09-21 17:42 ` [PATCH 3/3] dm-raid: fix a race condition in " Shaohua Li
2017-09-28  2:47 ` [PATCH 0/3] md: retry bailed bio NeilBrown

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