linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] md/dm-raid: add/use API to switch raid4/5/6 journal cache modes
@ 2017-03-22 16:44 heinzm
  0 siblings, 0 replies; only message in thread
From: heinzm @ 2017-03-22 16:44 UTC (permalink / raw)
  To: linux-raid; +Cc: heinzm

From: Heinz Mauelshagen <heinzm@redhat.com>

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(-)

-- 
2.9.3


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-22 16:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-22 16:44 [PATCH 0/2] md/dm-raid: add/use API to switch raid4/5/6 journal cache modes heinzm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).