Skip to content

raid5-cache fixes

Shaohua Li linux-raid 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6md: show journal for journal disk in disk state sysfsdrivers/md/md.c+4 -00 replies
2/6raid5-cache: move reclaim stop to quiescedrivers/md/raid5-cache.c drivers/md/raid5.c drivers/md/raid5.h+20 -120 replies
3/6raid5-cache: add trim support for logdrivers/md/raid5-cache.c+37 -11 reply
4/6md: don't export log devicedrivers/md/md.c drivers/md/raid5.c+4 -27 replies
5/6md: set In_Sync for log diskdrivers/md/md.c+1 -00 replies
6/6raid5-cache: IO error handlingdrivers/md/raid5-cache.c drivers/md/raid5.c drivers/md/raid5.h+19 -20 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/6] raid5-cache fixes

Hi,

some fixes for raid5-cache.
patch 1, a small fix
patch 2-3, move reclaim teardown to quiesce handling and add trim support. I still need md_update_sb there and play the mddev_is_locked trick as the reconfig_mutex is already hold at md stop. The md_update_sb probably can move to md core later.
patch 4-6, add error handling. For patch 4, I still need the journal bit check in in md core, otherwise there is no way to prevent 'echo remove > rdev/state' to delete journal disk. For patch 6, I didn't change has_failed() yet. Handling assemble with miss/failed log disk is still on going.

Next step is to make assemble correct with miss/failed log disk. This will need kernel/utilities cooperation. Song and I are working on it.

Thanks,
Shaohua

Shaohua Li (6):
md: show journal for journal disk in disk state sysfs
raid5-cache: move reclaim stop to quiesce
raid5-cache: add trim support for log
md: don't export log device
md: set In_Sync for log disk
raid5-cache: IO error handling

 drivers/md/md.c          |  9 ++++--
 drivers/md/raid5-cache.c | 83 ++++++++++++++++++++++++++++++++++++++++--------
 drivers/md/raid5.c       |  7 +++-
 drivers/md/raid5.h       |  3 ++
 4 files changed, 85 insertions(+), 17 deletions(-)
Signature · 1 line
2.4.6