]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
ext4/002: Work with 64k block size
authorChandan Rajendra <chandan@linux.vnet.ibm.com>
Fri, 23 Nov 2018 05:59:29 +0000 (11:29 +0530)
committerEryu Guan <guaneryu@gmail.com>
Fri, 23 Nov 2018 07:02:49 +0000 (15:02 +0800)
commit6b06a9bb6fb01e9bedfde6e20df2bcc7732660d6
tree2d4d14cf3ee137ac29dce5d0dab8d354254e2e27
parentc1cef1bd82a973e7d331593217e4b3f6c27aced4
ext4/002: Work with 64k block size

This commit changes the script to operate on FS blocks by obtaining the
block size from the underlying filesystem and using it to perform I/O in
units of block sizes.

This commit also uses $SCRATCH_MNT rather than $TEST_DIR for holding the
test files since the FS on $TEST_DIR might be created with a different
block size than the one specified in $MKFS_OPTIONS.

Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/ext4/002
tests/ext4/002.out