mbox series

[v5,0/2] test i_blocks for truncated largefiles

Message ID 20220922063836.974796-1-preichl@redhat.com (mailing list archive)
Headers show
Series test i_blocks for truncated largefiles | expand

Message

Pavel Reichl Sept. 22, 2022, 6:38 a.m. UTC
Hello,

Thank you for your comments. Please see next revision.

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

V4
* copy-pasted the helper as suggested by Zorro (just proposed a different comment)
* updated the tests to use it and check its return value
* added _fixed_by_kernel_commit directive into g/694

V5
* updated helper comment as Darrick suggested
* changed the error message when failure to create test file occurs

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

 common/rc             | 23 +++++++++++++++++++
 tests/generic/694     |  8 ++++++-
 tests/generic/698     | 51 +++++++++++++++++++++++++++++++++++++++++++
 tests/generic/698.out |  2 ++
 4 files changed, 83 insertions(+), 1 deletion(-)
 create mode 100755 tests/generic/698
 create mode 100644 tests/generic/698.out