From 2234924ccf23f7dac60c51f6cea5ba49cc25b867 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 8 Oct 2019 16:01:47 -0300 Subject: Turn off compression for sshfs --- kvmx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kvmx b/kvmx index ae85762..c1e2ad1 100755 --- a/kvmx +++ b/kvmx @@ -822,7 +822,11 @@ function kvmx_sshfs { SSH="`cat $SSHFILE`" # See https://github.com/libfuse/sshfs/issues/82 about "-o writeback_cache=no" - sshfs $SSH_LOGIN@127.0.0.1:$folder $mountpoint $SSH_OPTS -o nonempty -o sshfs_sync -o sync_readdir -o cache=no -o follow_symlinks -o sync_read -o workaround=rename -o noforget -p $SSH + # http://www.admin-magazine.com/HPC/Articles/Sharing-Data-with-SSHFS + sshfs $SSH_LOGIN@127.0.0.1:$folder $mountpoint $SSH_OPTS -o nonempty -o sshfs_sync -o sync_readdir \ + -o cache=no -o follow_symlinks -o sync_read \ + -o workaround=rename -o noforget \ + -o compression=no -p $SSH } # Get guest PID -- cgit v1.2.3