Antonio S. Musumeci
da3cb9ae56
branches: re-link default_minfreespace pointer on copy/move; atomically publish branch mode changes
...
Branches using the default minfreespace held a reference to their
owning Impl's _default_minfreespace. After a copy or move the
pointer still referenced the source Impl, which could become
invalid or diverge after further configuration changes. Switch to
a pointer and re-link it to the destination Impl on copy/move.
While here, convert set_branch_mode to do an atomic_store of a
newly constructed Impl rather than mutating the shared pointer
target in place. Readers holding an atomic_load snapshot are no
longer affected by a concurrent mode change.
2026-04-18 00:45:32 -04:00
Antonio SJ Musumeci
7f52623536
Cleanup branches and add more unit tests
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
3a45be4cd8
Rework string utils, more test cases
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
a5a6c892b9
Update copyright headers
2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
a2860c3f1f
Use debug mutex more
2026-03-02 01:09:16 -05:00
trapexit
1290ab9708
Ensure ::exists() call can't throw ( #1609 )
mkdocs / deploy (push) Has been cancelled
2026-01-15 17:33:31 -06:00
trapexit
4d1760cb69
Rework new lup policy to work on 32bit systems ( #1603 )
...
__int128 is not available on 32bit platforms. Moved to extended
precision floats.
2025-12-14 14:56:34 -06:00
trapexit
01973214bf
Slight tweaks to config parsing error handling ( #1575 )
CodeQL / Analyze (push) Has been cancelled
mkdocs / deploy (push) Has been cancelled
2025-11-13 16:05:03 -06:00
trapexit
37f10888a9
Add more debugging options to makefiles and cleanup ( #1556 )
CodeQL / Analyze (push) Has been cancelled
mkdocs / deploy (push) Has been cancelled
2025-10-29 22:42:42 -05:00
trapexit
2f3e807e9d
Add getdents based readdir functions for Linux ( #1533 )
CodeQL / Analyze (push) Has been cancelled
mkdocs / deploy (push) Has been cancelled
2025-09-23 23:51:21 -05:00
trapexit
8c649d33ee
Start using std::filesystem::path for fusepath ( #1522 )
CodeQL / Analyze (push) Waiting to run
mkdocs / deploy (push) Waiting to run
2025-09-17 22:51:16 -05:00
trapexit
6ac7f389c5
Misc changes ( #1513 )
...
CodeQL / Analyze (push) Waiting to run
mkdocs / deploy (push) Waiting to run
* Start moving to string_view where possible
* Rework readdir object to use atomic load/store
2025-08-21 22:42:58 -05:00
trapexit
264c5600f8
Misc cleanup ( #1486 )
...
CodeQL / Analyze (push) Has been cancelled
mkdocs / deploy (push) Has been cancelled
* Skip non-directories when loading branches
* Warn if branch doesn't exist
* Add braces to globbing
2025-06-25 22:43:49 -05:00
trapexit
4b751c2d37
Fix incorrect dyn cast ( #1467 )
2025-05-19 22:46:55 -05:00
trapexit
86b50d2d4e
Rework policies to return branches rather than path strings
2025-05-17 16:35:18 -05:00
trapexit
344014aa81
Rework thread pool for increased stability + config and doc updates ( #1453 )
...
Also updates fmt to 11.2.0 and replaced syslog usage with a wrapper
leveraging fmt.
2025-05-05 18:28:49 -05:00
Antonio SJ Musumeci
707d298d7c
Create functions can set branches RO on EROFS
2023-07-13 21:19:13 -05:00
Antonio SJ Musumeci
c72997f298
Make srcmounts readonly
...
All tools only read from srcmounts and the current setup had a bug
which caused branch mode and minfreespace to be stripped when using
config file.
2023-04-05 22:24:24 -04:00
Antonio SJ Musumeci
eebd6e9eb4
Actively report to syslog when waiting for mounts
2023-03-28 19:01:21 -04:00
Ilya Taranov
d04e04e89a
Fix config file parsing
2023-03-10 20:55:20 -08:00
Antonio SJ Musumeci
939eb3996a
Add option to wait for branches to become new mounts
...
branches-mount-timeout=UINT64 in seconds (default: 0)
2023-01-25 11:59:14 -05:00
Antonio SJ Musumeci
d337574665
fix parsing of relative branch paths
2021-02-11 19:22:17 -05:00
Antonio SJ Musumeci
538467b86d
config: rework global config, remove rwlock, make branches RCU like
...
Also added unit tests. Should have done separately but found a number of bugs.
2021-01-14 21:02:10 -05:00