linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: heinzm@redhat.com
To: linux-raid@vger.kernel.org
Cc: heinzm@redhat.com
Subject: [PATCH 0/2] md/dm-raid: add/use API to switch raid4/5/6 journal cache modes
Date: Wed, 22 Mar 2017 17:44:21 +0100	[thread overview]
Message-ID: <20170322164423.20972-1-heinzm@redhat.com> (raw)

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


                 reply	other threads:[~2017-03-22 16:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170322164423.20972-1-heinzm@redhat.com \
    --to=heinzm@redhat.com \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).