From fe23461921f9c218045a41922272debf4f1e6106 Mon Sep 17 00:00:00 2001 From: Qu Wenruo Date: Wed, 22 Nov 2017 17:03:19 +0800 Subject: [PATCH] btrfs-progs: fsck-test: Introduce test case for false data extent backref lost Introduce a new test image, which has an extent item with no inlined extent data ref, but all keyed extent data ref. Only in this case we can trigger fase data extent backref lost bug in lowmem mode. Signed-off-by: Qu Wenruo Signed-off-by: David Sterba --- .../020-extent-ref-cases/keyed_data_ref_only.img | Bin 0 -> 4096 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/fsck-tests/020-extent-ref-cases/keyed_data_ref_only.img diff --git a/tests/fsck-tests/020-extent-ref-cases/keyed_data_ref_only.img b/tests/fsck-tests/020-extent-ref-cases/keyed_data_ref_only.img new file mode 100644 index 0000000000000000000000000000000000000000..668589f46d330cb5d6ff10b108e62585875548ca GIT binary patch literal 4096 zcmeHJX;f3!7QRVHAcQ~&Q`t% zMH+&}pnWaWKE)`?5D*nKQLKpIg9wTW2oA*o^(ET3IxPJ2e)Lz*x@+IP&pP|;;XC{6 zQ=C$rr6g?Z0Dc|Xsz2oYr()*RlNhL)0=LveNKsRuKus_d)j9xZRuk|8zd_BjKk%9F zdFuN$Of{YV!1L8Sh4y}aLQUBp_{k4u)LMU!zccW62L751z>?G&&mN3~|^PlEuD=hBAxLE?Qn?RKUp5 zwuP!$S`uav!b0IJYC#7P!L=tYejhl>vH!}@OxG|u1NS6?XI4EA>dp19nmfr0N3NJT5wZz2?`BGk3 z5bOI&>`z4rg+P+Kp4%P=;YE`0_|ZyI(Qz!)p4RKky(ebAshqzXWAHXJy@Y z!od$i0qD_y=-iR)p@GJp<)YOBIlZR%Yb8pL`#+rhF>CS8z{$I*M_Cr;<_v4Es+8b$ z1DUYC*2z?67_A}?dSZ@X4GRR06~Jme3}Tf)?Svp$v-V}BiHnEIf0e=Cf>8@>D`3|*_LE`lF*F-Jm<=Dk0cf69j%WF2Dwm`T#Vt^(kB z7{7)$jUfQD$jk|8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