From 15e9cac275c59c1d1e5cd1160af5172e17382a01 Mon Sep 17 00:00:00 2001 From: Qu Wenruo Date: Thu, 12 Sep 2024 18:02:41 +0930 Subject: [PATCH] btrfs-progs: tests: add case to handle deprecated inode cache in check The inode_cache and involved on-disk formats are deprecated and will have no effect since v5.11 kernel. And in v6.11 kernel, new tree-checker will even reject data extents belonging to those deprecated inode cache. Lowmem check can detect such deprecated inode cache from the beginning. This images are generated by 5.10 LTS kernels with inode cache. Signed-off-by: Qu Wenruo --- .../4k_nodesize.img.xz | Bin 0 -> 17320 bytes .../064-deprecated-inode-cache/test.sh | 14 ++++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 tests/fsck-tests/064-deprecated-inode-cache/4k_nodesize.img.xz create mode 100755 tests/fsck-tests/064-deprecated-inode-cache/test.sh diff --git a/tests/fsck-tests/064-deprecated-inode-cache/4k_nodesize.img.xz b/tests/fsck-tests/064-deprecated-inode-cache/4k_nodesize.img.xz new file mode 100644 index 0000000000000000000000000000000000000000..da8314bbe3ee4c44b40f8d6cf3efd79b98c30e5a GIT binary patch literal 17320 zcmV(wKYT>wRyj;C3^ zv%$$4d3{0=g{ecFT~_e!5y%|9Y5@6UcO(1xeS&Pu3{QfKu~}*~CgS~F>TZC%pTlu* zrv#c(vNXxsncQV^&#Z$VUkZz>B1^`r;oSBwE3OZD`pwV&@#ba5O?7v%^@O;*uNH-P z&r5+_c_fFOeP5aD!dS38mMt`_;uZ$8+7#lO-vE-SJ^ky_gW)WP<__SZr^GXU7i;0o z+0m~OtAd|Y+L(=1%mpmernvZ%ICvU4^uh;To9-oy1L;HzUBwtoLwWNo4i+!w^TlL@H!IN9-O9^--%u`wG{W zd8Lpd;xeJ3nF3mdTCw^<=90D?RWekn2e6) zB9=WUy##z%Z?p@D`zL3J@^nfy8njuUYr0vJgusXgPDy?KN+KtxrX+GwDDvQ$eXV9e zS^XaHXY|i~2no@YChb`Usz|Jy07~KN3yN@;Y8LOsj__l-Qq_h`v0{0$0pc z@9U%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EmH>vcOT~Ou1hV&*gj#Ax6odP0gaMKRZTwos9{PCMuxVo8)6^|3 zEu{~F;Vy%eUUQ^?Xq|D75^bh%&R6FeaG-EE{`Y&MKSQ#ZhOl%gWk$jkWJsF;>fh_R zQOfX@r_0wtCu%sz9ktmMFEH@f_f0<4-cx!%#sedW%Pb*e3t{M}Z&k6FuKLtK^YOZ^ z0g+2L3@M=@wr^M?QNO^AByzBIL=h%F2w*03N3GV@e!QI-Y2@8vMSIn9HD zh!|8ZqxdBWP<-EWpKzdFgf{&$aUBK66|qX_^u0(k~;ZB|F18~wRFwsK+JMtH=wjU<>0*8vUoyYh~6 z$5ZqxXzJI1e{OJK)sExMutILf)veKem?q(BY@4S&cfsY)36f_4^1G07xqpsq2l$7Fk*|ssF_qj2 zlV3YxR5_rg=$tlzm5ypX(!au+_5VZ9DX&ugqnHlYv?Z*-)Z+xBwUag$SQ#^3`h%?Q zTZDbYu<0OMBu|c0)+RpVHqFo({7A)nepzBTY$qmi|0M3byLYeIUdF`pDS?H1*80t3<+y_GoQq*%GfuOC|If zpgKVk2I{kqTL6#ZZT!VZaRw|la5vSA7Y!H{) zUn**J*jke_0kTCCL&&Z+6akxk0s;(CAV6`_!vb1#&{bMa^&QCl`M5R0yKEyDo1~Ea z?}NHRb^YN|yh0EztAf{691g64;;FAwgX1Hul9ra%T6n1L_v0OWxceub0XGP!r=Zas zP*md;1UX<~Lq@G^(matYx?MxP2Ep#&EVU#JzWuSSLOiX&U^lfx> zfcACMcp&0|oWmx2fgfT-oL8+wkGAYk1sutob4Hq$H2?qrq#KVwbPkUU00D!C0f2x4 Tt6Q_wvBYQl0ssI200dcDWKGqt literal 0 HcmV?d00001 diff --git a/tests/fsck-tests/064-deprecated-inode-cache/test.sh b/tests/fsck-tests/064-deprecated-inode-cache/test.sh new file mode 100755 index 00000000..ca3bfa71 --- /dev/null +++ b/tests/fsck-tests/064-deprecated-inode-cache/test.sh @@ -0,0 +1,14 @@ +#!/bin/bash +# +# Verify that check can report deprecated inode cache as an error + +source "$TEST_TOP/common" || exit + +check_prereq btrfs + +check_image() { + run_mustfail "deprecated inode cache not reported as an error" \ + "$TOP/btrfs" check "$1" +} + +check_all_images