public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V4 0/2] cleanup and bugfix for xfs tests related to btree format
@ 2022-12-07  9:31 Ziyang Zhang
  2022-12-07  9:31 ` [PATCH V4 1/2] common/xfs: Add a helper to export inode core size Ziyang Zhang
  2022-12-07  9:31 ` [PATCH V4 2/2] common/populate: Ensure that S_IFDIR.FMT_BTREE is in btree format Ziyang Zhang
  0 siblings, 2 replies; 6+ messages in thread
From: Ziyang Zhang @ 2022-12-07  9:31 UTC (permalink / raw)
  To: fstests, linux-xfs; +Cc: djwong, hsiangkao, allison.henderson, Ziyang Zhang

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.

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(-)

-- 
2.18.4


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-12-07 19:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-07  9:31 [PATCH V4 0/2] cleanup and bugfix for xfs tests related to btree format Ziyang Zhang
2022-12-07  9:31 ` [PATCH V4 1/2] common/xfs: Add a helper to export inode core size Ziyang Zhang
2022-12-07 18:06   ` Zorro Lang
2022-12-07  9:31 ` [PATCH V4 2/2] common/populate: Ensure that S_IFDIR.FMT_BTREE is in btree format Ziyang Zhang
2022-12-07 18:28   ` Zorro Lang
2022-12-07 19:38     ` Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox