raid5-cache: fix journal hotadd
Status from this message: Applied, thanks
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | raid5-cache: use rcu api to access r5conf->logdrivers/ drivers/ drivers/ | +28 | 1 reply | |
| 2/4 | raid5-cache: avoid write failure for journal hotadddrivers/ drivers/ drivers/ | +24 | 1 reply | |
| 3/4 | raid5-cache: handle flush request for journal hotadddrivers/ | +24 | 3 replies | |
| 4/4 | raid5-cache: handle batch stripe for journal hotadddrivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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