aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNikolaus Rath <Nikolaus@rath.org>2017-09-20 17:47:52 +0100
committerNikolaus Rath <Nikolaus@rath.org>2017-09-20 17:56:44 +0100
commitd193b19a8f60e8830f0aa5696d2bf3d4fd8d7930 (patch)
tree7db0e523446006fd5630c2ce9872934b2f7f3bb9 /test
parent949d76d1a2c508f034f23c36d34400204698d952 (diff)
downloadsshfs-d193b19a8f60e8830f0aa5696d2bf3d4fd8d7930.tar
sshfs-d193b19a8f60e8830f0aa5696d2bf3d4fd8d7930.tar.gz
sshfs-d193b19a8f60e8830f0aa5696d2bf3d4fd8d7930.tar.bz2
sshfs-d193b19a8f60e8830f0aa5696d2bf3d4fd8d7930.zip
Dropped support for writeback caching
As of kernel 4.14, the FUSE module's + writeback implementation is not compatible with network filesystems, and there are no imminent plans to change that. For more details, see https://marc.info/?l=fuse-devel&m=150592103107662&w=2 or As a consequence, the -o unreliable_append option has become obsolete as well. Fixes: #93 Fixes: #88 Fixes: #81
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_sshfs.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/test/test_sshfs.py b/test/test_sshfs.py
index 0c8917b..caa7fda 100755
--- a/test/test_sshfs.py
+++ b/test/test_sshfs.py
@@ -33,9 +33,7 @@ def name_generator(__ctr=[0]):
@pytest.mark.parametrize("debug", (False, True))
@pytest.mark.parametrize("cache_timeout", (0,1))
@pytest.mark.parametrize("sync_rd", (True, False))
-@pytest.mark.parametrize("writeback", (False, True))
-def test_sshfs(tmpdir, debug, cache_timeout, sync_rd,
- writeback, capfd):
+def test_sshfs(tmpdir, debug, cache_timeout, sync_rd, capfd):
# Avoid false positives from debug messages
#if debug:
@@ -65,12 +63,6 @@ def test_sshfs(tmpdir, debug, cache_timeout, sync_rd,
if sync_rd:
cmdline += [ '-o', 'sync_readdir' ]
- if writeback:
- cmdline += [ '-o', 'writeback_cache=yes',
- '-o', 'unreliable_append' ]
- else:
- cmdline += [ '-o', 'writeback_cache=no' ]
-
# SSHFS Cache
if cache_timeout == 0:
cmdline += [ '-o', 'dir_cache=no' ]