[PATCH] generic/517: notrun on NFS due to unaligned dedupe in test

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



NFSv4.2 could pass _require_scratch_dedupe, since the test offset and
size are aligned, while generic/517 is performing unaligned dedupe.
NFS does not support unaligned dedupe now, returns EINVAL.

Signed-off-by: Murphy Zhou <xzhou@xxxxxxxxxx>
---
 tests/generic/517 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/generic/517 b/tests/generic/517
index 601bb24e..23665782 100755
--- a/tests/generic/517
+++ b/tests/generic/517
@@ -30,6 +30,7 @@ _cleanup()
 _supported_fs generic
 _supported_os Linux
 _require_scratch_dedupe
+$FSTYP == "nfs"  && _notrun "NFS can't handle unaligned deduplication"
 
 rm -f $seqres.full
 
-- 
2.21.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