68 Commits

Author SHA256 Message Date
27cc28dda2 Accepting request 1301977 from filesystems
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1301977
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=32
2025-09-01 15:17:20 +00:00
b0af7958ba - Upgrade to release 2.1.6
- Fix realloc() crash with newer libfuse when "--filename" is used.

OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=65
2025-08-22 19:43:58 +00:00
530b97e376 Accepting request 1279338 from filesystems
- Upgrade to release 2.1.5
    - Add new flag "--statsFileMirror" (issue #237)
    - Update to FUSE 3.x (#239)

OBS-URL: https://build.opensuse.org/request/show/1279338
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=31
2025-05-23 12:31:13 +00:00
a078d03ccf - Upgrade to release 2.1.5
- Add new flag "--statsFileMirror" (issue #237)
    - Update to FUSE 3.x (#239)

OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=63
2025-05-22 18:12:19 +00:00
fe0da46c81 Accepting request 1278182 from filesystems
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1278182
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=30
2025-05-20 07:37:05 +00:00
f0c25632cf - Upgrade to release 2.1.4
- Add new flag "--sharedDiskMode" (issue #236)
    - Fix use of deprecated cURL constant (pr #228)
    - Conditionalize nbdkit "block_size" callback (issue #226)
    - Skip nbd-client(8) cleanup step if it failed to start properly (#227).
    - Add new flag "--accessEC2IAM-IMDSv2" (issue #228)

OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=61
2025-05-10 21:38:31 +00:00
6235ed725d Accepting request 1181831 from filesystems
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1181831
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=29
2024-06-20 14:48:07 +00:00
ee3a38fc21 - Upgrade to release 2.1.3
- Implement nbdkit "block_size" callback
    - Added configure flag "--enable-nbd" (issue #223)
    - Fix spurious "cache file is truncated" error (issue #222)
    - Fix bugs in dcache.c when USE_FALLOCATE enabled (issue #224)
    - Automatically recreate nbdkit socket's directory if missing (issue #219)
    - Recalculate date and authorization on retry (issue #214)

OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=59
2024-06-12 22:30:31 +00:00
c6f5b94103 Accepting request 1119747 from filesystems
- Upgrade to release 2.1.1
  + Fixed bug with bulk delete HTTP requests (issue #211)
  + Fixed empty payload bug when retrying an upload (issue #212)
  + Check for errors returned by curl_easy_setopt()
  + Added --noCurlCache flag to facilitate debugging
  + Bump wait time for nbdkit to start from 1s to 5s

OBS-URL: https://build.opensuse.org/request/show/1119747
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=28
2023-10-24 18:08:07 +00:00
92129b8133 - Upgrade to release 2.1.1
+ Fixed bug with bulk delete HTTP requests (issue #211)
  + Fixed empty payload bug when retrying an upload (issue #212)
  + Check for errors returned by curl_easy_setopt()
  + Added --noCurlCache flag to facilitate debugging
  + Bump wait time for nbdkit to start from 1s to 5s

OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=57
2023-10-23 20:58:26 +00:00
c7c54671a6 Accepting request 1113218 from filesystems
- Upgrade to release 2.1.0
  + Avoid sending an empty Accept-Encoding header (issue #208)
  + Use fallocate(FALLOC_FL_PUNCH_HOLE) for empty disk cache blocks (issue #200)
  + Made sync(1) work on s3backer file to flush cached data (issue #197)
  + Fixed bug where s3b_compress=deflate NDB flag would fail (issue #195)
  + Fixed bug in zero cache "current_cache_size" stats value (issue #204)
  + Reuse cURL handles after normal HTTP error codes (issue #199)
  + Run modprobe(8) if needed when starting with the --nbd flag (issue #203)
  + Use newer OpenSSL 3.0 API functions when available

OBS-URL: https://build.opensuse.org/request/show/1113218
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=27
2023-09-25 18:02:30 +00:00
13e0761720 - Upgrade to release 2.1.0
+ Avoid sending an empty Accept-Encoding header (issue #208)
  + Use fallocate(FALLOC_FL_PUNCH_HOLE) for empty disk cache blocks (issue #200)
  + Made sync(1) work on s3backer file to flush cached data (issue #197)
  + Fixed bug where s3b_compress=deflate NDB flag would fail (issue #195)
  + Fixed bug in zero cache "current_cache_size" stats value (issue #204)
  + Reuse cURL handles after normal HTTP error codes (issue #199)
  + Run modprobe(8) if needed when starting with the --nbd flag (issue #203)
  + Use newer OpenSSL 3.0 API functions when available

OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=55
2023-09-23 15:45:57 +00:00
8dac4761f7 Accepting request 991825 from filesystems
- Don't try to build with NBD until 15.3 or later

- Fix bug in spec file (was missing /run/s3backer-ndb)

OBS-URL: https://build.opensuse.org/request/show/991825
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=26
2022-08-01 19:32:32 +00:00
db86ce3a79 - Don't try to build with NBD until 15.3 or later
OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=53
2022-07-30 18:16:37 +00:00
1ce7162c83 - Fix bug in spec file (was missing /run/s3backer-ndb)
OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=52
2022-07-30 18:12:48 +00:00
4ed3f1ac28 Accepting request 989756 from filesystems
- Fix build on older systems that don't have libzstd. 

- Upgrade to release 2.0.2
  + Fixed bugs with the --nbd flag when not also using -f flag (issue #188)
  + Fixed free() of invalid pointer bug in zero_cache.c (issue #191)
  + Added support for zstd compression (pr #187)

OBS-URL: https://build.opensuse.org/request/show/989756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=25
2022-07-18 16:34:18 +00:00
a3975fb5e5 - Fix build on older systems that don't have libzstd.
OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=50
2022-07-17 22:56:45 +00:00
a496e1f4e7 - Upgrade to release 2.0.2
+ Fixed bugs with the --nbd flag when not also using -f flag (issue #188)
  + Fixed free() of invalid pointer bug in zero_cache.c (issue #191)
  + Added support for zstd compression (pr #187)

OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=49
2022-07-17 22:53:08 +00:00
ee993b9df6 Accepting request 980807 from filesystems
- Upgrade to release 2.0.1
  + Fix null pointer dereference bug in zero cache.

- Upgrade to release 2.0.0
  + Support running as a Network Block Device (NBD) server (issue #178)
  + Fix slow write performance with large block sizes since 1.6.0 (issue ##185)
  + Disable MD5 cache by default now that Amazon S3 is consistent (issue #183)
  + Fix bug where "(null)" was appearing in usage message (issue #161)
  + Give more meaningful usage error when size limits are exceeded (issue #162)
  + Added flag "--http11" to restrict cURL to HTTP 1.1 (issue #168)
  + Clean up mount token if FUSE itself fails to start (issue #175)
  + Detect HTTP redirects and emit appropriate hint/warning (issue #174)
  + Added man page reference to Linux bcache (issue #169)
  + Added "--blockCacheFileAdvise" flag (pr #176)
  + Treat 3xx HTTP response codes as errors

OBS-URL: https://build.opensuse.org/request/show/980807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=24
2022-06-04 21:27:32 +00:00
74bc2dda58 - Upgrade to release 2.0.1
+ Fix null pointer dereference bug in zero cache.

OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=47
2022-06-04 20:15:44 +00:00
f0ca009a3a Fix build on older versions of SUSE.
OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=46
2022-06-04 18:20:26 +00:00
1dabeac778 - Upgrade to release 2.0.0
+ Support running as a Network Block Device (NBD) server (issue #178)
  + Fix slow write performance with large block sizes since 1.6.0 (issue ##185)
  + Disable MD5 cache by default now that Amazon S3 is consistent (issue #183)
  + Fix bug where "(null)" was appearing in usage message (issue #161)
  + Give more meaningful usage error when size limits are exceeded (issue #162)
  + Added flag "--http11" to restrict cURL to HTTP 1.1 (issue #168)
  + Clean up mount token if FUSE itself fails to start (issue #175)
  + Detect HTTP redirects and emit appropriate hint/warning (issue #174)
  + Added man page reference to Linux bcache (issue #169)
  + Added "--blockCacheFileAdvise" flag (pr #176)
  + Treat 3xx HTTP response codes as errors

OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=45
2022-06-04 18:11:25 +00:00
0befae0112 Accepting request 929067 from filesystems
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/929067
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=23
2021-11-04 15:09:46 +00:00
0646735445 Fix previous changelog commit.
OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=44
2021-10-27 16:20:01 +00:00
2afffe3094 Add changelog entry for "Run spec-cleaner on spec file"
OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=43
2021-10-27 16:19:24 +00:00
0b4b2119f9 Run spec-cleaner on spec file.
OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=42
2021-10-20 14:36:17 +00:00
06757098e2 Accepting request 924485 from filesystems
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/924485
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=22
2021-10-11 13:31:37 +00:00
3cd03c8800 - Upgrade to release 1.6.3
+ Fixed bug with `--listBlocks' threads doing redundant overlapping queries
  + Refactor to support multiple different compression algorithms
  + Fixed mutex handling bug in block cache (issue #152)
  + Release mutexs prior to destruction (issue #151)
  + Fixed use-after-free bug in XML parser (pr #154)

OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=41
2021-10-02 17:20:31 +00:00
a2367e0a39 Accepting request 899961 from filesystems
- Upgrade to release 1.6.2
  + Require test directory to be absolute unless `-f' flag given (issue #143)
  + Show HTTP error response payload content when `--debug-http' flag given
  + List blocks in the background; added `--listBlocksThreads' (issue #24)
  + Don't let IAM credentials expire while listing blocks (issue #146)
  + Fixed bug parsing "--configFile" inside comma-separated option list

OBS-URL: https://build.opensuse.org/request/show/899961
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=21
2021-06-14 21:11:20 +00:00
d09130d7f0 - Upgrade to release 1.6.2
+ Require test directory to be absolute unless `-f' flag given (issue #143)
  + Show HTTP error response payload content when `--debug-http' flag given
  + List blocks in the background; added `--listBlocksThreads' (issue #24)
  + Don't let IAM credentials expire while listing blocks (issue #146)
  + Fixed bug parsing "--configFile" inside comma-separated option list

OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=39
2021-06-14 15:19:52 +00:00
54eee974d7 Accepting request 860775 from filesystems
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/860775
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=20
2021-01-06 18:57:29 +00:00
5fef42984d - Upgrade to release 1.6.1
+ Fixed integer overflow bug setting "x-amz-meta-s3backer-filesize" (issue #141)

OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=37
2020-12-30 15:52:10 +00:00
0d54cd45ff - Upgrade to release 1.6.0
+ Added `--sse-key-id' flag (issue #137)
  + Log a more useful error message when IAM credentials not found (issue #136)
  + Warn on startup if disk space is insufficient for disk cache (issue #138)
  + Added zero block cache to better handle fstrim operations (issue #139)

OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=36
2020-12-23 18:05:37 +00:00
eae9267107 Accepting request 845089 from filesystems
- Upgrade to release 1.5.6
  + Fixed phantom write error when server-side-encryption used (issue #135)
  + Allow bucket names with "subdirectory" for prefix (issue #130)
  + Added `--configFile' flag (issue #129)
  + Added `--accessKeyEnv' flag (issue #128)
  + Removed deprecated `--rrs' flag

OBS-URL: https://build.opensuse.org/request/show/845089
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=19
2020-11-02 08:42:26 +00:00
c189fcd2f1 - Upgrade to release 1.5.6
+ Fixed phantom write error when server-side-encryption used (issue #135)
  + Allow bucket names with "subdirectory" for prefix (issue #130)
  + Added `--configFile' flag (issue #129)
  + Added `--accessKeyEnv' flag (issue #128)
  + Removed deprecated `--rrs' flag

OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=34
2020-10-30 17:07:41 +00:00
580b7b4ed6 Accepting request 839054 from filesystems
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/839054
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=18
2020-10-02 15:40:24 +00:00
e88c3a0725 - Upgrade to release 1.5.5
+ Added `--no-vhost' flag (issue #117)
  + Added `--blockCacheNumProtected' flag (pr #119)
  + Added `--test-errors', `--test-delays', and `--test-discard'
  + Disallow stream encryption ciphers (issue #123)

OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=32
2020-09-25 02:38:48 +00:00
a74cb612f4 Accepting request 736308 from filesystems
- Upgrade to release 1.5.4
  + Only set "x-amz-server-side-encryption" header with PUT requests (issue #116)
  + Don't kill IAM thread unless actually started (issue #115).

OBS-URL: https://build.opensuse.org/request/show/736308
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=17
2019-10-09 13:19:42 +00:00
1ed1066826 - Upgrade to release 1.5.4
+ Only set "x-amz-server-side-encryption" header with PUT requests (issue #116)
  + Don't kill IAM thread unless actually started (issue #115).

OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=30
2019-10-08 17:27:22 +00:00
aa359ed4a5 Accepting request 722065 from filesystems
- Update to release 1.5.3
  + Fixed bug where IAM update thread was killed after fork (issue #115)
  + Fixed use-after-free bug in block_cache_verified() (issue #113)
  + Fixed use-after-free bug when updating IAM credentials (pr #114)
  + Fixed bug in test mode that was causing bogus I/O errors

OBS-URL: https://build.opensuse.org/request/show/722065
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=16
2019-08-13 11:17:08 +00:00
114c2d0604 - Update to release 1.5.3
+ Fixed bug where IAM update thread was killed after fork (issue #115)
  + Fixed use-after-free bug in block_cache_verified() (issue #113)
  + Fixed use-after-free bug when updating IAM credentials (pr #114)
  + Fixed bug in test mode that was causing bogus I/O errors

OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=28
2019-08-09 18:55:52 +00:00
f7c5fb68f7 Accepting request 714289 from filesystems
- Update to release 1.5.2
  + Fixed bug where block cache would not work when run in the background (issue #112)
  + Fixed bug where we were not parsing HTTP headers case-insensitively (pr #11)
  + Bail out during `--listBlocks' if we see an object name past our block range
  + Added `--blockHashPrefix' flag (issue #80)

OBS-URL: https://build.opensuse.org/request/show/714289
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=15
2019-07-11 11:17:36 +00:00
043b017c69 - Update to release 1.5.2
+ Fixed bug where block cache would not work when run in the background (issue #112)
  + Fixed bug where we were not parsing HTTP headers case-insensitively (pr #11)
  + Bail out during `--listBlocks' if we see an object name past our block range
  + Added `--blockHashPrefix' flag (issue #80)

OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=26
2019-07-09 18:55:26 +00:00
2ac84720d6 Accepting request 706049 from filesystems
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/706049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=14
2019-06-01 07:49:58 +00:00
d85dae1e53 - Update to release 1.5.1
+ Fixed a few places where fixed-sized buffers were too small (issue #108)
  + Don't claim cache hit if partial write required reading the block (pr #103)
  + Exit process with error code if s3backer store setup fails at startup
  + Reset statistics if stats file is unlinked (issue #106)

OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=24
2019-04-15 20:42:40 +00:00
6e369a01c6 Accepting request 615445 from filesystems
- Update to release 1.5.0
  + Add support for recovering dirty blocks in the disk cache (issue #87)
  + Replaced boolean 'mounted' flag with a unique 32-bit mount token (issue #87)
  + Wait for min_write_delay before access after write error (issue #76)
  + Configure TCP keep-alive on HTTP connections (issue #78)
  + Added support for server side encryption (pull #81)

OBS-URL: https://build.opensuse.org/request/show/615445
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=13
2018-06-13 13:38:59 +00:00
c2b0f241db - Update to release 1.5.0
+ Add support for recovering dirty blocks in the disk cache (issue #87)
  + Replaced boolean 'mounted' flag with a unique 32-bit mount token (issue #87)
  + Wait for min_write_delay before access after write error (issue #76)
  + Configure TCP keep-alive on HTTP connections (issue #78)
  + Added support for server side encryption (pull #81)

OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=22
2018-06-09 20:27:23 +00:00
79668a1237 Accepting request 453994 from filesystems
- Update to release 1.4.4
  + Added `--defaultContentEncoding' for non-compliant backends (issue #68)
  + Fixed auth bug when prefix contains URL-encodable char (issue #69)
  + Remove restriction preventing streaming encryption modes (issue #70)

OBS-URL: https://build.opensuse.org/request/show/453994
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=12
2017-02-02 14:46:00 +00:00
7391af2af2 - Update to release 1.4.4
+ Added `--defaultContentEncoding' for non-compliant backends (issue #68)
  + Fixed auth bug when prefix contains URL-encodable char (issue #69)
  + Remove restriction preventing streaming encryption modes (issue #70)

OBS-URL: https://build.opensuse.org/package/show/filesystems/s3backer?expand=0&rev=20
2017-02-01 23:12:29 +00:00
4a973ad159 Accepting request 415244 from filesystems
- Update to release 1.4.3
  + Add support for STANDARD_IA storage class (issue #59)
  + Set "Accept-Encoding" header appropriately (issue #48)
  + Fix build issue with OpenSSL 1.1.0 (issue #64)

OBS-URL: https://build.opensuse.org/request/show/415244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/s3backer?expand=0&rev=11
2016-07-27 14:13:11 +00:00