Skip to contentSkip to conversation

generic/263: be quiet about unsupported operation

PATCH In review Eryu Guan 1 participant 2 messages Dec 21, 2015

lore
Share & tools
lore

Eryu Guan

author
#0 lore raw

PATCH 1/1 generic/263: be quiet about unsupported operation

Old kernels don't support zero-range/collapse-range/insert-range fallocate operations and fail the test as:

+fsx: main: filesystem does not support fallocate mode 0x10, disabling! +: Operation not supported
+fsx: main: filesystem does not support fallocate mode 0x8, disabling! +: Operation not supported
+fsx: main: filesystem does not support fallocate mode 0x20, disabling! +: Operation not supported

Adding "-q" option to fsx to quiet the warning message.

---
 tests/generic/263     | 4 ++--
 tests/generic/263.out | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
tests/generic/263 +2 -2
index 7584bc7..d6456f8 100755
@@ -58,8 +58,8 @@ run_fsx()
 psize=`$here/src/feature -s`
 bsize=`_min_dio_alignment $TEST_DEV`
 
-run_fsx -N 10000  -o 8192   -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z
-run_fsx -N 10000  -o 128000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z
+run_fsx -N 10000  -o 8192   -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -q
+run_fsx -N 10000  -o 128000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -q
 
 status=0
 exit
tests/generic/263.out +2 -2
index 64699f6..5285735 100644
@@ -1,3 +1,3 @@
 QA output created by 263
-fsx -N 10000 -o 8192 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z
-fsx -N 10000 -o 128000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z
+fsx -N 10000 -o 8192 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -q
+fsx -N 10000 -o 128000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -q
Signature · 1 line
2.5.0
author
#1 lore raw
Quoted 10 lines · Eryu Guan

Old kernels don't support zero-range/collapse-range/insert-range fallocate operations and fail the test as:

+fsx: main: filesystem does not support fallocate mode 0x10, disabling! +: Operation not supported
+fsx: main: filesystem does not support fallocate mode 0x8, disabling! +: Operation not supported
+fsx: main: filesystem does not support fallocate mode 0x20, disabling! +: Operation not supported

Quoted 3 lines

Adding "-q" option to fsx to quiet the warning message.

Please ignore this patch, the "unsupported operation messages" can only be seen when there're real problems. Sorry for the noise..

Eryu