Skip to content

md: retry bailed bio

Shaohua Li linux-raid stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3md: separate request handlingdrivers/md/md.c drivers/md/md.h+34 -250 replies
2/3md: fix a race condition for flush request handlingdrivers/md/md.c+10 -40 replies
3/3dm-raid: fix a race condition in request handlingdrivers/md/dm-raid.c+1 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNate DaileyNeilBrown
SeriesR-b
1/3
2/3T-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] md: retry bailed bio

From: Shaohua Li <[email protected]>

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(-)
Signature · 1 line
2.11.0