]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-copy: use non-0 data block in copy_holes
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Tue, 29 Mar 2022 17:43:01 +0000 (19:43 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 29 Mar 2022 19:10:43 +0000 (21:10 +0200)
commitd66b77b4d8be4119a5322715f58f763a872ae322
tree63f02c0308c09b5e12c3e1bf6e95efc7bbea0c74
parent53877d0385129a7b4b4a8ebb8a43982252bc7650
test-copy: use non-0 data block in copy_holes

Some filesystems (e.g. zfs with compression!=off, which is the default
configuration) automatically hole-punch all-zero blocks ‒ write a block
full of ones instead
src/test/test-copy.c