Skip to content

raid5-cache: fix journal hotadd

Shaohua Li linux-raid 1 version Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4raid5-cache: use rcu api to access r5conf->logdrivers/md/raid5-cache.c drivers/md/raid5.c drivers/md/raid5.h+28 -211 reply
2/4raid5-cache: avoid write failure for journal hotadddrivers/md/md.c drivers/md/md.h drivers/md/raid5-cache.c+24 -41 reply
3/4raid5-cache: handle flush request for journal hotadddrivers/md/raid5-cache.c+24 -23 replies
4/4raid5-cache: handle batch stripe for journal hotadddrivers/md/raid5-cache.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4]raid5-cache: fix journal hotadd

Hi Neil,

This patch set fix some issues for journal disk hotadd, mainly for raid array which isn't created with journal support. If there are write IO running in the array when journal disk is adding, the write IO isn't protected by journal (eg, expose write hole issue), but this is unavoidable.

Thanks,
Shaohua

Shaohua Li (4):
raid5-cache: use rcu api to access r5conf->log
raid5-cache: avoid write failure for journal hotadd
raid5-cache: handle flush request for journal hotadd
raid5-cache: handle batch stripe for journal hotadd

 drivers/md/md.c          | 10 +++++++-
 drivers/md/md.h          |  2 ++
 drivers/md/raid5-cache.c | 61 +++++++++++++++++++++++++++++++++++++++---------
 drivers/md/raid5.c       | 20 ++++++++--------
 drivers/md/raid5.h       | 10 ++++----
 5 files changed, 76 insertions(+), 27 deletions(-)
Signature · 1 line
2.4.6