diff options
author | Viktor Szakats <vszakats@users.noreply.github.com> | 2019-09-12 14:33:32 +0200 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2019-09-12 05:33:32 -0700 |
commit | 667cf34622e2e873db776791df275c7a582d6295 (patch) | |
tree | f2478fa1f4a51e9c754bdcf8eb28d690aa2e9b17 /cache.c | |
parent | 4c21d696e9d46bebae0a936e2aec72326c5954ea (diff) | |
download | sshfs-667cf34622e2e873db776791df275c7a582d6295.tar sshfs-667cf34622e2e873db776791df275c7a582d6295.tar.gz sshfs-667cf34622e2e873db776791df275c7a582d6295.tar.bz2 sshfs-667cf34622e2e873db776791df275c7a582d6295.zip |
sshfs: fix another instance preventing use of global I/O size on macOS (#185)
Following-up on [1], there was another instance where blksize
was set to a non-zero value, thus making it impossible to
configure global I/O size on macOS, and using [2] the hard-wired
value of 4096 bytes instead, resulting in uniformly poor
performance [3].
With this patch, setting I/O size to a reasonable large value,
will result in much improved performance, e.g.:
-o iosize=1048576
[1] https://github.com/osxfuse/sshfs/commit/5c0dbfe3eb40100f9277e863926f2e7d7c9a5a4c
[2] https://github.com/libfuse/sshfs/blob/4c21d696e9d46bebae0a936e2aec72326c5954ea/sshfs.c#L812
[3] https://github.com/libfuse/sshfs/issues/11#issuecomment-339407557
Diffstat (limited to 'cache.c')
0 files changed, 0 insertions, 0 deletions