mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
7931e0696c
Test that if we write into an unwritten extent of a file when there is no more space left to allocate in the filesystem and then snapshot the file's subvolume, after a clean shutdown the data was not lost. This test is motivated by a bug found by Robbie Ko for which there is a fix whose patch title is: "Btrfs: fix unexpected failure of nocow buffered writes after snapshotting when low on space" Reported-by: Robbie Ko <robbieko@synology.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
9 lines
368 B
Plaintext
9 lines
368 B
Plaintext
QA output created by 170
|
|
wrote 131072/131072 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
File digest after write:
|
|
85054e9e74bc3ae186d693890106b71f SCRATCH_MNT/foobar
|
|
Create a readonly snapshot of 'SCRATCH_MNT' in 'SCRATCH_MNT/snap'
|
|
File digest after mounting the filesystem again:
|
|
85054e9e74bc3ae186d693890106b71f SCRATCH_MNT/foobar
|