Skip to content

md/dm-raid: add/use API to switch raid4/5/6 journal cache modes

[email protected] dm-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2md: add raid4/5/6 journal mode API (for dm-raid use)drivers/md/raid5-cache.c drivers/md/raid5.h+45 -280 replies
1/2md: add raid4/5/6 journal mode API (for dm-raid use)drivers/md/raid5-cache.c drivers/md/raid5.h+45 -281 reply
2/2dm raid: add raid4/5/6 journal mode supportDocumentation/device-mapper/dm-raid.txt drivers/md/dm-raid.c+102 -140 replies
2/2dm raid: add raid4/5/6 journal mode supportDocumentation/device-mapper/dm-raid.txt drivers/md/dm-raid.c+102 -140 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchShaohua Li
1/2A-b
1/2A-b
2/2
2/2

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/2] md/dm-raid: add/use API to switch raid4/5/6 journal cache modes

From: Heinz Mauelshagen <[email protected]>

Upstream commit 7a771ceac771d009f7203c40b256b0608d7ea2f8 added journal support to dm-raid to close the raid4/5/6 "write hole" but doesn't provide an API to switch modes from device-mapper.

Add missing API to MD and use it from device-mapper dm-raid thus supporting 'write-back' journal caching in the raid target.

Heinz Mauelshagen (2):
md: add raid4/5/6 journal mode API (for dm-raid use) dm raid: add raid4/5/6 journal mode support

 Documentation/device-mapper/dm-raid.txt | 11 +++-
 drivers/md/dm-raid.c                    | 91 ++++++++++++++++++++++++++++-----
 drivers/md/raid5-cache.c                | 62 ++++++++++++----------
 drivers/md/raid5.h                      | 11 ++++
 4 files changed, 133 insertions(+), 42 deletions(-)
Signature · 1 line
2.9.3