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: <cover.1729624806.git.nirjhar@linux.ibm.com>
Date: Wed, 23 Oct 2024 00:56:18 +0530
From: Nirjhar Roy <nirjhar@...ux.ibm.com>
To: fstests@...r.kernel.org
Cc: linux-ext4@...r.kernel.org, linux-xfs@...r.kernel.org,
        ritesh.list@...il.com, ojaswin@...ux.ibm.com, djwong@...nel.org,
        zlang@...nel.org
Subject: [PATCH 0/2] generic: Addition of new tests for extsize hints

This test is basically to check the functionality of setting extsize
hints for xfs filesystem through an ioctl. It covers various scenarios 
like setting and then getting extsize hints for various types of files 
like an empty file, non-empty file (with delayed allocation and allocated
extents). This test set also tests one of scenarios where setting extsize
hints on files with delayed allocated (incorrectly) succeeds and there is 
an ongoing patch series[1] that fixes it.

Currently this test only runs in xfs but there is an patch series[2] in review 
that adds support for the extsize hints for ext4 as well.

I have tested it on ppc64le (with page size 64k) and x86_64 (with page size 4k).
The block sizes I have tested with are 2k, 4k, 8k, 16k, 64k with extsize being 
twice of the block size. I had to enable CONFIG_TRANSPARENT_HUGEPAGE 
to enable block size greater than 4k on x86_64.

[1] https://lore.kernel.org/all/20241015094509.678082-1-ojaswin@linux.ibm.com/
[2] https://lore.kernel.org/linux-ext4/cover.1726034272.git.ojaswin@linux.ibm.com/

Nirjhar Roy (2):
  common/xfs,xfs/207: Adding a common helper function to check xflag
    bits on a given file
  generic: Addition of new tests for extsize hints

 common/xfs            |   9 +++
 tests/generic/365     | 156 ++++++++++++++++++++++++++++++++++++++++++
 tests/generic/365.out |  26 +++++++
 tests/xfs/207         |  14 +---
 4 files changed, 194 insertions(+), 11 deletions(-)
 create mode 100755 tests/generic/365
 create mode 100644 tests/generic/365.out

-- 
2.43.5


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ