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-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <44ec9ffa86474eec5263a0f420cee33380dbe89b.1624007533.git.riteshh@linux.ibm.com>
Date:   Fri, 18 Jun 2021 16:39:52 +0530
From:   Ritesh Harjani <riteshh@...ux.ibm.com>
To:     "Theodore Ts'o" <tytso@....edu>
Cc:     fstests@...r.kernel.org, linux-ext4@...r.kernel.org,
        Ritesh Harjani <riteshh@...ux.ibm.com>
Subject: [PATCH 1/9] ext4/cfg/dax: Fix for 64K pagesize platform

For dax we need blocksize same as pagesize. Hence make changes in this
to get the blocksize via $(getconf PAGE_SIZE) to fix it on 64K pagesize
platforms e.g. POWER.

Signed-off-by: Ritesh Harjani <riteshh@...ux.ibm.com>
---
 kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/dax | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/dax b/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/dax
index b46e661..de25d91 100644
--- a/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/dax
+++ b/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/dax
@@ -2,6 +2,6 @@ export TEST_DEV=/dev/pmem0
 export TEST_DIR=$SM_TST_MNT
 export SCRATCH_DEV=/dev/pmem1
 export SCRATCH_MNT=$SM_SCR_MNT
-export EXT_MKFS_OPTIONS="-b 4096"
+export EXT_MKFS_OPTIONS="-b $(getconf PAGE_SIZE)"
 export EXT_MOUNT_OPTIONS="dax"
-TESTNAME="Ext4 4k block using DAX"
+TESTNAME="Ext4 using DAX"
-- 
2.31.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ