aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-10-08 16:01:47 -0300
committerSilvio Rhatto <rhatto@riseup.net>2019-10-08 16:01:47 -0300
commit2234924ccf23f7dac60c51f6cea5ba49cc25b867 (patch)
tree9ed9f01d0afe625a7ed9aec06bea3d93faebaa38
parentab82ad7fa360a32e76fa0f2371a842877929e876 (diff)
downloadkvmx-2234924ccf23f7dac60c51f6cea5ba49cc25b867.tar.gz
kvmx-2234924ccf23f7dac60c51f6cea5ba49cc25b867.tar.bz2
Turn off compression for sshfs
-rwxr-xr-xkvmx6
1 files changed, 5 insertions, 1 deletions
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