Commit Graph

2174 Commits

Author SHA1 Message Date
c36827d1de Fixed README.md for Github Action Badge URL (#2449) 2024-04-28 20:10:53 +09:00
e2cc36a37f Updated COMPILATION.md about compilation on linux (#2445) 2024-04-28 14:31:01 +09:00
cf6102f91b Changed due to s3fs-fuse logo change (#2448) 2024-04-28 14:28:24 +09:00
dd6815b90f retry request on HTTP 429 error 2024-04-14 12:09:26 +09:00
95026804e9 Support SSL client cert and added ssl_client_cert option 2024-04-14 10:21:48 +09:00
9ab5a2ea73 Fixed configure error for GHA:sanitize_thread 2024-03-19 21:37:19 +09:00
a5cdd05c25 Added ipresolve option 2024-03-13 22:29:17 +09:00
31676f6201 Convert thpoolman_param to value (#2430)
This simplifies memory management.
2024-03-13 21:27:12 +09:00
c97f7a2a13 Address clang-tidy 18 warnings (#2428) 2024-03-07 01:04:22 +09:00
be54c34ecb Remove unneeded XML macros (#2427) 2024-03-07 00:45:34 +09:00
79597c7960 Upgrade CI to Alpine 3.19 (#2429) 2024-03-07 00:23:00 +09:00
70a30d6e26 Update ChangeLog and configure.ac for 1.94
Fixes #2420.
v1.94
2024-02-25 13:08:43 +09:00
b97fd470a5 Abort for SSE-KMS encryption type and not SSL/TLS specified 2024-02-23 13:11:56 +09:00
4d7fd60305 Call abort instead of exit in tests (#2416)
This can give useful core dumps.
2024-02-23 12:28:29 +09:00
da38dc73ad Gentoo + libxml2-2.12 requires inclusion of parser.h 2024-02-20 08:28:42 +09:00
e89adf6633 Fixed a bug that mounting with ksmid specified to fail 2024-02-18 21:18:50 +09:00
fa2bcfc60d Fixed a bug in multi head request parameter 2024-02-12 17:37:03 +09:00
ed1d431a1f Improved to output error details when bucket check fails 2024-02-12 17:36:47 +09:00
67442cf054 Changed the level of messages by the get_base_exp function 2024-02-12 17:35:45 +09:00
a7186b6072 Updated actions/checkout from v3 to v4 2024-02-07 21:29:42 +09:00
517574c40c Fixed a bug in fdatasync(fsync) 2024-02-06 14:11:37 +09:00
5e6f21a9ff fix: ListBucket edge cases (#2399) 2024-02-03 13:24:40 +09:00
54aa278df0 Fixed errors reported by cppcheck 2.13.0 (#2400) 2024-01-25 00:46:45 +09:00
2f9fb74a42 Corrected list_bucket to search in stat cache during creating new file (#2376) 2024-01-24 22:10:14 +09:00
b82632547c Replace miscellaneous pointers with unique_ptr (#2388) 2023-12-23 13:06:41 +09:00
e3b50ad3e1 Convert FdEntity to std::unique_ptr (#2383) 2023-12-07 23:56:35 +09:00
b139507ae6 Simplify locking with C++11 atomics (#2382) 2023-11-27 01:12:49 +09:00
feb0845103 Use JDK 21 for Ubuntu 23.10 (#2380) 2023-11-27 00:55:35 +09:00
f041812939 Revert "Call C++11 get_time and put_time (#2375)" (#2381)
This reverts commit 10a72bfd0f.  These
commit is incompatible with older CentOS 7 libstdc++.
2023-11-27 00:51:17 +09:00
2b57e74330 Use std::unique_ptr in threadpoolman (#2374) 2023-11-26 01:49:17 +09:00
b671fa7a9c Pass std::unique_ptr by value (#2373)
This ensures that the parameter is moved.
2023-11-26 01:48:47 +09:00
691669749e Remove obsolete C++11 #ifdef (#2377) 2023-11-21 00:37:42 +09:00
10a72bfd0f Call C++11 get_time and put_time (#2375)
This removes workarounds and fixed-length buffers.
2023-11-20 18:45:27 +09:00
43f81b76af Enable clang-tidy CERT warnings (#2371) 2023-11-19 10:00:42 +09:00
68bbfee8ea Address clang-tidy modernize-deprecated-headers (#2370) 2023-11-19 10:00:16 +09:00
ec8caf64b8 Reverted the macos CI process(using macos-fuse-t) 2023-11-17 21:08:34 +09:00
bcacca6599 s3fs: make dir size not zero
Directory has size 0, which looks weired and may confuse users. So fake
dir size as 4k.

Signed-off-by: Eryu Guan <eguan@linux.alibaba.com>
2023-11-17 17:55:57 +09:00
4fdd2456d4 Fixed a script of not functioning environment in Github Actions 2023-11-15 23:17:26 +09:00
3f6e8a8707 Fixed indent in integration-test-main.sh 2023-11-15 23:15:40 +09:00
4845831f93 Convert some const to constexpr (#2342)
This guarantees that the function or value will resolve at compile-time.
2023-11-14 22:15:17 +09:00
919575f312 Upgrade CI to Fedora 39 (#2365) 2023-11-12 16:01:09 +09:00
0cd73e406d Address clang-tidy 17 warnings (#2362) 2023-11-12 11:48:08 +09:00
807ec1f6f7 Upgrade CI to Alpine 3.18 (#2332)
References #2328.
2023-11-12 11:08:44 +09:00
e2ac9b45e8 Re-improved updating of temporary stat cache when new file 2023-11-11 07:45:32 +09:00
b15ed13807 Force disk free space recovery in test(for only macos) 2023-11-10 15:51:22 +09:00
f9d3941d9d Fixed a bug in the re-upload part of Streamupload 2023-11-10 10:41:26 +09:00
34c379babb Improved updating of temporary stat cache while creating a file 2023-11-10 10:23:15 +09:00
7b5111c955 Suppress some message levels on macos 2023-11-09 14:16:43 +09:00
a3964b3fcd Upgrade CI to Ubuntu 23.10 (#2355) 2023-10-22 22:18:29 +09:00
3856637cd2 s3fs: add option free_space_ratio to control cache size (#2351)
* Try to cleanup cache directory when initing without enough disk space

Also optimize log messages to print detailed errors to the user.

Signed-off-by: Qinqi Qu <quqinqi@linux.alibaba.com>

* s3fs: add option free_space_ratio to control cache size

Since the ensure_diskfree option is not convenient enough, we have added
a new option "-o free_space_ratio" to control the space used by the s3fs
cache based on the current disk size.

The value of this option can be between 0 and 100. It will control the
size of the cache according to this ratio to ensure that the idle ratio
of the disk is greater than this value.

For example, when the value is 10 and the disk space is 50GB, it will
ensure that the disk will reserve at least 50GB * 10% = 5GB of remaining
space.

Signed-off-by: Qinqi Qu <quqinqi@linux.alibaba.com>

---------

Signed-off-by: Qinqi Qu <quqinqi@linux.alibaba.com>
2023-10-20 18:11:47 +09:00