mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
18562c4228
Test that if we have a subvolume/snapshot that is writable, has a file with unflushed delalloc (buffered writes not yet flushed), turn the subvolume to readonly mode and then use it for send a operation, the send stream will contain the delalloc data - that is, no data loss happens. This currently files on btrfs (data loss) but is fixed by a patch for the linux kernel titled: "Btrfs: send, flush dellaloc in order to avoid data loss" Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
15 lines
403 B
Plaintext
15 lines
403 B
Plaintext
QA output created by 186
|
|
Create subvolume 'SCRATCH_MNT/sv'
|
|
wrote 110592/110592 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
At subvol SCRATCH_MNT/sv
|
|
File content in the original filesystem:
|
|
0000000 ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea
|
|
*
|
|
0110592
|
|
At subvol sv
|
|
File content in the new filesystem:
|
|
0000000 ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea
|
|
*
|
|
0110592
|