From d193b19a8f60e8830f0aa5696d2bf3d4fd8d7930 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Wed, 20 Sep 2017 17:47:52 +0100 Subject: 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 --- test/test_sshfs.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'test') 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' ] -- cgit v1.2.3