637 Commits

Author SHA1 Message Date
Marcus Holland-Moritz
c97105f3e9 Move fatal error after useful debug output (d'oh!) 2021-06-06 23:08:31 +02:00
Marcus Holland-Moritz
626b8c0f6a Build fixes for gcc-11 2021-05-04 13:33:02 +02:00
Marcus Holland-Moritz
49061e96af Temporarily disable clang until this is usable again on travis v0.5.5 2021-05-03 22:57:54 +02:00
Marcus Holland-Moritz
0ddd94d019 Try fixing travis again... 2021-05-03 22:24:49 +02:00
Marcus Holland-Moritz
96c6093754 Update change log 2021-05-03 22:10:33 +02:00
Marcus Holland-Moritz
07987e1081 Don't compress blocks with bad compression ratio
If we don't save at least one byte by compression, just store the
block uncompressed. This also partially fixes github #45, where
LZMA would behave out-of-spec when compressing a large block of
random data.
2021-05-03 22:09:40 +02:00
Marcus Holland-Moritz
889c3c66b5 Fix block boundary handling in block manager
If the last chunk ended exactly on a block boundary, the last block
was accidentally written to the output filesystem twice. This had no
impact on the usability of the filesystem, but is obviously bad in
that it added unnecessary data to the filesystem image.
2021-05-03 13:25:15 +02:00
Marcus Holland-Moritz
3c9bb23665 Fix filesystem loading without shared files and packing
If packing is enabled, a filesystem without shared files will not
load due to an out-of-bounds access. It'll either crash or throw
an error.
2021-05-03 12:58:38 +02:00
Marcus Holland-Moritz
54b27f5662 Make os_access_mock more flexible 2021-05-03 12:53:45 +02:00
Marcus Holland-Moritz
1bb87772c7 Update folly/fbthrift 2021-04-15 22:11:43 +02:00
Marcus Holland-Moritz
6dc565c50c More extensive FUSE driver option testing 2021-04-13 21:41:48 +02:00
Marcus Holland-Moritz
5dd3323782 Revert 5eee555 and fix test 2021-04-13 14:28:04 +02:00
Marcus Holland-Moritz
dc16fee8a0 Re-add clang to travis config 2021-04-13 13:54:12 +02:00
Marcus Holland-Moritz
5eee555de6 Fix access() with W_OK, and add test 2021-04-13 13:53:40 +02:00
Marcus Holland-Moritz
f7ddcc5b9a Try working around clang-10 crashes 2021-04-13 12:27:40 +02:00
Marcus Holland-Moritz
9e506aaa7d Only use exception tracer for non-release builds 2021-04-13 12:11:29 +02:00
Marcus Holland-Moritz
c262ee197b More tools tests 2021-04-13 10:50:40 +02:00
Marcus Holland-Moritz
de2f4388b2 More ccache tweaks 2021-04-13 09:12:34 +02:00
Marcus Holland-Moritz
2617449de7 Show ccache config/usage in travis 2021-04-13 09:02:19 +02:00
Marcus Holland-Moritz
58cb5147d6 Test --export-metadata dwarfsck option 2021-04-13 08:53:16 +02:00
Marcus Holland-Moritz
337660276c Tweak travis ccache config 2021-04-13 00:21:09 +02:00
Marcus Holland-Moritz
6532a25af2 Mark parameter as potentially unused 2021-04-12 23:47:41 +02:00
Marcus Holland-Moritz
176b4be5d0 Correctly initialize options structure 2021-04-12 23:47:24 +02:00
Marcus Holland-Moritz
4d25fcf24e Temporarily remove clang from travis config 2021-04-12 23:47:00 +02:00
Marcus Holland-Moritz
2b14de5362 Add missing libarchive-dev to travis config 2021-04-12 22:49:32 +02:00
Marcus Holland-Moritz
1280dbbf6d Update travis config 2021-04-12 22:40:20 +02:00
Marcus Holland-Moritz
2c98501e46 Update static linking script to also work for tests 2021-04-12 19:35:48 +02:00
Marcus Holland-Moritz
fdc25fb1ac Add small test suite for testing the fuse driver & binaries 2021-04-12 19:00:48 +02:00
Marcus Holland-Moritz
3d36f92b85 Add user.dwarfs.driver.pid xattr to toplevel entry
This helps identify the dwarfs driver process associated with
a mounted filesystem.
2021-04-12 18:55:32 +02:00
Marcus Holland-Moritz
b2fc36e95d Update change log v0.5.4 2021-04-11 22:45:27 +02:00
Marcus Holland-Moritz
9cbe9fae58 Worker threads must be created after fork to background (fix gh #44) 2021-04-11 22:31:53 +02:00
Marcus Holland-Moritz
6d8bc71348 Update change log v0.5.3 2021-04-11 13:35:05 +02:00
Marcus Holland-Moritz
35cac17dab Fix version file generation in external git repo
If the source tarball is extracted within a git repository, the
version file generation code would try to re-create the version
files and would very likely fail doing so.

This is an issue on Arch Linux, where packages are apparently
built from within a repo that hold the package build information.
2021-04-11 13:20:24 +02:00
Marcus Holland-Moritz
eb1fd9ecd7 Add PREFER_SYSTEM_GTEST cmake option (fixes github #42) 2021-04-09 18:53:02 +02:00
Marcus Holland-Moritz
4f8c470c59 Update change log v0.5.2 2021-04-07 18:47:11 +02:00
Marcus Holland-Moritz
066577d798 Cleanup & simplify fuse driver and fix github #41 2021-04-06 18:52:30 +02:00
Marcus Holland-Moritz
8c1eb060e4 Allow default-constructed filesystem 2021-04-06 18:51:12 +02:00
Marcus Holland-Moritz
ff6b493c16 Add CPU timed logging 2021-04-06 14:41:33 +02:00
Marcus Holland-Moritz
cb508c83e6 Update change log v0.5.1 2021-04-06 12:23:43 +02:00
Marcus Holland-Moritz
8216d63086 Build fsst without -march=native 2021-04-06 10:13:15 +02:00
Marcus Holland-Moritz
362eb60869 Remove tests that trigger frozen assertions v0.5.0 2021-04-05 20:53:03 +02:00
Marcus Holland-Moritz
b425a5c294 Compatibility fix for older libfmt versions ('n'/'L') 2021-04-05 20:42:37 +02:00
Marcus Holland-Moritz
2a3904c0aa Update change log 2021-04-05 18:00:11 +02:00
Marcus Holland-Moritz
ef722f02c4 Parallelize checksum computation in filesystem writer 2021-04-05 12:47:52 +02:00
Marcus Holland-Moritz
713b18709d Use XXH3-128 for duplicate detection 2021-04-05 00:55:51 +02:00
Marcus Holland-Moritz
cbbd48b0d2 Don't fail if we have a buggy version of ronn 2021-04-04 18:23:37 +02:00
Marcus Holland-Moritz
4c6580b9c7 Update mkdwarfs man page 2021-04-04 17:37:51 +02:00
Marcus Holland-Moritz
fcf872e5b5 Add -w as alias for --window-step 2021-04-04 17:35:18 +02:00
Marcus Holland-Moritz
68cb857916 More CPU usage stats 2021-04-04 17:34:40 +02:00
Marcus Holland-Moritz
6fb4d341c8 Don't install library/headers for now 2021-04-03 20:58:21 +02:00