mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
c8abfdd930
Test that both a full and incremental btrfs send operation preserves file holes. This used to fail when the filesystem had the NO_HOLES feature enabled, that is, when the test is run with MKFS_OPTIONS="-O no-holes". This is fixed by the following patch for the linux kernel: "Btrfs: incremental send, fix unnecessary hole writes for sparse files" Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
64 lines
1.9 KiB
Plaintext
64 lines
1.9 KiB
Plaintext
QA output created by 137
|
|
wrote 4096/4096 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 4096/4096 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 4096/4096 bytes at offset 1052672
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 4096/4096 bytes at offset 1052672
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 4096/4096 bytes at offset 1052672
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
File digests in the original filesystem:
|
|
3e4309c7cc81f23d45e260a8f13ca860 SCRATCH_MNT/snap1/foo
|
|
f3934f0cf164e2efa1bab71f2f164990 SCRATCH_MNT/snap1/bar
|
|
f3934f0cf164e2efa1bab71f2f164990 SCRATCH_MNT/snap2/foo
|
|
d3dc847171f9081bd75d7a2d3b53d322 SCRATCH_MNT/snap2/bar
|
|
|
|
File snap1/foo fiemap results in the original filesystem:
|
|
0: [0..7]: data
|
|
|
|
File snap1/bar fiemap results in the original filesystem:
|
|
0: [0..7]: data
|
|
1: [8..2055]: hole
|
|
2: [2056..2063]: data
|
|
|
|
File snap2/foo fiemap results in the original filesystem:
|
|
0: [0..7]: data
|
|
1: [8..2055]: hole
|
|
2: [2056..2063]: data
|
|
|
|
File snap2/bar fiemap results in the original filesystem:
|
|
0: [0..7]: data
|
|
1: [8..2055]: hole
|
|
2: [2056..2063]: data
|
|
|
|
At subvol SCRATCH_MNT/snap1
|
|
At subvol SCRATCH_MNT/snap2
|
|
At subvol snap1
|
|
|
|
File digests in the new filesystem:
|
|
3e4309c7cc81f23d45e260a8f13ca860 SCRATCH_MNT/snap1/foo
|
|
f3934f0cf164e2efa1bab71f2f164990 SCRATCH_MNT/snap1/bar
|
|
f3934f0cf164e2efa1bab71f2f164990 SCRATCH_MNT/snap2/foo
|
|
d3dc847171f9081bd75d7a2d3b53d322 SCRATCH_MNT/snap2/bar
|
|
|
|
File snap1/foo fiemap results in the new filesystem:
|
|
0: [0..7]: data
|
|
|
|
File snap1/bar fiemap results in the new filesystem:
|
|
0: [0..7]: data
|
|
1: [8..2055]: hole
|
|
2: [2056..2063]: data
|
|
|
|
File snap2/foo fiemap results in the new filesystem:
|
|
0: [0..7]: data
|
|
1: [8..2055]: hole
|
|
2: [2056..2063]: data
|
|
|
|
File snap2/bar fiemap results in the new filesystem:
|
|
0: [0..7]: data
|
|
1: [8..2055]: hole
|
|
2: [2056..2063]: data
|