Skip to content

Commit

Permalink
Merge pull request systemd#124 from poettering/cache-logic
Browse files Browse the repository at this point in the history
add new --cache= logic for speeding up repeated caidx generation
  • Loading branch information
keszybz authored Feb 3, 2018
2 parents 5e26ef8 + 2942bbf commit 2414b46
Show file tree
Hide file tree
Showing 34 changed files with 2,891 additions and 380 deletions.
6 changes: 6 additions & 0 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,9 @@ LATER:
* make "casync stat" work on a directory with a subpath
* save/restore xfs/ext4 projid
* tweak chunker: shift cut to last "marker".
* define sane errors we can show user messages about
* introduce a --best-effort mode when replaying, which means we'll ignore what we can't apply
* add "--cache-auto" mode, that works like "--cache" but finds a suitable place for the cache automatically
* use CaNameTable logic in seed, so that we can safely regenerate *any* chunk
* when building the cache, also build a seed
* make sure that "casync list" on a directory doesn't read any files
9 changes: 9 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ c_args = '''
-Werror=return-type
-Werror=incompatible-pointer-types
-Werror=shadow
-Werror=int-conversion
-Wstrict-prototypes
-Wredundant-decls
-Wmissing-noreturn
Expand Down Expand Up @@ -272,6 +273,14 @@ test_fuse = find_program(test_fuse_sh)
test('test-fuse.sh', test_fuse,
timeout : 30 * 60)

test_cache_sh = configure_file(
output : 'test-cache.sh',
input : 'test/test-cache.sh.in',
configuration : substs)
test_cache = find_program(test_cache_sh)
test('test-cache.sh', test_cache,
timeout : 30 * 60)

udev_rule = configure_file(
output : '75-casync.rules',
input : 'src/75-casync.rules.in',
Expand Down
Loading

0 comments on commit 2414b46

Please sign in to comment.