Files
apfstests/tests/btrfs/095.out
T
Filipe Manana 7f76160ed3 btrfs: test to exercise shared extent reference accounting
Regression test for adding and dropping an equal number of references
for file extents. Verify that if we drop N references for a file extent
and we add too N new references for that same file extent in the same
transaction, running the delayed references (which always happens at
transaction commit time) does not fail.

The regression was introduced in the 4.2-rc1 Linux kernel and fixed by
the patch titled: "Btrfs: fix order by which delayed references are run".

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2015-08-04 14:10:49 +10:00

10 lines
394 B
Plaintext

QA output created by 095
wrote 122880/122880 bytes at offset 552960
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
wrote 102400/102400 bytes at offset 3145728
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
File digest before power failure:
beaf47c36659ac29bb9363fb8ffa10a1 SCRATCH_MNT/foo
File digest after log replay:
beaf47c36659ac29bb9363fb8ffa10a1 SCRATCH_MNT/foo