mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
c7cbc1cd61
Test that a filesystem's implementation of the stat(2) system call reports correct values for the number of blocks allocated for a file when there are delayed allocations. This test is motivated by a bug in btrfs which is fixed by the following path for the linux kernel: "Btrfs: fix reported number of inode blocks" Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
QA output created by 422
|
|
wrote 65536/65536 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 65536/65536 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 65536/65536 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 65536/65536 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 65536/65536 bytes at offset 65536
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 65536/65536 bytes at offset 65536
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 65536/65536 bytes at offset 65536
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 65536/65536 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 65536/65536 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
Before writeback
|
|
|
|
Space used by file foo1:
|
|
64K SCRATCH_MNT/foo1
|
|
Space used by file foo2:
|
|
128K SCRATCH_MNT/foo2
|
|
Space used by file foo3:
|
|
128K SCRATCH_MNT/foo3
|
|
Space used by file foo4:
|
|
64K SCRATCH_MNT/foo4
|
|
|
|
After writeback
|
|
|
|
Space used by file foo1:
|
|
64K SCRATCH_MNT/foo1
|
|
Space used by file foo2:
|
|
128K SCRATCH_MNT/foo2
|
|
Space used by file foo3:
|
|
128K SCRATCH_MNT/foo3
|
|
Space used by file foo4:
|
|
64K SCRATCH_MNT/foo4
|