From: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
To: jes.sorensen@gmail.com
Cc: linux-raid@vger.kernel.org,
Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Subject: [PATCH v3 0/6] mdadm support for Partial Parity Log
Date: Thu, 16 Mar 2017 22:09:42 +0100 [thread overview]
Message-ID: <20170316210948.21093-1-artur.paszkiewicz@intel.com> (raw)
This is the mdadm part of the PPL functionality. It adds a new parameter to
mdadm to allow selecting the consistency policy for an array and implements PPL
as one of the policies.
All of this is currently targeted and tested with imsm and super1 metadata
arrays. The kernel patches are available on Shaohua's md tree on the for-next
branch.
v3:
- Rebased to latest mdadm code.
- Replaced --rwh-policy with --consistency-policy.
- Adjusted to the kernel interface changes.
- Write the initial ppl header in mdadm when creating an array.
- Validate ppl when starting an imsm array.
- Support for --update.
- Support also 1.0 metadata.
- Use Grow mode for enabing or disabling ppl for an active array.
v2:
- Rebased to latest mdadm code.
- Fixed runtime policy switching.
- Recognize IMSM PPL journal drive correctly.
- Removed bitfields from imsm_dev.
- Made dirty/consistent checks in imsm_set_array_state() more readable.
- Added comment about calculating sb_start.
Artur Paszkiewicz (6):
Generic support for --consistency-policy and PPL
Detail: show consistency policy
imsm: PPL support
super1: PPL support
Add 'ppl' and 'no-ppl' options for --update=
Grow: support consistency policy change
Assemble.c | 58 ++++++++++
Create.c | 20 +++-
Detail.c | 90 +++++++++------
Grow.c | 187 ++++++++++++++++++++++++++++++-
Incremental.c | 3 +
Kill.c | 2 +-
Makefile | 5 +-
ReadMe.c | 7 +-
maps.c | 10 ++
md_p.h | 25 +++++
mdadm.8.in | 85 ++++++++++++--
mdadm.c | 64 ++++++++++-
mdadm.h | 30 ++++-
super-ddf.c | 12 +-
super-gpt.c | 2 +-
super-intel.c | 347 ++++++++++++++++++++++++++++++++++++++++++++++++++++------
super-mbr.c | 2 +-
super0.c | 12 +-
super1.c | 214 +++++++++++++++++++++++++++++++-----
sysfs.c | 25 +++++
20 files changed, 1069 insertions(+), 131 deletions(-)
--
2.11.0
next reply other threads:[~2017-03-16 21:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-16 21:09 Artur Paszkiewicz [this message]
2017-03-16 21:09 ` [PATCH v3 1/6] Generic support for --consistency-policy and PPL Artur Paszkiewicz
2017-03-16 21:09 ` [PATCH v3 2/6] Detail: show consistency policy Artur Paszkiewicz
2017-03-16 21:09 ` [PATCH v3 3/6] imsm: PPL support Artur Paszkiewicz
2017-03-17 20:11 ` jes.sorensen
2017-03-20 8:07 ` Artur Paszkiewicz
2017-03-28 18:21 ` jes.sorensen
2017-03-16 21:09 ` [PATCH v3 4/6] super1: " Artur Paszkiewicz
2017-03-16 21:09 ` [PATCH v3 5/6] Add 'ppl' and 'no-ppl' options for --update= Artur Paszkiewicz
2017-03-16 21:09 ` [PATCH v3 6/6] Grow: support consistency policy change Artur Paszkiewicz
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=20170316210948.21093-1-artur.paszkiewicz@intel.com \
--to=artur.paszkiewicz@intel.com \
--cc=jes.sorensen@gmail.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).