Antonio S. Musumeci
deba02e3d3
state: atomic ref_count in OpenFile
...
ref_count is read and written from multiple FUSE worker threads
during open/release. Make it std::atomic<int> and provide a move
constructor so OpenFile remains movable when the underlying atomic
is non-movable.
2026-04-18 00:45:23 -04:00
Antonio S. Musumeci
e5c90cb5fe
Remove unused rwlock.hpp header and includes
...
rwlock.hpp was left over after migrating to atomic shared pointers
for branches configuration. No code references ReadGuard/WriteGuard
any longer, so drop the header and its stale includes.
2026-04-18 00:45:12 -04:00
Antonio SJ Musumeci
ff48ff6047
Handle/ignore SIGHUP
mkdocs / deploy (push) Waiting to run
2026-04-17 11:14:05 -05:00
Antonio S. Musumeci
a1e681f36b
Use ReaddirCalc in all readdir implementations
...
* avoids per-entry path construction
2026-04-12 23:44:23 -05:00
Antonio S. Musumeci
e3a467de80
Refactor fs_inode
...
* add Algo enum
* ReaddirCalc class
* string_view params
* fs::path overloads
2026-04-12 23:44:23 -05:00
Antonio S. Musumeci
cdadda5eb9
Replace khash with custom hash set
2026-04-12 23:44:23 -05:00
Antonio SJ Musumeci
425e30b50f
Use nanosleep rather than yield and return EINTR
mkdocs / deploy (push) Has been cancelled
2026-04-11 11:30:57 -05:00
Antonio SJ Musumeci
6d218fa87f
Misc updates and fixes
mkdocs / deploy (push) Has been cancelled
2026-04-04 02:46:24 -05:00
Antonio SJ Musumeci
1ebc8cfa5f
Enable statx with file handle
mkdocs / deploy (push) Waiting to run
2026-03-31 19:53:17 -04:00
Antonio SJ Musumeci
acfa797503
Misc formatting changes
2026-03-31 19:53:17 -04:00
Antonio SJ Musumeci
7fc20457ca
Rework open file resource management
2026-03-31 19:53:17 -04:00
Antonio SJ Musumeci
0f1a8e9b69
Fix error condition in fs_copyfile
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
08f9cc6932
Fix readlink implementation, add more tests
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
3099b15db1
More aggressive error handing with pagesize queries
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
7763c7384a
Use fatal::abort() rather than assert in places
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
61365d226d
Move scope_guard to vendored/
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
f33e78bc24
Cleanup procfs and abort on critical issues
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
7f52623536
Cleanup branches and add more unit tests
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
a30a4df9c0
Cleanup config and add tests
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
1e0d5aa91d
fs_wait_for_mount cleanup
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
d09fadbc28
fs_inode cleanup
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
21ce889449
Fixup listxattr error handling
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
9d1a4696e9
Small improvements to fs::statvfs_cache
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
ed0cbcf064
Cleanup fuse_readlink
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
bf98d3f3a6
Fix possible error handling issue with errno
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
c45c5ce920
Make cfgfile depth calculation thread friendly
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
e0a892f0d0
Improve error handling when querying pagesize
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
107a3acf95
Better error handling in pagesize config type
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
a5eafb8972
Check string is not empty before resize in Config::keys
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
8199cc8a8b
Fix error handling in fuse chmod, chown, setxattr, removexattr
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
c0af09f7d8
Fix incorrect type in fs_read and write
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
1a5c39f813
Fix buffer overflow in readlink by reserving space for null terminator
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
fce1803d42
Use RND class for shrink_to_rand_elem and add assertions
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
8648de6bb6
fix policy_eppfrd.cpp: return 0 when branchinfo found, -ENOENT only when empty
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
f227a63e15
fix str.cpp: use string_view::npos, fix erase() calls, remove extra whitespace
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
aa47b74dea
Remove iterator methods from Branches class
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
206ad1dd53
Fix futimens bugs: stat pointer, variable names, and negation
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
80aead7085
Add null pointer checks for FileInfo/DirInfo
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
1220befacf
Fix copydata_copy_file_range bug
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
01aa888c7a
Fix eplus search bug
...
Not that anyone would ever use this but it was noticed in a scan.
2026-03-24 21:13:34 -04:00
Antonio SJ Musumeci
c66c68b137
Misc cleanup
mkdocs / deploy (push) Has been cancelled
2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
075a8a6548
Convert some push_back to emplace_back
2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
3c6d1b47f6
Remove unused "using"s
2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
6f281b9f7f
Remove duplicate includes
2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
511bf47af9
Convert stdint to short ints
2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
eb8074ed9a
Update vendored/nonstd to latest and fix API usage
2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
2c87e68635
Cleanup ugid.hpp usage
2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
8f1ef59770
Move 3rd party libraries to "vendored" directory
2026-03-02 01:09:16 -05:00
Antonio SJ Musumeci
a4aade6666
Make global inode calculation function pointer atomic
2026-03-02 01:09:16 -05:00