Skip to content

cleanup and bugfix for xfs tests related to btree format

Ziyang Zhang fstests linux-xfs 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 7 repliesIn review
  2. v52 patches 7 repliesSuperseded
  3. v42 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v32 patches4 repliesSuperseded

Changes in v6 from the cover letter

- correctly call _xfs_get_inode_core_bytes() in
__populate_xfs_create_btree_dir()

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2common/xfs: Add a helper to export inode core sizecommon/xfs tests/xfs/335 tests/xfs/336 +3 more+25 -50 replies
2/2common/populate: Ensure that S_IFDIR.FMT_BTREE is in btree formatcommon/populate common/xfs+42 -17 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAllison HendersonDarrick J. WongZorro Lang
1/2R-b R-b
2/2R-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/2] cleanup and bugfix for xfs tests related to btree format

The first patch add a helper in common/xfs to export the inode core size which is needed by some xfs test cases.

The second patch ensure that S_IFDIR.FMT_BTREE is in btree format while populating dir.

V6:
- correctly call _xfs_get_inode_core_bytes() in
__populate_xfs_create_btree_dir()

V5:
- rename _xfs_inode_core_bytes() to _xfs_get_inode_core_bytes()
- rename _xfs_inode_size() to _xfs_get_inode_size()
- use one pipe in _xfs_get_inode_size()
- use local variables in __populate_xfs_create_btree_dir()

V4:
- let the new helper function accept the "missing" parameter
- make _xfs_inode_core_bytes echo 176 or 96 so tests can work correctly on both v4 and v5

V3:
- refactor xfs tests cases using inode core size

V2:
- take Darrick's advice to cleanup code

Ziyang Zhang (2):
common/xfs: Add a helper to export inode core size common/populate: Ensure that S_IFDIR.FMT_BTREE is in btree format

 common/populate | 34 +++++++++++++++++++++++++++++++++-
 common/xfs      | 24 ++++++++++++++++++++++++
 tests/xfs/335   |  3 ++-
 tests/xfs/336   |  3 ++-
 tests/xfs/337   |  3 ++-
 tests/xfs/341   |  3 ++-
 tests/xfs/342   |  3 ++-
 7 files changed, 67 insertions(+), 6 deletions(-)
Signature · 1 line
2.18.4