[PATCH 1/4] xfs/432: Skip this test for dax config and pagesize not equal to the specified block size

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



This test case passes 1k as the block size(to keep that as minimum),
and hence it fails to mount with "-o dax" option on platforms where
pageszie not equal to the specified block size. This leads to test
case reported as "failed" with dax config.

So skip this test when dax is enabled.

Signed-off-by: Anju T Sudhakar <anju@xxxxxxxxxxxxxxxxxx>
---
 tests/xfs/432 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/xfs/432 b/tests/xfs/432
index 40cb2474..9022af69 100755
--- a/tests/xfs/432
+++ b/tests/xfs/432
@@ -32,6 +32,10 @@ _require_scratch
 
 rm -f "$seqres.full"
 
+# Skip this test, if pagesize !=1k and dax is enabled.
+if [[ $(get_page_size) -ne 1024 ]]; then
+	_exclude_scratch_mount_option dax
+fi
 echo "Format and mount"
 # We need to create a directory with a huuuge extent record.  Normally
 # a rapidly expanding directory gets its blocks allocated in lockstep --
-- 
2.24.1




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux