mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-10 23:00:57 +00:00
Merge pull request #1120 from ggtakec/osx_auto_cache
Added auto_cache option for test on osx
This commit is contained in:
commit
fd13eb314b
@ -152,9 +152,9 @@ function start_s3fs {
|
|||||||
VALGRIND_EXEC="valgrind ${VALGRIND} --log-socket=127.0.1.1"
|
VALGRIND_EXEC="valgrind ${VALGRIND} --log-socket=127.0.1.1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# On OSX only, we need to specify the direct_io flag.
|
# On OSX only, we need to specify the direct_io and auto_cache flag.
|
||||||
if [ `uname` = "Darwin" ]; then
|
if [ `uname` = "Darwin" ]; then
|
||||||
DIRECT_IO_OPT="-o direct_io"
|
DIRECT_IO_OPT="-o direct_io -o auto_cache"
|
||||||
else
|
else
|
||||||
DIRECT_IO_OPT=""
|
DIRECT_IO_OPT=""
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user