| From: |
| Zhang Yi <yi.zhang-AT-huaweicloud.com> |
| To: |
| linux-fsdevel-AT-vger.kernel.org, linux-ext4-AT-vger.kernel.org, linux-block-AT-vger.kernel.org, dm-devel-AT-lists.linux.dev, linux-nvme-AT-lists.infradead.org, linux-scsi-AT-vger.kernel.org |
| Subject: |
| [PATCH xfstests 0/5] fstests: add fallocate write zeroes tests |
| Date: |
| Tue, 18 Mar 2025 15:26:10 +0800 |
| Message-ID: |
| <20250318072615.3505873-1-yi.zhang@huaweicloud.com> |
| Cc: |
| linux-xfs-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, hch-AT-lst.de, tytso-AT-mit.edu, djwong-AT-kernel.org, john.g.garry-AT-oracle.com, bmarzins-AT-redhat.com, chaitanyak-AT-nvidia.com, shinichiro.kawasaki-AT-wdc.com, yi.zhang-AT-huawei.com, yi.zhang-AT-huaweicloud.com, chengzhihao1-AT-huawei.com, yukuai3-AT-huawei.com, yangerkun-AT-huawei.com |
| Archive-link: |
| Article |
From: Zhang Yi <yi.zhang@huawei.com>
The Linux kernel is planning to support FALLOC_FL_WRITE_ZEROES in
fallocate(2). Add tests for the newly added fallocate
FALLOC_FL_WRITE_ZEROES command. This series depends on the changes to
xfs_io [1] that introduced the 'fwzero' command.
- generic/764 is an extension of generic/008, it is designed to test
page boundaries for fwzero.
- generic/765 is an extension of generic/009, it is designed to do
generic functions tests for fwzero.
- generic/766 is and extension of generic/349 and generic/351, it is
designed to test fwzero on raw block device.
- Finally, add FALLOC_FL_WRITE_ZEROES support for fstress and fsx.
[1] https://lore.kernel.org/linux-fsdevel/20250318072318.3502...
Thanks,
Yi.
Zhang Yi (5):
generic/764: add page boundaries tests for fallocate write zeroes
generic/765: add generic tests for fallocate write zeroes
generic/766: test fallocate write zeroes on block device
fstress: add fallocate write zeroes support
fsx: add fallocate write zeroes support
common/rc | 2 +-
ltp/fsstress.c | 12 ++
ltp/fsx.c | 80 ++++++++
src/global.h | 4 +
tests/generic/764 | 34 ++++
tests/generic/764.out | 433 ++++++++++++++++++++++++++++++++++++++++++
tests/generic/765 | 40 ++++
tests/generic/765.out | 269 ++++++++++++++++++++++++++
tests/generic/766 | 80 ++++++++
tests/generic/766.out | 23 +++
10 files changed, 976 insertions(+), 1 deletion(-)
create mode 100755 tests/generic/764
create mode 100644 tests/generic/764.out
create mode 100755 tests/generic/765
create mode 100644 tests/generic/765.out
create mode 100755 tests/generic/766
create mode 100644 tests/generic/766.out
--
2.46.1