Skip to content

xfsprogs: consolidate stripe validation

Gao Xiang linux-xfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 7 repliesIn review
  2. v53 patches 3 repliesSuperseded

Changes in v6 from the cover letter

- rename the helper to xfs_validate_stripe_geometry() (Brian);
- drop a new added trailing newline in xfs_sb.c (Brian);
- add "bool silent" argument to avoid too many error messages (Brian).

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3libxfs: allow i18n to xfs printklibxfs/libxfs_priv.h+4 -40 replies
2/3xfs: introduce xfs_validate_stripe_geometry()libxfs/xfs_sb.c libxfs/xfs_sb.h+62 -110 replies
3/3mkfs: make use of xfs_validate_stripe_geometry()libxfs/libxfs_api_defs.h mkfs/xfs_mkfs.c+8 -1610 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchDarrick J. WongBrian FosterEric Sandeen
1/3R-b
2/3
3/3R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v6 thread

Cover letter [PATCH v6 0/3] xfsprogs: consolidate stripe validation

v5: https://lore.kernel.org/r/[email protected]

Hi,

This is another approach suggested by Eric in the reply of v3 (if I understand correctly), which also attempts to use i18n-enabled xfsprogs xfs_notice() to error out sanity check failure suggested by Dave on IRC.

kernel side of [PATCH 2/3]
https://lore.kernel.org/r/[email protected]

Changes since v5:
- rename the helper to xfs_validate_stripe_geometry() (Brian);
- drop a new added trailing newline in xfs_sb.c (Brian);
- add "bool silent" argument to avoid too many error messages (Brian).

Thanks,
Gao Xiang

Gao Xiang (3):
libxfs: allow i18n to xfs printk
xfs: introduce xfs_validate_stripe_geometry()
mkfs: make use of xfs_validate_stripe_geometry()

 libxfs/libxfs_api_defs.h |  1 +
 libxfs/libxfs_priv.h     |  8 ++---
 libxfs/xfs_sb.c          | 70 +++++++++++++++++++++++++++++++++-------
 libxfs/xfs_sb.h          |  3 ++
 mkfs/xfs_mkfs.c          | 23 ++++---------
 5 files changed, 74 insertions(+), 31 deletions(-)
Signature · 1 line
2.18.1