Skip to content

mdadm support for Partial Parity Log

Artur Paszkiewicz linux-raid 4 versions – Applied

Status from this message: Applied!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 1 replyApplied
  2. v36 patches 3 repliesSuperseded
  3. v27 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v17 patches9 repliesSuperseded

Changes in v4 from the cover letter

- Rebased to latest mdadm code.
- Fixed a mistake in Makefile.
- Added descriptions for --consistency-policy in --help messages.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/6Generic support for --consistency-policy and PPLCreate.c Kill.c ReadMe.c +11 more+190 -580 replies
2/6Detail: show consistency policyDetail.c super-ddf.c super-intel.c +2 more+65 -460 replies
3/6imsm: PPL supportAssemble.c Makefile md_p.h +3 more+349 -240 replies
4/6super1: PPL supportAssemble.c Create.c Grow.c +3 more+155 -190 replies
5/6Add 'ppl' and 'no-ppl' options for --update=Assemble.c mdadm.8.in mdadm.c +2 more+139 -40 replies
6/6Grow: support consistency policy changeGrow.c ReadMe.c mdadm.8.in +2 more+218 -230 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/6] mdadm support for Partial Parity Log

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.

v4:
- Rebased to latest mdadm code.
- Fixed a mistake in Makefile.
- Added descriptions for --consistency-policy in --help messages.

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      |  97 ++++++++--------
 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, 1116 insertions(+), 174 deletions(-)
Signature · 1 line
2.11.0