Skip to content

RFC fsx: make fsx perceptive to cluster size

Jeffle Xu fstests linux-ext4 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xfstests: fsx: add support for cluster sizeltp/fsx.c+14 -62 replies
2/2xfstests: common/rc: add cluster size support for ext4common/rc+9 -01 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH RFC 0/2] fsx: make fsx perceptive to cluster size

Offset and size should be aligned with cluster_size when inserting or collapsing range on ext4 with 'bigalloc' enabled. Currently fsx only align offset/size with block size.

In fact I have no idea which is the best way to fix this isue. On one hand, fsx should be general and has no knowledge of the underlying filesystem. Besides the cluster size seems to be stored on ext4_super_block and there's no easy way to get it. But on the oter hand, quite many tests call fsx directly, e.g., generic/127, rather than the generic routine run_fsx() defined in common/rc.

Jeffle Xu (2):
xfstests: fsx: add support for cluster size
xfstests: common/rc: add cluster size support for ext4

 common/rc |  9 +++++++++
 ltp/fsx.c | 20 ++++++++++++++------
 2 files changed, 23 insertions(+), 6 deletions(-)
Signature · 1 line
1.8.3.1