s3fs-fuse/src
Scott Talbert 20da0e4dd3 Fix intermittent upload failures on macOS
There were multiple problems with the FdManager::GetFreeDiskSpace() function
on macOS:
1) When calling statvfs(), f_frsize should be used instead of f_bsize when
converting available blocks to bytes.  This was causing the free space
calculation to be incorrect.
2) On macOS, fsblkcnt_t is a 32-bit integer.  Thus, when calculating available
disk space, there were frequently overflows.  This caused s3fs to incorrectly
determine that the cache location was out of space in the middle of a transfer
which caused uploads to fail.  Changing this to a uint64_t resolves the
problem.
2017-09-08 15:23:10 -04:00
..
addhead.cpp Changed copyright year format for debian pkg 2017-05-07 11:24:17 +00:00
addhead.h Changed copyright year format for debian pkg 2017-05-07 11:24:17 +00:00
cache.cpp Fixed clock_gettime build failure on macOS 10.12 Sierra - #600 2017-05-28 10:04:25 +00:00
cache.h Changed copyright year format for debian pkg 2017-05-07 11:24:17 +00:00
common_auth.cpp Changed copyright year format for debian pkg 2017-05-07 11:24:17 +00:00
common.h Changed copyright year format for debian pkg 2017-05-07 11:24:17 +00:00
curl.cpp Merge pull request #567 from andrewgaul/default-acl 2017-05-09 23:03:27 +09:00
curl.h Changed copyright year format for debian pkg 2017-05-07 11:24:17 +00:00
fdcache.cpp Fix intermittent upload failures on macOS 2017-09-08 15:23:10 -04:00
fdcache.h Fix intermittent upload failures on macOS 2017-09-08 15:23:10 -04:00
gnutls_auth.cpp Changed copyright year format for debian pkg 2017-05-07 11:24:17 +00:00
Makefile.am Sepalated AdditionalHeader class from curl.* 2016-02-07 05:41:56 +00:00
nss_auth.cpp Changed copyright year format for debian pkg 2017-05-07 11:24:17 +00:00
openssl_auth.cpp Changed copyright year format for debian pkg 2017-05-07 11:24:17 +00:00
s3fs_auth.h Changed copyright year format for debian pkg 2017-05-07 11:24:17 +00:00
s3fs_util.cpp Expand buffer for group information if too small and retry 2017-05-23 10:42:43 +09:30
s3fs_util.h Changed copyright year format for debian pkg 2017-05-07 11:24:17 +00:00
s3fs.cpp Fix chown_nocopy losing existing uid/gid if unspecified 2017-05-25 16:53:08 +09:30
s3fs.h Changed copyright year format for debian pkg 2017-05-07 11:24:17 +00:00
string_util.cpp Changed copyright year format for debian pkg 2017-05-07 11:24:17 +00:00
string_util.h Changed copyright year format for debian pkg 2017-05-07 11:24:17 +00:00
test_string_util.cpp Changed copyright year format for debian pkg 2017-05-07 11:24:17 +00:00
test_util.h Added travis test on osx for #601 2017-08-11 14:09:43 +00:00