diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2017-09-20 17:47:52 +0100 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2017-09-20 17:56:44 +0100 |
commit | d193b19a8f60e8830f0aa5696d2bf3d4fd8d7930 (patch) | |
tree | 7db0e523446006fd5630c2ce9872934b2f7f3bb9 /test/test_sshfs.py | |
parent | 949d76d1a2c508f034f23c36d34400204698d952 (diff) | |
download | sshfs-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/test_sshfs.py')
-rwxr-xr-x | test/test_sshfs.py | 10 |
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' ] |