[PATCH fstests v2 1/3] generic/294: don't run this test on NFS

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



When creating a new dentry (of any type), NFS will optimize away any
on-the-wire lookups prior to the create since that means an extra
round trip to the server. Because of that, it consistently fails this
test.

Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
---
 tests/generic/294 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/generic/294 b/tests/generic/294
index 406b1b3954b9..46c7001234a5 100755
--- a/tests/generic/294
+++ b/tests/generic/294
@@ -15,8 +15,10 @@ _begin_fstest auto quick
 
 # real QA test starts here
 
-# Modify as appropriate.
-_supported_fs generic
+# NFS will optimize away the on-the-wire lookup before attempting to
+# create a new file (since that means an extra round trip).
+_supported_fs ^nfs generic
+
 _require_scratch
 _require_symlinks
 _require_mknod

-- 
2.41.0




[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