Takeshi Nakatani
|
3d70e8966f
|
Merge pull request #1108 from gaul/lock/diskspace
Always hold lock when accessing free_disk_space
|
2019-08-03 22:01:31 +09:00 |
|
Takeshi Nakatani
|
6837cbfe06
|
Merge pull request #1107 from gaul/concurrency
Access FdEntity metadata while holding fdent_lock
|
2019-08-03 21:49:54 +09:00 |
|
Andrew Gaul
|
a5c20175a1
|
Use length from s3fs_HMAC256 for consistency
EVP_MAX_MD_SIZE can range up to 64. Found by Coverity.
|
2019-08-02 10:40:55 -07:00 |
|
Andrew Gaul
|
43d1439420
|
Consume return value from FdEntity::Flush
Found via Coverity.
|
2019-08-02 10:01:06 -07:00 |
|
Andrew Gaul
|
d8cf26bd50
|
Remove unused field
Found via clang.
|
2019-08-01 16:42:38 -07:00 |
|
Andrew Gaul
|
c321c8c23f
|
Add test to read an externally created object
References #890.
|
2019-08-01 16:12:51 -07:00 |
|
Andrew Gaul
|
6227fce091
|
Upgrade to Xcode 9.2
This is the latest version supported by macOS 10.12.
|
2019-08-01 15:50:50 -07:00 |
|
Andrew Gaul
|
aba8e6ccfa
|
Test enable_noobj_cache
|
2019-08-01 12:39:11 -07:00 |
|
Andrew Gaul
|
f528a86219
|
Pass lock_already_held state to DelStat
|
2019-08-01 11:07:56 -07:00 |
|
Andrew Gaul
|
5b15c7c4e9
|
Always hold lock when accessing free_disk_space
Slightly reorder locks to avoid double locking. Found via
ThreadSanitizer.
|
2019-07-30 08:36:54 -07:00 |
|
Andrew Gaul
|
afd438d363
|
Access FdEntity metadata while holding fdent_lock
Create copies to avoid thread races. Found via ThreadSanitizer.
Follows on to ecf13a8cb9 .
|
2019-07-29 13:54:57 -07:00 |
|
Takeshi Nakatani
|
80972aa33d
|
Merge pull request #1106 from ggtakec/fix_filter
Fixed filter-suite-log.sh for on osx
|
2019-07-22 18:13:07 +09:00 |
|
Takeshi Nakatani
|
520995a7e8
|
Merge pull request #1104 from gaul/sysconf
Eagerly initialize sysconf variables
|
2019-07-22 18:04:39 +09:00 |
|
Takeshi Nakatani
|
5c3c6bff2f
|
Fixed filter-suite-log.sh for on osx
|
2019-07-21 15:32:10 +00:00 |
|
Andrew Gaul
|
fb937635f5
|
Eagerly initialize sysconf variables
Previously s3fs had races updating these shared variables. Found via
ThreadSanitizer.
|
2019-07-17 09:08:13 -07:00 |
|
Takeshi Nakatani
|
3ad1c95e86
|
Merge pull request #1103 from gaul/config/readwrite-timeout
Use consistent default for readwrite_timeout
|
2019-07-17 22:37:02 +09:00 |
|
Takeshi Nakatani
|
2c4c78fd65
|
Merge pull request #1102 from gaul/test/concurrent-write
Add a test for concurrent writes
|
2019-07-17 22:24:45 +09:00 |
|
Takeshi Nakatani
|
0afef077ed
|
Merge pull request #1101 from gaul/gmtime
Avoid race when using thread-unsafe gmtime
|
2019-07-17 22:17:18 +09:00 |
|
Takeshi Nakatani
|
80f598f439
|
Merge pull request #1099 from ggtakec/filter_log
Add log output filter script at test failure
|
2019-07-17 22:01:28 +09:00 |
|
Andrew Gaul
|
bacd15714a
|
Use consistent default for readwrite_timeout
Previously curl threads mutated this shared state without a lock.
Found via ThreadSanitizer.
|
2019-07-16 22:03:56 -07:00 |
|
Andrew Gaul
|
5cb7a31c09
|
Add a test for concurrent writes
|
2019-07-16 21:57:43 -07:00 |
|
Andrew Gaul
|
99aace4fc9
|
Avoid race when using thread-unsafe gmtime
Found via ThreadSanitizer.
|
2019-07-16 07:28:34 -07:00 |
|
Takeshi Nakatani
|
c7f8f61d09
|
Change test_concurrency test
|
2019-07-15 15:58:54 -07:00 |
|
Takeshi Nakatani
|
159cd2c682
|
Add log output filter script at test failure
|
2019-07-15 06:37:43 +00:00 |
|
Takeshi Nakatani
|
513f41fddf
|
Merge pull request #1097 from ggtakec/fix_lock
Add Lock() func parameter in RowFlush()
|
2019-07-15 11:56:21 +09:00 |
|
Takeshi Nakatani
|
543aed2a32
|
Merge pull request #1096 from gaul/pthread/lock-checking
Expand error checking to all pthread_mutex_t
|
2019-07-15 11:43:56 +09:00 |
|
Takeshi Nakatani
|
20ea96328c
|
Merge pull request #1095 from gaul/intmax_t
Avoid narrowing time_t and off_t args in logging
|
2019-07-15 11:33:44 +09:00 |
|
Takeshi Nakatani
|
007edb1773
|
Merge pull request #1090 from gaul/strtoofft
Implement s3fs_strtoofft via strtoll
|
2019-07-15 11:26:03 +09:00 |
|
Takeshi Nakatani
|
f78bcc5229
|
Add Lock() func parameter in RowFlush()
|
2019-07-15 01:52:29 +00:00 |
|
Andrew Gaul
|
43ec064fb9
|
Expand error checking to all pthread_mutex_t
|
2019-07-14 18:21:23 -07:00 |
|
Andrew Gaul
|
ffac4c8417
|
Avoid narrowing time_t and off_t args in logging
This displays correct results on 32-bit platforms.
|
2019-07-14 17:02:36 -07:00 |
|
Andrew Gaul
|
4adcd4a6c8
|
Implement s3fs_strtoofft via strtoll
This tightens error checking and aligns s3fs with known good behavior.
|
2019-07-14 15:15:06 -07:00 |
|
Takeshi Nakatani
|
e936854493
|
Merge pull request #1094 from larsch/master
Fix multipart upload not setting curl options
|
2019-07-15 05:13:37 +09:00 |
|
Takeshi Nakatani
|
850a813171
|
Merge pull request #1092 from liuyongqing/master
fix coredump caused by fd_manager_lock locking
|
2019-07-15 04:53:10 +09:00 |
|
Takeshi Nakatani
|
5bbcd3b981
|
Merge pull request #1089 from gaul/null-dereference
Avoid null dereference
|
2019-07-15 04:17:10 +09:00 |
|
Takeshi Nakatani
|
a337c32840
|
Merge pull request #1088 from gaul/clang-tidy/misplaced-const
Avoid misplaced const via removing unneeded typedef
|
2019-07-15 04:08:51 +09:00 |
|
Takeshi Nakatani
|
d39e4e4b1f
|
Merge pull request #1087 from gaul/clang-tidy/deprecated-headers
Prefer modern C headers
|
2019-07-15 03:50:15 +09:00 |
|
Takeshi Nakatani
|
b51d60ef5e
|
Merge pull request #1082 from gaul/locking/fixes
Add a missing lock to SetCtime
|
2019-07-15 03:38:53 +09:00 |
|
Lars Christensen
|
58037da061
|
Fix multipart upload not setting curl options
|
2019-07-14 14:09:37 +02:00 |
|
Andrew Gaul
|
1eb266588e
|
Add a missing lock to SetCtime
Also lock before log statements which touch member variables.
|
2019-07-13 17:53:38 -07:00 |
|
Takeshi Nakatani
|
deb560067e
|
Merge pull request #1085 from gaul/no-recusive-locks
Remove recursive locking
|
2019-07-14 01:14:32 +09:00 |
|
root
|
4e351c59e3
|
fix coredump caused by fd_manager_lock locking
|
2019-07-13 12:03:27 +08:00 |
|
Andrew Gaul
|
eb597289cb
|
Avoid null dereference
Found via clang-tidy.
|
2019-07-12 18:40:24 -07:00 |
|
Andrew Gaul
|
6fd42d9fe4
|
Prefer modern C headers
Found and fixed via clang-tidy.
|
2019-07-12 03:50:59 -07:00 |
|
Andrew Gaul
|
efff9c01a6
|
Avoid misplaced const via removing unneeded typedef
Found via clang-tidy.
|
2019-07-12 03:41:19 -07:00 |
|
Andrew Gaul
|
a83d5baa90
|
Remove recursive locking
Recursive locking is frowned upon and is incompatible with
PTHREAD_MUTEX_ERRORCHECK. Also clean up pthread_mutex_lock error
checking.
|
2019-07-10 12:39:00 -07:00 |
|
Takeshi Nakatani
|
50d13255e4
|
Merge pull request #1081 from gaul/write-blocks-readdir
Break FdEntity locks into data and metadata
|
2019-07-11 03:40:26 +09:00 |
|
Takeshi Nakatani
|
5195fa93fa
|
Merge pull request #1071 from gaul/macos/xattr
Run xattr tests on macOS
|
2019-07-07 17:37:00 +09:00 |
|
Takeshi Nakatani
|
e5e63d6ac3
|
Merge pull request #1067 from gaul/mismatched-free
Fix mismatched new[]/free
|
2019-07-07 16:55:07 +09:00 |
|
Takeshi Nakatani
|
7a65a414c3
|
Merge pull request #1080 from gaul/xml/simplification
Add simple XML parsing wrapper
|
2019-07-07 16:44:18 +09:00 |
|