535 Commits

Author SHA1 Message Date
Marcus Holland-Moritz
61d77b3295 refactor(progress): hide internals behind new writer_progress class 2024-07-29 11:15:57 +02:00
Marcus Holland-Moritz
a544ce1e46 feat: add getattr_options to support getattr without size computation 2024-07-29 01:23:40 +02:00
Marcus Holland-Moritz
2b94aeae88 refactor(chmod_transformer): move to internal namespace 2024-07-29 00:05:27 +02:00
Marcus Holland-Moritz
620a353cdb refactor: move nilsimsa, similarity to internal namespace 2024-07-28 23:57:13 +02:00
Marcus Holland-Moritz
a39d9f6922 refactor(script): remove unused script API 2024-07-28 23:20:40 +02:00
Marcus Holland-Moritz
8a4c841b80 refactor(chunkable): move to internal namespace 2024-07-28 22:55:38 +02:00
Marcus Holland-Moritz
1995bea40d refactor(fs_section): move to internal namespace 2024-07-28 22:45:29 +02:00
Marcus Holland-Moritz
29e09d94c7 refactor: statvfs cannot actually fail 2024-07-28 19:50:13 +02:00
Marcus Holland-Moritz
ce16e74646 refactor: add error_code/throwing versions of open 2024-07-28 19:50:13 +02:00
Marcus Holland-Moritz
3ae80f564e refactor: cleanup read/readv APIs 2024-07-28 18:58:08 +02:00
Marcus Holland-Moritz
b00a26ad10 refactor: remove readlink version returning int 2024-07-28 18:58:08 +02:00
Marcus Holland-Moritz
62899bbd73 refactor: remove access version returning int 2024-07-28 18:58:08 +02:00
Marcus Holland-Moritz
6a2cc3f860 refactor: remove getattr version returning int 2024-07-28 18:58:08 +02:00
Marcus Holland-Moritz
404d89908c refactor(history): don't require thrift definitions in public API 2024-07-28 15:19:38 +02:00
Marcus Holland-Moritz
3fb6e34ca3 refactor(string_table): move to internal namespace 2024-07-28 14:44:04 +02:00
Marcus Holland-Moritz
9d04a07210 refactor: replace folly::enumerate with ranges::views::enumerate 2024-07-28 12:30:39 +02:00
Marcus Holland-Moritz
c8bfc82140 refactor: internal namespace cleanup 2024-07-28 12:18:29 +02:00
Marcus Holland-Moritz
b273e2fd3d refactor(cached_block): move to internal namespace 2024-07-28 11:00:31 +02:00
Marcus Holland-Moritz
7ff742d38d refactor(block_manager): move to internal namespace 2024-07-28 10:53:03 +02:00
Marcus Holland-Moritz
9c12efda18 refactor(block_data): move to internal namespace 2024-07-28 10:47:24 +02:00
Marcus Holland-Moritz
f8efbdc4a8 refactor: remove folly/Conv.h from public API 2024-07-28 01:44:02 +02:00
Marcus Holland-Moritz
fbba876c18 chore: add converter benchmark 2024-07-28 01:44:02 +02:00
Marcus Holland-Moritz
088849126c refactor: move offset_cache to internal namespace 2024-07-27 13:57:19 +02:00
Marcus Holland-Moritz
2ca18e776b refactor: drop Expected readv API for now 2024-07-26 23:31:51 +02:00
Marcus Holland-Moritz
ac56927aef refactor: drop Expected readlink API for now 2024-07-26 23:31:51 +02:00
Marcus Holland-Moritz
77ca8d2b3b refactor: introduce thread_pool and make worker_group internal 2024-07-26 21:08:41 +02:00
Marcus Holland-Moritz
cb167c450d refactor(block_merger): move to internal namespace 2024-07-26 21:08:41 +02:00
Marcus Holland-Moritz
75d6c92821 refactor: make progress class use std::function and chrono duration 2024-07-26 21:08:41 +02:00
Marcus Holland-Moritz
17c72ea47b fix: gcc false positive warning about cache always being null 2024-06-02 21:40:28 +02:00
Marcus Holland-Moritz
6d91e4c7b1 refactor: allow replacing folly::to in interfaces with alternatives 2024-05-22 18:34:42 +02:00
Marcus Holland-Moritz
522efd04f7 refactor: switch to using system includes for dwarfs headers 2024-05-22 14:56:08 +02:00
Marcus Holland-Moritz
8903957b63 refactor: folly::dynamic -> nlohmann::json, part 3 2024-05-14 17:59:33 +02:00
Marcus Holland-Moritz
0721b199f5 refactor: folly::dynamic -> nlohmann::json, part 2 2024-05-14 17:59:33 +02:00
Marcus Holland-Moritz
96a0afed95 refactor: folly::dynamic -> nlohmann::json, part 1 2024-05-14 17:59:33 +02:00
Marcus Holland-Moritz
2cb5542a5d chore: allow skipping of FUSE tests (should help with gh #214) 2024-05-07 21:39:26 +02:00
Marcus Holland-Moritz
aa000939a6 feat(dwarfs): support extended attributes on windows 2024-05-07 08:38:59 +02:00
Marcus Holland-Moritz
9346f572d4 feat: add portable xattr functions (non-windows part) 2024-05-07 08:38:59 +02:00
Marcus Holland-Moritz
21901d7c2d test: don't rely on FLAC compression being available 2024-05-07 08:38:59 +02:00
Marcus Holland-Moritz
965fa93b3f fix: duf reports odd sizes due to using bsize instead of frsize
This is arguably a bug in `duf`, but the `bsize` value reported by
DwarFS isn't that relevant, so we might just change it here.
2024-05-07 08:38:59 +02:00
Marcus Holland-Moritz
125121b7ca fix(mkdwarfs): filter rules did not work correctly when input is root dir 2024-05-07 08:38:59 +02:00
Marcus Holland-Moritz
c1da30db6b refactor(mmap): clean up madvise code and expose advise interface 2024-05-07 08:38:59 +02:00
Marcus Holland-Moritz
29a126b4ac test: fuse driver perfmon option 2024-04-29 23:01:11 +02:00
Marcus Holland-Moritz
c14e884188 test: some tools_test cleanups 2024-04-29 23:01:11 +02:00
Marcus Holland-Moritz
ff0aa79254 test: fix perfmon check 2024-04-29 22:55:07 +02:00
Marcus Holland-Moritz
f6a9ce1c89 refactor: small cleanups around variable shadowing and scope 2024-04-29 19:26:35 +02:00
Marcus Holland-Moritz
e37a428af9 test: add tests for file_scanner::dump() 2024-04-29 18:50:46 +02:00
Marcus Holland-Moritz
7bdc90223a fix(file_scanner): unexpected "inode has no file" (fixes gh #217)
When introducing an optimization to skip hashing of large files if they
already differ in the first 4 KiB, only `unique_size_` was updated to
be keyed on (size, start_hash). However, the same change is necessary
for `first_file_hashed_`, as there can otherwise be collisions if files
with the same size, but different start hashes are processed at the same
time.
2024-04-29 18:50:46 +02:00
Marcus Holland-Moritz
407b75b28c test: more os_access_mock features 2024-04-29 18:50:46 +02:00
Marcus Holland-Moritz
5fca0b2bc4 test(perfmon): test trace output 2024-04-28 09:06:31 +02:00
Marcus Holland-Moritz
b5054c0d42 test(block_cache): sequential access detector tests 2024-04-28 09:06:31 +02:00