FS/XFS testing framework
 help / color / mirror / Atom feed
* [PATCH v3 0/2] generic: test i_blocks for truncated largefiles
@ 2022-09-20  7:35 Pavel Reichl
  2022-09-20  7:35 ` [PATCH v3 1/2] common: new helper to alloacate fixed size files Pavel Reichl
  2022-09-20  7:35 ` [PATCH v3 2/2] generic: test i_blocks for truncated large files Pavel Reichl
  0 siblings, 2 replies; 7+ messages in thread
From: Pavel Reichl @ 2022-09-20  7:35 UTC (permalink / raw)
  To: fstests

Please see next revision of the patch set.
Please do not hesitate with proposing better name than
create_sizedfile() or better place for its definition.
Thank you.

*Time taken before falloc optimization to run on my system*

* fs: ext2
generic/694 8s ...  7s
generic/698 9s ...  10s
Passed all 2 tests
* fs: xfs
generic/694 7s ...  11s
generic/698 10s ...  7s
Passed all 2 tests
* fs: btrfs
generic/694 11s ...  6s
generic/698 7s ...  7s
Passed all 2 tests
* fs: exfat
generic/694 6s ...  8s
generic/698 7s ...  9s
Passed all 2 tests

*With falloc optimization in place*

* fs: ext2
generic/694 8s ...  7s
generic/698 9s ...  7s
Passed all 2 tests
* fs: xfs
generic/694 7s ...  0s
generic/698 7s ...  0s
Passed all 2 tests
* fs: btrfs
generic/694 0s ...  0s
generic/698 0s ...  1s
Passed all 2 tests
* fs: exfat
generic/694 0s ...  8s
generic/698 1s ...  9s
Passed all 2 tests
[preichl@f32 xfstests-dev]$ 


V3
* introduced create_sizedfile() helper
* amended g/694 and g/698 to utilize this helper

Pavel Reichl (2):
  common: new helper to alloacate fixed size files
  generic: test i_blocks for truncated large files

 common/rc             | 13 ++++++++++++
 tests/generic/694     |  2 +-
 tests/generic/698     | 47 +++++++++++++++++++++++++++++++++++++++++++
 tests/generic/698.out |  2 ++
 4 files changed, 63 insertions(+), 1 deletion(-)
 create mode 100755 tests/generic/698
 create mode 100644 tests/generic/698.out

-- 
2.37.3


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

end of thread, other threads:[~2022-09-21  6:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-20  7:35 [PATCH v3 0/2] generic: test i_blocks for truncated largefiles Pavel Reichl
2022-09-20  7:35 ` [PATCH v3 1/2] common: new helper to alloacate fixed size files Pavel Reichl
2022-09-20 15:03   ` Zorro Lang
2022-09-21  2:48   ` Zorro Lang
2022-09-21  2:53     ` Darrick J. Wong
2022-09-21  6:01       ` Zorro Lang
2022-09-20  7:35 ` [PATCH v3 2/2] generic: test i_blocks for truncated large files Pavel Reichl

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