Merge pull request #1120 from ggtakec/osx_auto_cache

Added auto_cache option for test on osx
This commit is contained in:
Takeshi Nakatani 2019-08-06 13:31:23 +09:00 committed by GitHub
commit fd13eb314b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,9 +152,9 @@ function start_s3fs {
VALGRIND_EXEC="valgrind ${VALGRIND} --log-socket=127.0.1.1"
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
DIRECT_IO_OPT="-o direct_io"
DIRECT_IO_OPT="-o direct_io -o auto_cache"
else
DIRECT_IO_OPT=""
fi