diff mbox

generic/263: be quiet about unsupported operation

Message ID 1450703097-3162-1-git-send-email-eguan@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Eryu Guan Dec. 21, 2015, 1:04 p.m. UTC
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.

Signed-off-by: Eryu Guan <eguan@redhat.com>
---
 tests/generic/263     | 4 ++--
 tests/generic/263.out | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

Comments

Eryu Guan Dec. 21, 2015, 1:21 p.m. UTC | #1
On Mon, Dec 21, 2015 at 09:04:57PM +0800, Eryu Guan wrote:
> 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.
> 
> Signed-off-by: Eryu Guan <eguan@redhat.com>

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

Eryu
--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/tests/generic/263 b/tests/generic/263
index 7584bc7..d6456f8 100755
--- a/tests/generic/263
+++ b/tests/generic/263
@@ -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
diff --git a/tests/generic/263.out b/tests/generic/263.out
index 64699f6..5285735 100644
--- a/tests/generic/263.out
+++ b/tests/generic/263.out
@@ -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