Andrew Gaul
2186317676
Include missing ctime header
...
This caused compilation errors on Fedora 36.
2022-09-01 22:40:16 +09:00
Takeshi Nakatani
5ab1037094
Strictly reviewed the exclusive control of PseudoFdInfo class(additional change)
2022-08-08 07:51:49 +09:00
Takeshi Nakatani
f6d7ff1084
Strictly reviewed the exclusive control of PseudoFdInfo class
2022-08-07 20:41:35 +09:00
Andrew Gaul
3e242d0bad
Avoid C-style casts ( #2015 )
...
Prefer more precise C++-style casts.
2022-07-30 22:35:27 +09:00
Takeshi Nakatani
c491fbeabc
Replace uses of lock_already_held flag with AutoLock::Type
2022-07-30 16:20:43 +09:00
Takeshi Nakatani
e654e8ec8a
Removed const_cast in set_bucket
2022-07-30 16:18:52 +09:00
Andrew Gaul
48e9e51f4f
Remove more unneeded headers identified by IWYU ( #2011 )
2022-07-30 12:06:47 +09:00
Takeshi Nakatani
5a2172dc56
Fixed data race and memory leaks in PseudoFdInfo
2022-07-30 06:51:16 +09:00
Andrew Gaul
07535ec3ec
Address clang-tidy warnings ( #2010 )
2022-07-29 22:00:07 +09:00
Takeshi Nakatani
b8dd466988
Fixed data race in ThreadPoolMan
2022-07-29 13:24:09 +09:00
Andrew Gaul
01a92476e6
Remove unneeded headers identified by IWYU ( #2007 )
2022-07-28 23:38:38 +09:00
Andrew Gaul
3928a7e359
Remove more uses of const_cast ( #2006 )
...
Follows on to #2004 .
2022-07-28 23:37:15 +09:00
Andrew Gaul
f9f614a474
Avoid mutating mybasename and mydirname parameters ( #2004 )
...
basename and dirname mutate their inputs but const_cast hid this
behavior. Also shuffle helpers to avoid unnecessary std::string.
Follows on to 404c284440
.
2022-07-28 23:34:01 +09:00
Takeshi Nakatani
e30a5939d0
Fixed deadlock in S3fsCurl::DestroyCurlHandle
2022-07-28 13:47:27 +09:00
Takeshi Nakatani
4b2f3fecb5
Set mtime/ctime/atime of all objects as nanosecond
2022-07-28 13:47:03 +09:00
Takeshi Nakatani
ccfc119e45
Improved to avoid unnecessary head request
2022-07-27 21:51:28 +09:00
Takeshi Nakatani
11adf11957
Changed the time(a/c/m) acquisition of stat to nanosecond string
2022-07-25 07:21:37 +09:00
Andrew Gaul
38b5018bab
Remove unneedd binary_function inheritance ( #1998 )
...
GCC 12 warns that C++17 removes this.
2022-07-24 22:41:58 +09:00
Takeshi Nakatani
404c284440
Fixed race condition in dirname and basename call
2022-07-24 18:14:58 +09:00
Andrew Gaul
e0655008b3
Protect pending_status in UploadPending ( #1992 )
...
This requires avoiding double-locking in RowFlush. References #1991 .
2022-07-22 23:30:04 +09:00
Takeshi Nakatani
22f2392fca
Fixed bugs about stream upload
2022-07-19 21:29:56 +09:00
Takeshi Nakatani
136c5ec653
Fixed a bug in the test_external_creation test
2022-07-18 22:34:53 +09:00
Takeshi Nakatani
faddb4900f
Merged the code corresponding to the mknod fix( f11eb7d
)
2022-07-17 22:20:45 +09:00
Takeshi Nakatani
6ca7d5ec27
Fixed an error which reported by cppcheck 2.8
2022-07-17 22:20:45 +09:00
Takeshi Nakatani
6f679a9e78
Reflect the result of the review in the code again
2022-07-17 22:20:45 +09:00
Takeshi Nakatani
b0eeaa6679
Reflected the result of the review in the code
2022-07-17 22:20:45 +09:00
Takeshi Nakatani
d22e1dc018
Add the stream upload which starts uploading parts before Flush
2022-07-17 22:20:45 +09:00
Andrew Gaul
3a0799ec18
Re-re-re-fix propagating the return code ( #1984 )
...
This shell incantation is necessary to have errexit take effect for
test bodies. Previous only the _last_ command's exit code was
propagated to the test runner, masking real failures. Reverts
ea3c21f270
.
2022-07-17 02:13:06 +09:00
Andrew Gaul
4e163b2888
Allow listing implicit directories ( #1986 )
...
This fixes an issue when using -o notsup_compat_dir flag, dating back
to its introduction 3ac39d61f8
. The new
default exposed this in my local testing but a test runner bug masked
a test failure in test_external_directory_creation. References #927 .
References #1984 .
2022-07-17 01:54:29 +09:00
Andrew Gaul
86da2eed3a
Do not call exit in individual test functions ( #1985 )
...
This could prevent the test runner from reporting failures.
2022-07-17 01:33:50 +09:00
Andrew Gaul
e7ed01b35f
Consume return code from get_object_attribute ( #1976 )
...
Found via clang-analyzer.
2022-07-09 16:45:23 +09:00
Andrew Gaul
4d303caa62
Add Valgrind to sanitizer script ( #1978 )
...
Theoretically msan can do this but practically it requires a custom
libc++.
2022-07-09 16:40:23 +09:00
Takeshi Nakatani
3f55c98a3f
Fixed a bug when the pool of curl handler exceeds the upper limit
2022-07-08 21:14:29 +09:00
Andrew Gaul
2723e1049e
Add missing paragraph to help ( #1974 )
2022-07-03 12:35:02 +09:00
Takeshi Nakatani
f11eb7d69b
Fixed a bug that regular files could not be created by mknod
2022-06-29 16:56:19 +09:00
Takeshi Nakatani
73b49c1038
Fixed a bug that regular files could not be created by mknod
2022-06-29 16:56:19 +09:00
Andrew Gaul
4bec68713a
Add CSI for S3 to references ( #1971 )
2022-06-28 22:56:12 +09:00
Andrew Gaul
8b90cd6ba1
Enable notsup_compat_dir by default ( #1970 )
...
Few applications create the dir_$folder$ objects and users can enable
compat_dir if required. This commit reduces readdir latency by 33%.
Also remove notsup_compat_dir from tests since these directories are
never created. Fixes #927 . References #1643 .
2022-06-28 07:56:06 +09:00
Andrew Gaul
ac72bf34dd
Run test_external_directory_creation for all flags ( #1969 )
2022-06-28 07:50:24 +09:00
Andrew Gaul
a282cb7a84
Update CI runners to Fedora 36 and Ubuntu 22.04 ( #1965 )
...
Also remove Debian stretch which is no longer supported by LTS.
2022-06-22 17:40:08 +09:00
Andrew Gaul
b52f916af6
Avoid extended initializer lists in C++03 ( #1960 )
...
C++11 introduces these.
2022-06-12 23:52:16 +09:00
Takeshi Nakatani
ec7810f08e
Fixed a bug could not change the mode while the file was opened
2022-06-12 13:48:42 +09:00
Andrew Gaul
904682b856
Fix double-iteration in curl_slist_remove ( #1951 )
...
Also backfill tests. Fixes #1948 .
2022-05-27 22:56:20 +09:00
Takeshi Nakatani
92fd5bc3e1
Fixed errors reported by cppcheck 2.8 ( #1949 )
2022-05-26 01:48:53 +09:00
Takeshi Nakatani
d75c6d6538
Changed the message level(ERR to INFO) of skip cleanup cache ( #1946 )
2022-05-22 14:36:56 +09:00
Takeshi Nakatani
a30beded1c
Removed unnecessary debug options for aws command
2022-04-22 22:36:06 +09:00
Takeshi Nakatani
df7bbb28d5
Replace awscli version 1 to 2
2022-04-19 23:11:25 +09:00
Andrew Gaul
dc40f16161
Upgrade to S3Proxy 2.0.0 ( #1929 )
...
Release notes:
https://github.com/gaul/s3proxy/releases/tag/s3proxy-2.0.0
This enables Java 17 compatibility.
2022-04-04 23:03:16 +09:00
Andrew Gaul
1abfb7e965
Reference docker-s3fs-client ( #1925 )
2022-03-21 20:44:07 +09:00
Andrew Gaul
d2d75787d2
Specify bash strictness options ( #1924 )
2022-03-12 17:01:27 +09:00