lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250318072615.3505873-1-yi.zhang@huaweicloud.com>
Date: Tue, 18 Mar 2025 15:26:10 +0800
From: Zhang Yi <yi.zhang@...weicloud.com>
To: linux-fsdevel@...r.kernel.org,
	linux-ext4@...r.kernel.org,
	linux-block@...r.kernel.org,
	dm-devel@...ts.linux.dev,
	linux-nvme@...ts.infradead.org,
	linux-scsi@...r.kernel.org
Cc: linux-xfs@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	hch@....de,
	tytso@....edu,
	djwong@...nel.org,
	john.g.garry@...cle.com,
	bmarzins@...hat.com,
	chaitanyak@...dia.com,
	shinichiro.kawasaki@....com,
	yi.zhang@...wei.com,
	yi.zhang@...weicloud.com,
	chengzhihao1@...wei.com,
	yukuai3@...wei.com,
	yangerkun@...wei.com
Subject: [PATCH xfstests 0/5] fstests: add fallocate write zeroes tests

From: Zhang Yi <yi.zhang@...wei.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.3502037-1-yi.zhang@huaweicloud.com/

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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ