Skip to content

Few config related refactors

Mariusz Tkaczyk linux-raid 1 version Applied

Status from this message: Applied!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4mdadm: define DEV_MD_DIRCreate.c Detail.c Incremental.c +10 more+54 -450 replies
2/4mdadm: define DEV_NUM_PREFconfig.c mdadm.h mdopen.c+15 -70 replies
3/4mdadm: define is_devname_ignore()Incremental.c Monitor.c config.c +2 more+20 -100 replies
4/4mdadm: numbered names verificationconfig.c lib.c mdadm.h +1 more+50 -170 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchXiao Ni
SeriesA-b
1/4
2/4
3/4
4/4

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/4] Few config related refactors

Hi Jes,
These patches remove multiple inlines across code and replace them by defines or functions. No functional changes intended. The goal is to make this some code reusable for both config and cmdline (mdadm.c). I next patchset I will start optimizing names verification (extended v2 of previous patchset).

Mariusz Tkaczyk (4):
mdadm: define DEV_MD_DIR
mdadm: define DEV_NUM_PREF
mdadm: define is_devname_ignore()
mdadm: numbered names verification

 Create.c      |  7 +++----
 Detail.c      |  9 ++++-----
 Incremental.c | 10 ++++------
 Monitor.c     | 34 +++++++++++++++++++---------------
 config.c      | 43 +++++++++++++++++++++----------------------
 lib.c         |  4 ++--
 mapfile.c     | 12 ++++++------
 mdadm.c       |  5 ++---
 mdadm.h       | 21 ++++++++++++++++++++-
 mdopen.c      | 16 ++++++++--------
 super-ddf.c   |  2 +-
 super-intel.c |  2 +-
 super1.c      |  3 +--
 sysfs.c       |  2 +-
 util.c        | 44 ++++++++++++++++++++++++++++++++++++++++++++
 15 files changed, 137 insertions(+), 77 deletions(-)
Signature · 1 line
2.26.2