Created attachment 285837 [details] dmesg (x86-64, kernel 5.3.9) This happened during a balance of a newly converted ext4 partition: btrfs-convert /dev/sda7 mount /dev/sda7 /mnt/mychroot/ btrfs subvol delete /mnt/mychroot/ext2_saved/ btrfs filesystem defrag -r -czsdt /mnt/mychroot/ext2_saved/ btrfs filesystem balance start /mnt/mychroot/ Unfortunately no detailed stracktrace as it's no debugging kernel on this machine: [...] [ 1441.391110] BTRFS info (device sda7): setting incompat feature flag for COMPRESS_ZSTD (0x10) [ 1557.188439] BTRFS info (device sda7): balance: start -d -m -s [ 1557.188633] BTRFS info (device sda7): relocating block group 8162107392 flags data [ 1563.358078] BTRFS info (device sda7): found 11722 extents [ 1563.358277] BTRFS info (device sda7): leaf 7989321728 gen 95 total ptrs 213 free space 3458 owner 2 [ 1563.358280] item 0 key (7984947200 169 0) itemoff 16250 itemsize 33 [ 1563.358281] extent refs 1 gen 90 flags 2 [ 1563.358282] ref#0: tree block backref root 4 [ 1563.358285] item 1 key (7985602560 169 0) itemoff 16217 itemsize 33 [ 1563.358286] extent refs 1 gen 93 flags 258 [ 1563.358287] ref#0: shared block backref parent 7985602560 [ 1563.358288] (parent 7985602560 is NOT ALIGNED to nodesize 16384) [ 1563.358290] item 2 key (7985635328 169 0) itemoff 16184 itemsize 33 [ 1563.358291] extent refs 1 gen 93 flags 2 [ 1563.358291] ref#0: tree block backref root 18446744073709551607 [ 1563.358293] item 3 key (7985668096 169 0) itemoff 16151 itemsize 33 [ 1563.358294] extent refs 1 gen 93 flags 2 [ 1563.358295] ref#0: tree block backref root 18446744073709551607 [ 1563.358297] item 4 key (7985684480 169 0) itemoff 16118 itemsize 33 [ 1563.358298] extent refs 1 gen 93 flags 2 [ 1563.358299] ref#0: tree block backref root 18446744073709551607 [ 1563.358300] item 5 key (7985700864 169 0) itemoff 16085 itemsize 33 [ 1563.358301] extent refs 1 gen 93 flags 2 [ 1563.358302] ref#0: tree block backref root 18446744073709551607 [ 1563.358304] item 6 key (7985717248 169 0) itemoff 16052 itemsize 33 [ 1563.358305] extent refs 1 gen 93 flags 2 [ 1563.358306] ref#0: tree block backref root 18446744073709551607 [ 1563.358307] item 7 key (7985766400 169 0) itemoff 16019 itemsize 33 [ 1563.358308] extent refs 1 gen 93 flags 2 [ 1563.358309] ref#0: tree block backref root 2 [ 1563.358311] item 8 key (7985782784 169 0) itemoff 15986 itemsize 33 [ 1563.358312] extent refs 1 gen 93 flags 2 [ 1563.358312] ref#0: tree block backref root 2 [ 1563.358314] item 9 key (7985799168 169 0) itemoff 15953 itemsize 33 [ 1563.358315] extent refs 1 gen 93 flags 2 [ 1563.358316] ref#0: tree block backref root 2 [ 1563.358317] item 10 key (7985815552 169 0) itemoff 15920 itemsize 33 [ 1563.358318] extent refs 1 gen 93 flags 2 [ 1563.358319] ref#0: tree block backref root 2 [ 1563.358321] item 11 key (7985831936 169 0) itemoff 15887 itemsize 33 [ 1563.358322] extent refs 1 gen 93 flags 2 [ 1563.358323] ref#0: tree block backref root 2 [ 1563.358324] item 12 key (7985848320 169 0) itemoff 15854 itemsize 33 [ 1563.358325] extent refs 1 gen 93 flags 2 [ 1563.358326] ref#0: tree block backref root 2 [ 1563.358327] item 13 key (7985864704 169 0) itemoff 15821 itemsize 33 [ 1563.358328] extent refs 1 gen 93 flags 2 [ 1563.358329] ref#0: tree block backref root 2 [ 1563.358331] item 14 key (7985897472 169 0) itemoff 15788 itemsize 33 [ 1563.358332] extent refs 1 gen 93 flags 2 [ 1563.358332] ref#0: tree block backref root 18446744073709551607 [ 1563.358334] item 15 key (7985913856 169 0) itemoff 15755 itemsize 33 [ 1563.358335] extent refs 1 gen 93 flags 2 [ 1563.358336] ref#0: tree block backref root 18446744073709551607 [ 1563.358337] item 16 key (7985930240 169 0) itemoff 15722 itemsize 33 [ 1563.358338] extent refs 1 gen 93 flags 2 [ 1563.358339] ref#0: tree block backref root 2 [ 1563.358341] item 17 key (7985946624 169 0) itemoff 15689 itemsize 33 [ 1563.358342] extent refs 1 gen 93 flags 2 [ 1563.358342] ref#0: tree block backref root 2 [ 1563.358344] item 18 key (7985979392 169 0) itemoff 15656 itemsize 33 [ 1563.358345] extent refs 1 gen 93 flags 2 [ 1563.358346] ref#0: tree block backref root 7 [ 1563.358347] item 19 key (7985995776 169 0) itemoff 15623 itemsize 33 [ 1563.358348] extent refs 1 gen 93 flags 2 [ 1563.358349] ref#0: tree block backref root 18446744073709551607 [ 1563.358351] item 20 key (7986012160 169 0) itemoff 15590 itemsize 33 [ 1563.358352] extent refs 1 gen 93 flags 2 [ 1563.358352] ref#0: tree block backref root 7 [ 1563.358354] item 21 key (7986028544 169 0) itemoff 15557 itemsize 33 [ 1563.358355] extent refs 1 gen 93 flags 2 [ 1563.358356] ref#0: tree block backref root 18446744073709551607 [ 1563.358357] item 22 key (7986044928 169 0) itemoff 15524 itemsize 33 [ 1563.358358] extent refs 1 gen 93 flags 2 [ 1563.358359] ref#0: tree block backref root 18446744073709551607 [ 1563.358361] item 23 key (7986061312 169 0) itemoff 15491 itemsize 33 [ 1563.358362] extent refs 1 gen 93 flags 2 [ 1563.358362] ref#0: tree block backref root 7 [ 1563.358364] item 24 key (7986077696 169 0) itemoff 15458 itemsize 33 [ 1563.358365] extent refs 1 gen 93 flags 2 [ 1563.358366] ref#0: tree block backref root 7 [ 1563.358367] item 25 key (7986094080 169 0) itemoff 15425 itemsize 33 [ 1563.358368] extent refs 1 gen 93 flags 2 [ 1563.358369] ref#0: tree block backref root 7 [ 1563.358370] item 26 key (7986110464 169 0) itemoff 15392 itemsize 33 [ 1563.358371] extent refs 1 gen 93 flags 2 [ 1563.358372] ref#0: tree block backref root 7 [ 1563.358374] item 27 key (7986126848 169 0) itemoff 15359 itemsize 33 [ 1563.358375] extent refs 1 gen 93 flags 2 [ 1563.358375] ref#0: tree block backref root 18446744073709551607 [ 1563.358377] item 28 key (7986143232 169 0) itemoff 15326 itemsize 33 [ 1563.358378] extent refs 1 gen 93 flags 2 [ 1563.358379] ref#0: tree block backref root 7 [ 1563.358380] item 29 key (7986159616 169 0) itemoff 15293 itemsize 33 [ 1563.358381] extent refs 1 gen 93 flags 2 [ 1563.358382] ref#0: tree block backref root 18446744073709551607 [ 1563.358384] item 30 key (7986176000 169 0) itemoff 15260 itemsize 33 [ 1563.358385] extent refs 1 gen 93 flags 2 [ 1563.358385] ref#0: tree block backref root 18446744073709551607 [ 1563.358387] item 31 key (7986192384 169 0) itemoff 15227 itemsize 33 [ 1563.358388] extent refs 1 gen 93 flags 2 [ 1563.358389] ref#0: tree block backref root 18446744073709551607 [ 1563.358390] item 32 key (7986225152 169 0) itemoff 15194 itemsize 33 [ 1563.358391] extent refs 1 gen 93 flags 2 [ 1563.358392] ref#0: tree block backref root 2 [ 1563.358394] item 33 key (7986241536 169 0) itemoff 15161 itemsize 33 [ 1563.358395] extent refs 1 gen 93 flags 2 [ 1563.358395] ref#0: tree block backref root 2 [ 1563.358397] item 34 key (7986257920 169 0) itemoff 15128 itemsize 33 [ 1563.358398] extent refs 1 gen 93 flags 2 [ 1563.358399] ref#0: tree block backref root 2 [ 1563.358400] item 35 key (7986274304 169 0) itemoff 15095 itemsize 33 [ 1563.358401] extent refs 1 gen 93 flags 2 [ 1563.358402] ref#0: tree block backref root 2 [ 1563.358403] item 36 key (7986290688 169 0) itemoff 15062 itemsize 33 [ 1563.358404] extent refs 1 gen 93 flags 2 [ 1563.358405] ref#0: tree block backref root 2 [ 1563.358407] item 37 key (7986307072 169 0) itemoff 15029 itemsize 33 [ 1563.358408] extent refs 1 gen 93 flags 2 [ 1563.358408] ref#0: tree block backref root 2 [ 1563.358410] item 38 key (7986323456 169 0) itemoff 14996 itemsize 33 [ 1563.358411] extent refs 1 gen 93 flags 2 [ 1563.358412] ref#0: tree block backref root 2 [ 1563.358413] item 39 key (7986356224 169 0) itemoff 14963 itemsize 33 [ 1563.358414] extent refs 1 gen 93 flags 2 [ 1563.358415] ref#0: tree block backref root 2 [ 1563.358416] item 40 key (7986372608 169 0) itemoff 14930 itemsize 33 [ 1563.358417] extent refs 1 gen 93 flags 2 [ 1563.358418] ref#0: tree block backref root 18446744073709551607 [ 1563.358420] item 41 key (7986388992 169 0) itemoff 14897 itemsize 33 [ 1563.358421] extent refs 1 gen 93 flags 2 [ 1563.358422] ref#0: tree block backref root 2 [ 1563.358423] item 42 key (7986405376 169 0) itemoff 14864 itemsize 33 [ 1563.358424] extent refs 1 gen 93 flags 2 [ 1563.358425] ref#0: tree block backref root 2 [ 1563.358426] item 43 key (7986421760 169 0) itemoff 14831 itemsize 33 [ 1563.358427] extent refs 1 gen 93 flags 2 [ 1563.358428] ref#0: tree block backref root 18446744073709551607 [ 1563.358430] item 44 key (7986438144 169 0) itemoff 14798 itemsize 33 [ 1563.358431] extent refs 1 gen 93 flags 2 [ 1563.358432] ref#0: tree block backref root 2 [ 1563.358433] item 45 key (7986454528 169 0) itemoff 14765 itemsize 33 [ 1563.358434] extent refs 1 gen 93 flags 2 [ 1563.358435] ref#0: tree block backref root 7 [ 1563.358436] item 46 key (7986470912 169 0) itemoff 14732 itemsize 33 [ 1563.358437] extent refs 1 gen 93 flags 2 [ 1563.358438] ref#0: tree block backref root 7 [ 1563.358440] item 47 key (7986487296 169 0) itemoff 14699 itemsize 33 [ 1563.358441] extent refs 1 gen 93 flags 2 [ 1563.358441] ref#0: tree block backref root 18446744073709551607 [ 1563.358443] item 48 key (7986503680 169 0) itemoff 14666 itemsize 33 [ 1563.358444] extent refs 1 gen 93 flags 2 [ 1563.358445] ref#0: tree block backref root 7 [ 1563.358446] item 49 key (7986520064 169 0) itemoff 14633 itemsize 33 [ 1563.358447] extent refs 1 gen 93 flags 2 [ 1563.358448] ref#0: tree block backref root 7 [ 1563.358450] item 50 key (7986536448 169 0) itemoff 14600 itemsize 33 [ 1563.358451] extent refs 1 gen 93 flags 2 [ 1563.358451] ref#0: tree block backref root 7 [ 1563.358453] item 51 key (7986552832 169 0) itemoff 14567 itemsize 33 [ 1563.358454] extent refs 1 gen 93 flags 2 [ 1563.358455] ref#0: tree block backref root 7 [ 1563.358456] item 52 key (7986569216 169 0) itemoff 14534 itemsize 33 [ 1563.358457] extent refs 1 gen 93 flags 2 [ 1563.358458] ref#0: tree block backref root 18446744073709551607 [ 1563.358459] item 53 key (7986585600 169 0) itemoff 14501 itemsize 33 [ 1563.358460] extent refs 1 gen 93 flags 2 [ 1563.358461] ref#0: tree block backref root 18446744073709551607 [ 1563.358463] item 54 key (7986601984 169 0) itemoff 14468 itemsize 33 [ 1563.358464] extent refs 1 gen 93 flags 2 [ 1563.358464] ref#0: tree block backref root 18446744073709551607 [ 1563.358466] item 55 key (7986618368 169 0) itemoff 14435 itemsize 33 [ 1563.358467] extent refs 1 gen 93 flags 2 [ 1563.358468] ref#0: tree block backref root 2 [ 1563.358469] item 56 key (7986634752 169 0) itemoff 14402 itemsize 33 [ 1563.358470] extent refs 1 gen 93 flags 2 [ 1563.358471] ref#0: tree block backref root 18446744073709551607 [ 1563.358473] item 57 key (7986651136 169 0) itemoff 14369 itemsize 33 [ 1563.358474] extent refs 1 gen 93 flags 2 [ 1563.358475] ref#0: tree block backref root 2 [ 1563.358476] item 58 key (7986667520 169 0) itemoff 14336 itemsize 33 [ 1563.358477] extent refs 1 gen 93 flags 2 [ 1563.358478] ref#0: tree block backref root 2 [ 1563.358479] item 59 key (7986683904 169 0) itemoff 14303 itemsize 33 [ 1563.358480] extent refs 1 gen 93 flags 2 [ 1563.358481] ref#0: tree block backref root 2 [ 1563.358483] item 60 key (7986700288 169 0) itemoff 14270 itemsize 33 [ 1563.358484] extent refs 1 gen 93 flags 2 [ 1563.358484] ref#0: tree block backref root 2 [ 1563.358486] item 61 key (7986716672 169 0) itemoff 14237 itemsize 33 [ 1563.358487] extent refs 1 gen 93 flags 2 [ 1563.358488] ref#0: tree block backref root 2 [ 1563.358489] item 62 key (7986733056 169 0) itemoff 14204 itemsize 33 [ 1563.358490] extent refs 1 gen 93 flags 2 [ 1563.358491] ref#0: tree block backref root 2 [ 1563.358492] item 63 key (7986749440 169 0) itemoff 14171 itemsize 33 [ 1563.358493] extent refs 1 gen 93 flags 2 [ 1563.358494] ref#0: tree block backref root 18446744073709551607 [ 1563.358496] item 64 key (7986765824 169 0) itemoff 14138 itemsize 33 [ 1563.358497] extent refs 1 gen 93 flags 2 [ 1563.358497] ref#0: tree block backref root 2 [ 1563.358499] item 65 key (7986782208 169 0) itemoff 14105 itemsize 33 [ 1563.358500] extent refs 1 gen 93 flags 2 [ 1563.358501] ref#0: tree block backref root 18446744073709551607 [ 1563.358502] item 66 key (7986798592 169 0) itemoff 14072 itemsize 33 [ 1563.358503] extent refs 1 gen 93 flags 2 [ 1563.358504] ref#0: tree block backref root 2 [ 1563.358506] item 67 key (7986814976 169 0) itemoff 14039 itemsize 33 [ 1563.358507] extent refs 1 gen 93 flags 2 [ 1563.358507] ref#0: tree block backref root 7 [ 1563.358509] item 68 key (7986831360 169 0) itemoff 14006 itemsize 33 [ 1563.358510] extent refs 1 gen 93 flags 2 [ 1563.358511] ref#0: tree block backref root 7 [ 1563.358512] item 69 key (7986847744 169 0) itemoff 13973 itemsize 33 [ 1563.358513] extent refs 1 gen 93 flags 2 [ 1563.358514] ref#0: tree block backref root 7 [ 1563.358515] item 70 key (7986864128 169 0) itemoff 13940 itemsize 33 [ 1563.358516] extent refs 1 gen 93 flags 2 [ 1563.358517] ref#0: tree block backref root 18446744073709551607 [ 1563.358519] item 71 key (7986880512 169 0) itemoff 13907 itemsize 33 [ 1563.358520] extent refs 1 gen 93 flags 2 [ 1563.358520] ref#0: tree block backref root 18446744073709551607 [ 1563.358522] item 72 key (7986896896 169 0) itemoff 13874 itemsize 33 [ 1563.358523] extent refs 1 gen 93 flags 2 [ 1563.358524] ref#0: tree block backref root 18446744073709551607 [ 1563.358525] item 73 key (7986913280 169 0) itemoff 13841 itemsize 33 [ 1563.358526] extent refs 1 gen 93 flags 2 [ 1563.358527] ref#0: tree block backref root 18446744073709551607 [ 1563.358529] item 74 key (7986929664 169 0) itemoff 13808 itemsize 33 [ 1563.358530] extent refs 1 gen 93 flags 2 [ 1563.358530] ref#0: tree block backref root 2 [ 1563.358532] item 75 key (7986946048 169 0) itemoff 13775 itemsize 33 [ 1563.358533] extent refs 1 gen 93 flags 2 [ 1563.358534] ref#0: tree block backref root 2 [ 1563.358535] item 76 key (7986962432 169 0) itemoff 13742 itemsize 33 [ 1563.358536] extent refs 1 gen 93 flags 2 [ 1563.358537] ref#0: tree block backref root 2 [ 1563.358539] item 77 key (7986978816 169 0) itemoff 13709 itemsize 33 [ 1563.358540] extent refs 1 gen 93 flags 2 [ 1563.358540] ref#0: tree block backref root 18446744073709551607 [ 1563.358542] item 78 key (7986995200 169 0) itemoff 13676 itemsize 33 [ 1563.358543] extent refs 1 gen 93 flags 2 [ 1563.358544] ref#0: tree block backref root 2 [ 1563.358545] item 79 key (7987011584 169 0) itemoff 13643 itemsize 33 [ 1563.358546] extent refs 1 gen 93 flags 2 [ 1563.358547] ref#0: tree block backref root 2 [ 1563.358548] item 80 key (7987027968 169 0) itemoff 13610 itemsize 33 [ 1563.358549] extent refs 1 gen 93 flags 2 [ 1563.358550] ref#0: tree block backref root 2 [ 1563.358552] item 81 key (7987044352 169 0) itemoff 13577 itemsize 33 [ 1563.358553] extent refs 1 gen 93 flags 2 [ 1563.358553] ref#0: tree block backref root 18446744073709551607 [ 1563.358555] item 82 key (7987060736 169 0) itemoff 13544 itemsize 33 [ 1563.358556] extent refs 1 gen 93 flags 2 [ 1563.358557] ref#0: tree block backref root 2 [ 1563.358558] item 83 key (7987077120 169 0) itemoff 13511 itemsize 33 [ 1563.358559] extent refs 1 gen 93 flags 2 [ 1563.358560] ref#0: tree block backref root 7 [ 1563.358562] item 84 key (7987093504 169 0) itemoff 13478 itemsize 33 [ 1563.358563] extent refs 1 gen 93 flags 2 [ 1563.358563] ref#0: tree block backref root 18446744073709551607 [ 1563.358565] item 85 key (7987109888 169 0) itemoff 13445 itemsize 33 [ 1563.358566] extent refs 1 gen 93 flags 2 [ 1563.358567] ref#0: tree block backref root 7 [ 1563.358568] item 86 key (7987126272 169 0) itemoff 13412 itemsize 33 [ 1563.358569] extent refs 1 gen 93 flags 2 [ 1563.358570] ref#0: tree block backref root 7 [ 1563.358571] item 87 key (7987142656 169 0) itemoff 13379 itemsize 33 [ 1563.358572] extent refs 1 gen 93 flags 2 [ 1563.358573] ref#0: tree block backref root 7 [ 1563.358575] item 88 key (7987159040 169 0) itemoff 13346 itemsize 33 [ 1563.358576] extent refs 1 gen 93 flags 2 [ 1563.358576] ref#0: tree block backref root 18446744073709551607 [ 1563.358578] item 89 key (7987175424 169 0) itemoff 13313 itemsize 33 [ 1563.358579] extent refs 1 gen 93 flags 2 [ 1563.358580] ref#0: tree block backref root 18446744073709551607 [ 1563.358581] item 90 key (7987191808 169 0) itemoff 13280 itemsize 33 [ 1563.358582] extent refs 1 gen 93 flags 2 [ 1563.358583] ref#0: tree block backref root 18446744073709551607 [ 1563.358585] item 91 key (7987208192 169 0) itemoff 13247 itemsize 33 [ 1563.358586] extent refs 1 gen 93 flags 2 [ 1563.358587] ref#0: tree block backref root 2 [ 1563.358588] item 92 key (7987224576 169 0) itemoff 13214 itemsize 33 [ 1563.358589] extent refs 1 gen 93 flags 2 [ 1563.358590] ref#0: tree block backref root 2 [ 1563.358591] item 93 key (7987240960 169 0) itemoff 13181 itemsize 33 [ 1563.358592] extent refs 1 gen 93 flags 2 [ 1563.358593] ref#0: tree block backref root 2 [ 1563.358595] item 94 key (7987257344 169 0) itemoff 13148 itemsize 33 [ 1563.358596] extent refs 1 gen 93 flags 2 [ 1563.358596] ref#0: tree block backref root 18446744073709551607 [ 1563.358598] item 95 key (7987273728 169 0) itemoff 13115 itemsize 33 [ 1563.358599] extent refs 1 gen 93 flags 2 [ 1563.358600] ref#0: tree block backref root 2 [ 1563.358601] item 96 key (7987290112 169 0) itemoff 13082 itemsize 33 [ 1563.358602] extent refs 1 gen 93 flags 2 [ 1563.358603] ref#0: tree block backref root 2 [ 1563.358605] item 97 key (7987306496 169 0) itemoff 13049 itemsize 33 [ 1563.358606] extent refs 1 gen 93 flags 2 [ 1563.358606] ref#0: tree block backref root 18446744073709551607 [ 1563.358608] item 98 key (7987322880 169 0) itemoff 13016 itemsize 33 [ 1563.358609] extent refs 1 gen 93 flags 2 [ 1563.358610] ref#0: tree block backref root 2 [ 1563.358611] item 99 key (7987339264 169 0) itemoff 12983 itemsize 33 [ 1563.358612] extent refs 1 gen 93 flags 2 [ 1563.358613] ref#0: tree block backref root 7 [ 1563.358614] item 100 key (7987355648 169 0) itemoff 12950 itemsize 33 [ 1563.358615] extent refs 1 gen 93 flags 2 [ 1563.358616] ref#0: tree block backref root 18446744073709551607 [ 1563.358618] item 101 key (7987372032 169 0) itemoff 12917 itemsize 33 [ 1563.358619] extent refs 1 gen 93 flags 2 [ 1563.358620] ref#0: tree block backref root 7 [ 1563.358621] item 102 key (7987388416 169 0) itemoff 12884 itemsize 33 [ 1563.358622] extent refs 1 gen 93 flags 2 [ 1563.358623] ref#0: tree block backref root 7 [ 1563.358624] item 103 key (7987404800 169 0) itemoff 12851 itemsize 33 [ 1563.358625] extent refs 1 gen 93 flags 2 [ 1563.358626] ref#0: tree block backref root 7 [ 1563.358628] item 104 key (7987421184 169 0) itemoff 12818 itemsize 33 [ 1563.358629] extent refs 1 gen 93 flags 2 [ 1563.358629] ref#0: tree block backref root 18446744073709551607 [ 1563.358631] item 105 key (7987437568 169 0) itemoff 12785 itemsize 33 [ 1563.358632] extent refs 1 gen 93 flags 2 [ 1563.358633] ref#0: tree block backref root 18446744073709551607 [ 1563.358634] item 106 key (7987453952 169 0) itemoff 12752 itemsize 33 [ 1563.358635] extent refs 1 gen 93 flags 2 [ 1563.358636] ref#0: tree block backref root 18446744073709551607 [ 1563.358638] item 107 key (7987470336 169 0) itemoff 12719 itemsize 33 [ 1563.358639] extent refs 1 gen 93 flags 2 [ 1563.358640] ref#0: tree block backref root 2 [ 1563.358641] item 108 key (7987486720 169 0) itemoff 12686 itemsize 33 [ 1563.358642] extent refs 1 gen 93 flags 2 [ 1563.358643] ref#0: tree block backref root 2 [ 1563.358644] item 109 key (7987503104 169 0) itemoff 12653 itemsize 33 [ 1563.358645] extent refs 1 gen 93 flags 2 [ 1563.358646] ref#0: tree block backref root 18446744073709551607 [ 1563.358648] item 110 key (7987519488 169 0) itemoff 12620 itemsize 33 [ 1563.358649] extent refs 1 gen 93 flags 2 [ 1563.358649] ref#0: tree block backref root 2 [ 1563.358651] item 111 key (7987535872 169 0) itemoff 12587 itemsize 33 [ 1563.358652] extent refs 1 gen 93 flags 2 [ 1563.358653] ref#0: tree block backref root 2 [ 1563.358654] item 112 key (7987552256 169 0) itemoff 12554 itemsize 33 [ 1563.358655] extent refs 1 gen 93 flags 2 [ 1563.358656] ref#0: tree block backref root 18446744073709551607 [ 1563.358658] item 113 key (7987568640 169 0) itemoff 12521 itemsize 33 [ 1563.358659] extent refs 1 gen 93 flags 2 [ 1563.358659] ref#0: tree block backref root 2 [ 1563.358661] item 114 key (7987585024 169 0) itemoff 12488 itemsize 33 [ 1563.358662] extent refs 1 gen 93 flags 2 [ 1563.358663] ref#0: tree block backref root 2 [ 1563.358664] item 115 key (7987601408 169 0) itemoff 12455 itemsize 33 [ 1563.358665] extent refs 1 gen 93 flags 2 [ 1563.358666] ref#0: tree block backref root 18446744073709551607 [ 1563.358668] item 116 key (7987617792 169 0) itemoff 12422 itemsize 33 [ 1563.358669] extent refs 1 gen 93 flags 2 [ 1563.358669] ref#0: tree block backref root 7 [ 1563.358671] item 117 key (7987634176 169 0) itemoff 12389 itemsize 33 [ 1563.358672] extent refs 1 gen 93 flags 2 [ 1563.358673] ref#0: tree block backref root 7 [ 1563.358674] item 118 key (7987650560 169 0) itemoff 12356 itemsize 33 [ 1563.358675] extent refs 1 gen 93 flags 2 [ 1563.358676] ref#0: tree block backref root 7 [ 1563.358677] item 119 key (7987666944 169 0) itemoff 12323 itemsize 33 [ 1563.358678] extent refs 1 gen 93 flags 2 [ 1563.358679] ref#0: tree block backref root 7 [ 1563.358681] item 120 key (7987683328 169 0) itemoff 12290 itemsize 33 [ 1563.358682] extent refs 1 gen 93 flags 2 [ 1563.358682] ref#0: tree block backref root 18446744073709551607 [ 1563.358684] item 121 key (7987699712 169 0) itemoff 12257 itemsize 33 [ 1563.358685] extent refs 1 gen 93 flags 2 [ 1563.358686] ref#0: tree block backref root 18446744073709551607 [ 1563.358687] item 122 key (7987716096 169 0) itemoff 12224 itemsize 33 [ 1563.358688] extent refs 1 gen 93 flags 2 [ 1563.358689] ref#0: tree block backref root 18446744073709551607 [ 1563.358691] item 123 key (7987732480 169 0) itemoff 12191 itemsize 33 [ 1563.358692] extent refs 1 gen 93 flags 2 [ 1563.358693] ref#0: tree block backref root 18446744073709551607 [ 1563.358694] item 124 key (7987748864 169 0) itemoff 12158 itemsize 33 [ 1563.358695] extent refs 1 gen 93 flags 2 [ 1563.358696] ref#0: tree block backref root 2 [ 1563.358697] item 125 key (7987765248 169 0) itemoff 12125 itemsize 33 [ 1563.358699] extent refs 1 gen 93 flags 2 [ 1563.358699] ref#0: tree block backref root 2 [ 1563.358701] item 126 key (7987781632 169 0) itemoff 12092 itemsize 33 [ 1563.358702] extent refs 1 gen 93 flags 2 [ 1563.358703] ref#0: tree block backref root 2 [ 1563.358704] item 127 key (7987798016 169 0) itemoff 12059 itemsize 33 [ 1563.358705] extent refs 1 gen 93 flags 2 [ 1563.358706] ref#0: tree block backref root 2 [ 1563.358707] item 128 key (7987814400 169 0) itemoff 12026 itemsize 33 [ 1563.358708] extent refs 1 gen 93 flags 2 [ 1563.358709] ref#0: tree block backref root 2 [ 1563.358711] item 129 key (7987830784 169 0) itemoff 11993 itemsize 33 [ 1563.358712] extent refs 1 gen 93 flags 2 [ 1563.358712] ref#0: tree block backref root 18446744073709551607 [ 1563.358714] item 130 key (7987847168 169 0) itemoff 11960 itemsize 33 [ 1563.358715] extent refs 1 gen 93 flags 2 [ 1563.358716] ref#0: tree block backref root 18446744073709551607 [ 1563.358717] item 131 key (7987863552 169 0) itemoff 11927 itemsize 33 [ 1563.358718] extent refs 1 gen 93 flags 2 [ 1563.358719] ref#0: tree block backref root 2 [ 1563.358721] item 132 key (7987879936 169 0) itemoff 11894 itemsize 33 [ 1563.358722] extent refs 1 gen 93 flags 2 [ 1563.358722] ref#0: tree block backref root 2 [ 1563.358724] item 133 key (7987896320 169 0) itemoff 11861 itemsize 33 [ 1563.358725] extent refs 1 gen 93 flags 2 [ 1563.358726] ref#0: tree block backref root 7 [ 1563.358727] item 134 key (7987912704 169 0) itemoff 11828 itemsize 33 [ 1563.358728] extent refs 1 gen 93 flags 2 [ 1563.358729] ref#0: tree block backref root 7 [ 1563.358730] item 135 key (7987929088 169 0) itemoff 11795 itemsize 33 [ 1563.358731] extent refs 1 gen 93 flags 2 [ 1563.358732] ref#0: tree block backref root 18446744073709551607 [ 1563.358734] item 136 key (7987945472 169 0) itemoff 11762 itemsize 33 [ 1563.358735] extent refs 1 gen 93 flags 2 [ 1563.358735] ref#0: tree block backref root 7 [ 1563.358737] item 137 key (7987961856 169 0) itemoff 11729 itemsize 33 [ 1563.358738] extent refs 1 gen 93 flags 2 [ 1563.358739] ref#0: tree block backref root 7 [ 1563.358740] item 138 key (7987978240 169 0) itemoff 11696 itemsize 33 [ 1563.358741] extent refs 1 gen 93 flags 2 [ 1563.358742] ref#0: tree block backref root 18446744073709551607 [ 1563.358744] item 139 key (7987994624 169 0) itemoff 11663 itemsize 33 [ 1563.358745] extent refs 1 gen 93 flags 2 [ 1563.358745] ref#0: tree block backref root 18446744073709551607 [ 1563.358747] item 140 key (7988011008 169 0) itemoff 11630 itemsize 33 [ 1563.358748] extent refs 1 gen 93 flags 2 [ 1563.358749] ref#0: tree block backref root 18446744073709551607 [ 1563.358750] item 141 key (7988027392 169 0) itemoff 11597 itemsize 33 [ 1563.358751] extent refs 1 gen 93 flags 2 [ 1563.358752] ref#0: tree block backref root 2 [ 1563.358754] item 142 key (7988043776 169 0) itemoff 11564 itemsize 33 [ 1563.358755] extent refs 1 gen 93 flags 2 [ 1563.358755] ref#0: tree block backref root 18446744073709551607 [ 1563.358757] item 143 key (7988060160 169 0) itemoff 11531 itemsize 33 [ 1563.358758] extent refs 1 gen 93 flags 2 [ 1563.358759] ref#0: tree block backref root 2 [ 1563.358760] item 144 key (7988076544 169 0) itemoff 11498 itemsize 33 [ 1563.358761] extent refs 1 gen 93 flags 2 [ 1563.358762] ref#0: tree block backref root 2 [ 1563.358764] item 145 key (7988092928 169 0) itemoff 11465 itemsize 33 [ 1563.358765] extent refs 1 gen 93 flags 2 [ 1563.358765] ref#0: tree block backref root 2 [ 1563.358767] item 146 key (7988109312 169 0) itemoff 11432 itemsize 33 [ 1563.358768] extent refs 1 gen 93 flags 2 [ 1563.358769] ref#0: tree block backref root 2 [ 1563.358770] item 147 key (7988125696 169 0) itemoff 11399 itemsize 33 [ 1563.358771] extent refs 1 gen 93 flags 2 [ 1563.358772] ref#0: tree block backref root 2 [ 1563.358773] item 148 key (7988142080 169 0) itemoff 11366 itemsize 33 [ 1563.358774] extent refs 1 gen 93 flags 2 [ 1563.358775] ref#0: tree block backref root 2 [ 1563.358777] item 149 key (7988158464 169 0) itemoff 11333 itemsize 33 [ 1563.358778] extent refs 1 gen 93 flags 2 [ 1563.358778] ref#0: tree block backref root 18446744073709551607 [ 1563.358780] item 150 key (7988174848 169 0) itemoff 11300 itemsize 33 [ 1563.358781] extent refs 1 gen 93 flags 2 [ 1563.358782] ref#0: tree block backref root 2 [ 1563.358783] item 151 key (7988191232 169 0) itemoff 11267 itemsize 33 [ 1563.358784] extent refs 1 gen 93 flags 2 [ 1563.358785] ref#0: tree block backref root 2 [ 1563.358786] item 152 key (7988207616 169 0) itemoff 11234 itemsize 33 [ 1563.358787] extent refs 1 gen 93 flags 2 [ 1563.358788] ref#0: tree block backref root 2 [ 1563.358790] item 153 key (7988224000 169 0) itemoff 11201 itemsize 33 [ 1563.358791] extent refs 1 gen 93 flags 2 [ 1563.358791] ref#0: tree block backref root 2 [ 1563.358793] item 154 key (7988240384 169 0) itemoff 11168 itemsize 33 [ 1563.358794] extent refs 1 gen 93 flags 2 [ 1563.358795] ref#0: tree block backref root 2 [ 1563.358796] item 155 key (7988256768 169 0) itemoff 11135 itemsize 33 [ 1563.358797] extent refs 1 gen 93 flags 2 [ 1563.358798] ref#0: tree block backref root 2 [ 1563.358799] item 156 key (7988273152 169 0) itemoff 11102 itemsize 33 [ 1563.358800] extent refs 1 gen 93 flags 2 [ 1563.358801] ref#0: tree block backref root 18446744073709551607 [ 1563.358803] item 157 key (7988289536 169 0) itemoff 11069 itemsize 33 [ 1563.358804] extent refs 1 gen 93 flags 2 [ 1563.358805] ref#0: tree block backref root 2 [ 1563.358806] item 158 key (7988305920 169 0) itemoff 11036 itemsize 33 [ 1563.358807] extent refs 1 gen 93 flags 2 [ 1563.358808] ref#0: tree block backref root 2 [ 1563.358809] item 159 key (7988322304 169 0) itemoff 11003 itemsize 33 [ 1563.358810] extent refs 1 gen 93 flags 2 [ 1563.358811] ref#0: tree block backref root 7 [ 1563.358813] item 160 key (7988338688 169 0) itemoff 10970 itemsize 33 [ 1563.358814] extent refs 1 gen 93 flags 2 [ 1563.358814] ref#0: tree block backref root 7 [ 1563.358816] item 161 key (7988355072 169 0) itemoff 10937 itemsize 33 [ 1563.358817] extent refs 1 gen 93 flags 2 [ 1563.358818] ref#0: tree block backref root 7 [ 1563.358819] item 162 key (7988371456 169 0) itemoff 10904 itemsize 33 [ 1563.358820] extent refs 1 gen 93 flags 2 [ 1563.358821] ref#0: tree block backref root 7 [ 1563.358823] item 163 key (7988387840 169 0) itemoff 10871 itemsize 33 [ 1563.358824] extent refs 1 gen 93 flags 2 [ 1563.358824] ref#0: tree block backref root 7 [ 1563.358826] item 164 key (7988404224 169 0) itemoff 10838 itemsize 33 [ 1563.358827] extent refs 1 gen 93 flags 2 [ 1563.358827] ref#0: tree block backref root 7 [ 1563.358829] item 165 key (7988420608 169 0) itemoff 10805 itemsize 33 [ 1563.358830] extent refs 1 gen 93 flags 2 [ 1563.358831] ref#0: tree block backref root 7 [ 1563.358832] item 166 key (7988436992 169 0) itemoff 10772 itemsize 33 [ 1563.358833] extent refs 1 gen 93 flags 2 [ 1563.358834] ref#0: tree block backref root 7 [ 1563.358836] item 167 key (7988453376 169 0) itemoff 10739 itemsize 33 [ 1563.358837] extent refs 1 gen 93 flags 2 [ 1563.358837] ref#0: tree block backref root 18446744073709551607 [ 1563.358839] item 168 key (7988469760 169 0) itemoff 10706 itemsize 33 [ 1563.358840] extent refs 1 gen 93 flags 2 [ 1563.358841] ref#0: tree block backref root 18446744073709551607 [ 1563.358842] item 169 key (7988486144 169 0) itemoff 10673 itemsize 33 [ 1563.358843] extent refs 1 gen 93 flags 2 [ 1563.358844] ref#0: tree block backref root 2 [ 1563.358846] item 170 key (7988502528 169 0) itemoff 10640 itemsize 33 [ 1563.358847] extent refs 1 gen 93 flags 2 [ 1563.358847] ref#0: tree block backref root 2 [ 1563.358849] item 171 key (7988518912 169 0) itemoff 10607 itemsize 33 [ 1563.358850] extent refs 1 gen 93 flags 2 [ 1563.358851] ref#0: tree block backref root 2 [ 1563.358852] item 172 key (7988535296 169 0) itemoff 10574 itemsize 33 [ 1563.358853] extent refs 1 gen 93 flags 2 [ 1563.358854] ref#0: tree block backref root 2 [ 1563.358855] item 173 key (7988568064 169 0) itemoff 10541 itemsize 33 [ 1563.358856] extent refs 1 gen 93 flags 2 [ 1563.358857] ref#0: tree block backref root 2 [ 1563.358859] item 174 key (7988600832 169 0) itemoff 10508 itemsize 33 [ 1563.358860] extent refs 1 gen 93 flags 2 [ 1563.358860] ref#0: tree block backref root 2 [ 1563.358862] item 175 key (7988617216 169 0) itemoff 10475 itemsize 33 [ 1563.358863] extent refs 1 gen 93 flags 2 [ 1563.358864] ref#0: tree block backref root 2 [ 1563.358865] item 176 key (7988633600 169 0) itemoff 10442 itemsize 33 [ 1563.358866] extent refs 1 gen 93 flags 2 [ 1563.358867] ref#0: tree block backref root 7 [ 1563.358868] item 177 key (7988649984 169 1) itemoff 10409 itemsize 33 [ 1563.358869] extent refs 1 gen 94 flags 2 [ 1563.358870] ref#0: tree block backref root 18446744073709551607 [ 1563.358872] item 178 key (7988666368 169 0) itemoff 10376 itemsize 33 [ 1563.358873] extent refs 1 gen 94 flags 2 [ 1563.358874] ref#0: tree block backref root 1 [ 1563.358875] item 179 key (7988682752 169 1) itemoff 10343 itemsize 33 [ 1563.358876] extent refs 1 gen 94 flags 2 [ 1563.358877] ref#0: tree block backref root 2 [ 1563.358878] item 180 key (7988699136 169 0) itemoff 10310 itemsize 33 [ 1563.358879] extent refs 1 gen 94 flags 2 [ 1563.358880] ref#0: tree block backref root 2 [ 1563.358882] item 181 key (7988715520 169 0) itemoff 10277 itemsize 33 [ 1563.358883] extent refs 1 gen 94 flags 2 [ 1563.358883] ref#0: tree block backref root 2 [ 1563.358885] item 182 key (7988731904 169 0) itemoff 10244 itemsize 33 [ 1563.358886] extent refs 1 gen 94 flags 2 [ 1563.358887] ref#0: tree block backref root 2 [ 1563.358888] item 183 key (7988748288 169 0) itemoff 10211 itemsize 33 [ 1563.358889] extent refs 1 gen 94 flags 2 [ 1563.358890] ref#0: tree block backref root 2 [ 1563.358891] item 184 key (7988764672 169 1) itemoff 10178 itemsize 33 [ 1563.358892] extent refs 1 gen 94 flags 2 [ 1563.358893] ref#0: tree block backref root 7 [ 1563.358895] item 185 key (7988781056 169 0) itemoff 10145 itemsize 33 [ 1563.358896] extent refs 1 gen 94 flags 2 [ 1563.358896] ref#0: tree block backref root 7 [ 1563.358898] item 186 key (7988797440 169 0) itemoff 10112 itemsize 33 [ 1563.358899] extent refs 1 gen 94 flags 2 [ 1563.358900] ref#0: tree block backref root 2 [ 1563.358901] item 187 key (7988813824 169 0) itemoff 10079 itemsize 33 [ 1563.358902] extent refs 1 gen 94 flags 2 [ 1563.358903] ref#0: tree block backref root 2 [ 1563.358904] item 188 key (8162107392 168 69632) itemoff 10026 itemsize 53 [ 1563.358905] extent refs 1 gen 88 flags 1 [ 1563.358906] ref#0: extent data backref root 5 objectid 18748 offset 42860544 count 1 [ 1563.358909] item 189 key (8162107392 192 872415232) itemoff 10002 itemsize 24 [ 1563.358910] block group used 510111744 chunk_objectid 256 flags 1 [ 1563.358911] item 190 key (8162177024 168 61440) itemoff 9949 itemsize 53 [ 1563.358912] extent refs 1 gen 88 flags 1 [ 1563.358913] ref#0: extent data backref root 5 objectid 18748 offset 42991616 count 1 [ 1563.358915] item 191 key (8162238464 168 65536) itemoff 9896 itemsize 53 [ 1563.358916] extent refs 1 gen 88 flags 1 [ 1563.358917] ref#0: extent data backref root 5 objectid 18748 offset 43122688 count 1 [ 1563.358919] item 192 key (8162304000 168 69632) itemoff 9843 itemsize 53 [ 1563.358920] extent refs 1 gen 88 flags 1 [ 1563.358920] ref#0: extent data backref root 5 objectid 18748 offset 43253760 count 1 [ 1563.358922] item 193 key (8162373632 168 65536) itemoff 9790 itemsize 53 [ 1563.358923] extent refs 1 gen 88 flags 1 [ 1563.358924] ref#0: extent data backref root 5 objectid 18748 offset 43384832 count 1 [ 1563.358926] item 194 key (8162439168 168 69632) itemoff 9737 itemsize 53 [ 1563.358927] extent refs 1 gen 88 flags 1 [ 1563.358928] ref#0: extent data backref root 5 objectid 18748 offset 43515904 count 1 [ 1563.358930] item 195 key (8162508800 168 65536) itemoff 9684 itemsize 53 [ 1563.358931] extent refs 1 gen 88 flags 1 [ 1563.358931] ref#0: extent data backref root 5 objectid 18748 offset 43646976 count 1 [ 1563.358933] item 196 key (8162574336 168 69632) itemoff 9631 itemsize 53 [ 1563.358934] extent refs 1 gen 88 flags 1 [ 1563.358935] ref#0: extent data backref root 5 objectid 18748 offset 43778048 count 1 [ 1563.358937] item 197 key (8162643968 168 69632) itemoff 9578 itemsize 53 [ 1563.358938] extent refs 1 gen 88 flags 1 [ 1563.358938] ref#0: extent data backref root 5 objectid 18748 offset 43909120 count 1 [ 1563.358940] item 198 key (8162713600 168 69632) itemoff 9525 itemsize 53 [ 1563.358941] extent refs 1 gen 88 flags 1 [ 1563.358942] ref#0: extent data backref root 5 objectid 18748 offset 44040192 count 1 [ 1563.358944] item 199 key (8162783232 168 65536) itemoff 9472 itemsize 53 [ 1563.358945] extent refs 1 gen 88 flags 1 [ 1563.358946] ref#0: extent data backref root 5 objectid 18748 offset 44171264 count 1 [ 1563.358948] item 200 key (8162848768 168 69632) itemoff 9419 itemsize 53 [ 1563.358949] extent refs 1 gen 88 flags 1 [ 1563.358949] ref#0: extent data backref root 5 objectid 18748 offset 44302336 count 1 [ 1563.358951] item 201 key (8162918400 168 65536) itemoff 9366 itemsize 53 [ 1563.358952] extent refs 1 gen 88 flags 1 [ 1563.358953] ref#0: extent data backref root 5 objectid 18748 offset 44433408 count 1 [ 1563.358955] item 202 key (8162983936 168 69632) itemoff 9313 itemsize 53 [ 1563.358956] extent refs 1 gen 88 flags 1 [ 1563.358956] ref#0: extent data backref root 5 objectid 18748 offset 44564480 count 1 [ 1563.358958] item 203 key (8163053568 168 69632) itemoff 9260 itemsize 53 [ 1563.358959] extent refs 1 gen 88 flags 1 [ 1563.358960] ref#0: extent data backref root 5 objectid 18748 offset 44695552 count 1 [ 1563.358962] item 204 key (8163123200 168 61440) itemoff 9207 itemsize 53 [ 1563.358963] extent refs 1 gen 88 flags 1 [ 1563.358964] ref#0: extent data backref root 5 objectid 18748 offset 44826624 count 1 [ 1563.358966] item 205 key (8163184640 168 65536) itemoff 9154 itemsize 53 [ 1563.358967] extent refs 1 gen 88 flags 1 [ 1563.358967] ref#0: extent data backref root 5 objectid 18748 offset 44957696 count 1 [ 1563.358969] item 206 key (8163250176 168 69632) itemoff 9101 itemsize 53 [ 1563.358970] extent refs 1 gen 88 flags 1 [ 1563.358971] ref#0: extent data backref root 5 objectid 18748 offset 45088768 count 1 [ 1563.358973] item 207 key (8163319808 168 65536) itemoff 9048 itemsize 53 [ 1563.358974] extent refs 1 gen 88 flags 1 [ 1563.358975] ref#0: extent data backref root 5 objectid 18748 offset 45219840 count 1 [ 1563.358976] item 208 key (8163385344 168 61440) itemoff 8995 itemsize 53 [ 1563.358977] extent refs 1 gen 88 flags 1 [ 1563.358978] ref#0: extent data backref root 5 objectid 18748 offset 45350912 count 1 [ 1563.358980] item 209 key (8163446784 168 61440) itemoff 8942 itemsize 53 [ 1563.358981] extent refs 1 gen 88 flags 1 [ 1563.358982] ref#0: extent data backref root 5 objectid 18748 offset 45481984 count 1 [ 1563.358984] item 210 key (8163508224 168 65536) itemoff 8889 itemsize 53 [ 1563.358985] extent refs 1 gen 88 flags 1 [ 1563.358985] ref#0: extent data backref root 5 objectid 18748 offset 45613056 count 1 [ 1563.358987] item 211 key (8163573760 168 69632) itemoff 8836 itemsize 53 [ 1563.358988] extent refs 1 gen 88 flags 1 [ 1563.358989] ref#0: extent data backref root 5 objectid 18748 offset 45744128 count 1 [ 1563.358991] item 212 key (8163643392 168 65536) itemoff 8783 itemsize 53 [ 1563.358992] extent refs 1 gen 88 flags 1 [ 1563.358993] ref#0: extent data backref root 5 objectid 18748 offset 45875200 count 1 [ 1563.358995] BTRFS error (device sda7): eb 7989321728 invalid extent inline ref type 182 [ 1563.358996] ------------[ cut here ]------------ [ 1563.359005] WARNING: CPU: 14 PID: 2930 at 0xffffffff9f231766 [ 1563.359007] Modules linked in: xfs md5 fuse cfg80211 rfkill dm_crypt nhpoly1305_sse2 nhpoly1305 chacha_x86_64 chacha_generic adiantum poly1305_generic algif_skcipher uas usb_storage input_leds led_class joydev hid_generic usbhid hid dm_mod amd64_edac_mod edac_mce_amd crct10dif_pclmul crc32_generic crc32_pclmul raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx ghash_generic gf128mul gcm xts md_mod ctr ext4 cbc crc16 mbcache jbd2 ecb amdgpu evdev snd_hda_codec_hdmi ohci_pci gpu_sched i2c_algo_bit ttm drm_kms_helper snd_hda_intel cfbfillrect snd_hda_codec syscopyarea cfbimgblt snd_hwdep sysfillrect aesni_intel sysimgblt snd_hda_core fb_sys_fops cfbcopyarea aes_x86_64 snd_pcm drm sr_mod aes_generic xhci_pci glue_helper ohci_hcd ehci_pci drm_panel_orientation_quirks crypto_simd xhci_hcd cdrom ipmi_si snd_timer ehci_hcd k10temp i2c_piix4 cryptd fam15h_power fb e1000e snd usbcore font fbdev backlight soundcore usb_common acpi_cpufreq button processor lzo zstd nfsd zram sg [ 1563.359047] zsmalloc jc42 auth_rpcgss hwmon lockd grace sunrpc [ 1563.359055] CPU: 14 PID: 2930 Comm: btrfs Not tainted 5.3.9-gentoo #2 [ 1563.359056] Hardware name: Supermicro H8SGL/H8SGL, BIOS 3.5b 03/18/2016 [ 1563.359058] RIP: 0010:0xffffffff9f231766 [ 1563.359060] Code: 4c 89 ef e8 3c b1 00 00 49 8b 7d 18 89 d9 49 8b 55 00 48 c7 c6 a0 8a ab 9f e8 3c 06 ff ff 48 c7 c7 e8 78 a9 9f e8 ec 52 e5 ff <0f> 0b 31 db eb 94 0f 1f 40 00 41 57 41 56 4d 89 c7 41 55 41 54 49 [ 1563.359062] RSP: 0018:ffffa2408c883738 EFLAGS: 00010246 [ 1563.359063] RAX: 0000000000000024 RBX: 00000000000000b6 RCX: 0000000000000006 [ 1563.359064] RDX: 0000000000000000 RSI: 0000000000000096 RDI: ffff95a366b919d0 [ 1563.359066] RBP: 0000000000003fd6 R08: 00000000000006b5 R09: 0000000000000007 [ 1563.359067] R10: 0000000000000033 R11: ffffa2408c8835e8 R12: 0000000000000001 [ 1563.359068] R13: ffff959f649c8420 R14: 00000000000000b6 R15: ffff959f649c8420 [ 1563.359069] FS: 00007fdf66c9d8c0(0000) GS:ffff95a366b80000(0000) knlGS:0000000000000000 [ 1563.359071] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1563.359072] CR2: 000007c95effabb0 CR3: 00000007ba2e8000 CR4: 00000000000406e0 [ 1563.359073] Call Trace: [ 1563.359077] ? 0xffffffff9f231b54 [ 1563.359079] ? 0xffffffff9f23933e [ 1563.359080] ? 0xffffffff9f2a2c32 [ 1563.359081] ? 0xffffffff9f23a3fd [ 1563.359082] ? 0xffffffff9f083f9c [ 1563.359083] ? 0xffffffff9f23aba9 [ 1563.359084] ? 0xffffffff9f24c1f5 [ 1563.359085] ? 0xffffffff9f2a3deb [ 1563.359086] ? 0xffffffff9f2aa84d [ 1563.359087] ? 0xffffffff9f2aaf17 [ 1563.359088] ? 0xffffffff9f278d94 [ 1563.359089] ? 0xffffffff9f2795f5 [ 1563.359090] ? 0xffffffff9f284188 [ 1563.359091] ? 0xffffffff9f1a0a46 [ 1563.359092] ? 0xffffffff9f28a594 [ 1563.359093] ? 0xffffffff9f154620 [ 1563.359094] ? 0xffffffff9f189cdf [ 1563.359094] ? 0xffffffff9f13a341 [ 1563.359095] ? 0xffffffff9f1aa377 [ 1563.359096] ? 0xffffffff9f1aa377 [ 1563.359097] ? 0xffffffff9f1aa985 [ 1563.359098] ? 0xffffffff9f1aa9d1 [ 1563.359099] ? 0xffffffff9f001803 [ 1563.359100] ? 0xffffffff9f60007c [ 1563.359101] ---[ end trace e181ff31309a0c2e ]--- [ 1563.359103] ------------[ cut here ]------------ [ 1563.359104] BTRFS: Transaction aborted (error -117) [ 1563.359108] WARNING: CPU: 14 PID: 2930 at 0xffffffff9f2394dd [ 1563.359108] Modules linked in: xfs md5 fuse cfg80211 rfkill dm_crypt nhpoly1305_sse2 nhpoly1305 chacha_x86_64 chacha_generic adiantum poly1305_generic algif_skcipher uas usb_storage input_leds led_class joydev hid_generic usbhid hid dm_mod amd64_edac_mod edac_mce_amd crct10dif_pclmul crc32_generic crc32_pclmul raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx ghash_generic gf128mul gcm xts md_mod ctr ext4 cbc crc16 mbcache jbd2 ecb amdgpu evdev snd_hda_codec_hdmi ohci_pci gpu_sched i2c_algo_bit ttm drm_kms_helper snd_hda_intel cfbfillrect snd_hda_codec syscopyarea cfbimgblt snd_hwdep sysfillrect aesni_intel sysimgblt snd_hda_core fb_sys_fops cfbcopyarea aes_x86_64 snd_pcm drm sr_mod aes_generic xhci_pci glue_helper ohci_hcd ehci_pci drm_panel_orientation_quirks crypto_simd xhci_hcd cdrom ipmi_si snd_timer ehci_hcd k10temp i2c_piix4 cryptd fam15h_power fb e1000e snd usbcore font fbdev backlight soundcore usb_common acpi_cpufreq button processor lzo zstd nfsd zram sg [ 1563.359128] zsmalloc jc42 auth_rpcgss hwmon lockd grace sunrpc [ 1563.359133] CPU: 14 PID: 2930 Comm: btrfs Tainted: G W 5.3.9-gentoo #2 [ 1563.359134] Hardware name: Supermicro H8SGL/H8SGL, BIOS 3.5b 03/18/2016 [ 1563.359135] RIP: 0010:0xffffffff9f2394dd [ 1563.359137] Code: 50 f0 48 0f ba a8 f8 0b 00 00 02 0f 82 b9 2f 00 00 41 83 ff fb 0f 84 af 2f 00 00 44 89 fe 48 c7 c7 70 87 ab 9f e8 47 55 e0 ff <0f> 0b e9 99 2f 00 00 48 83 7c 24 48 00 0f 85 66 04 00 00 44 8b 44 [ 1563.359138] RSP: 0018:ffffa2408c883838 EFLAGS: 00010282 [ 1563.359140] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000006 [ 1563.359141] RDX: 0000000000000007 RSI: 0000000000000082 RDI: ffff95a366b919d0 [ 1563.359142] RBP: 00000001dbfaa000 R08: 00000000000006e1 R09: 0000000000000007 [ 1563.359143] R10: 0000000000000000 R11: 0000000000000001 R12: ffff95a31b7479a0 [ 1563.359144] R13: 00000001dbfaa000 R14: fffffffffffffff8 R15: 00000000ffffff8b [ 1563.359146] FS: 00007fdf66c9d8c0(0000) GS:ffff95a366b80000(0000) knlGS:0000000000000000 [ 1563.359147] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1563.359148] CR2: 000007c95effabb0 CR3: 00000007ba2e8000 CR4: 00000000000406e0 [ 1563.359149] Call Trace: [ 1563.359150] ? 0xffffffff9f2a2c32 [ 1563.359151] ? 0xffffffff9f23a3fd [ 1563.359152] ? 0xffffffff9f083f9c [ 1563.359153] ? 0xffffffff9f23aba9 [ 1563.359154] ? 0xffffffff9f24c1f5 [ 1563.359155] ? 0xffffffff9f2a3deb [ 1563.359156] ? 0xffffffff9f2aa84d [ 1563.359157] ? 0xffffffff9f2aaf17 [ 1563.359158] ? 0xffffffff9f278d94 [ 1563.359159] ? 0xffffffff9f2795f5 [ 1563.359160] ? 0xffffffff9f284188 [ 1563.359161] ? 0xffffffff9f1a0a46 [ 1563.359162] ? 0xffffffff9f28a594 [ 1563.359163] ? 0xffffffff9f154620 [ 1563.359164] ? 0xffffffff9f189cdf [ 1563.359165] ? 0xffffffff9f13a341 [ 1563.359166] ? 0xffffffff9f1aa377 [ 1563.359167] ? 0xffffffff9f1aa377 [ 1563.359168] ? 0xffffffff9f1aa985 [ 1563.359168] ? 0xffffffff9f1aa9d1 [ 1563.359169] ? 0xffffffff9f001803 [ 1563.359170] ? 0xffffffff9f60007c [ 1563.359171] ---[ end trace e181ff31309a0c2f ]--- [ 1563.359174] BTRFS: error (device sda7) in __btrfs_free_extent:4860: errno=-117 unknown [ 1563.359175] BTRFS info (device sda7): forced readonly [ 1563.359178] BTRFS: error (device sda7) in btrfs_run_delayed_refs:2795: errno=-117 unknown [ 1563.361402] BTRFS info (device sda7): balance: ended with status: -30
Created attachment 285839 [details] kernel .config (x86-64, kernel 5.3.9)
Now with a full stacktrace from kernel 5.5-rc4, same partition (restored from a backup before) again at balancing: # mount -o compress=zstd:1 /dev/sda6 /mnt/mychroot/ # btrfs filesystem balance start /mnt/mychroot/ WARNING: Full balance without filters requested. This operation is very intense and takes potentially very long. It is recommended to use the balance filters to narrow down the scope of balance. Use 'btrfs balance start --full-balance' option to skip this warning. The operation will start in 10 seconds. Use Ctrl-C to stop it. 10 9 8 7 6 5 4 3 2 1 Starting balance without any filters. ERROR: error during balancing '/mnt/mychroot/': Read-only file system There may be more info in syslog - try dmesg | tail [...] Jan 05 00:31:23 supah kernel: BTRFS error (device sda6): eb 7024910336 invalid extent inline ref type 182 Jan 05 00:31:23 supah kernel: ------------[ cut here ]------------ Jan 05 00:31:23 supah kernel: WARNING: CPU: 4 PID: 1235 at btrfs_get_extent_inline_ref_type+0x145/0x150 Jan 05 00:31:23 supah kernel: Modules linked in: fuse cfg80211 rfkill dm_crypt nhpoly1305_sse2 nhpoly1305 chacha_generic chacha_x86_64 libchacha adiantum libpoly1305 algif_skcipher af_alg amd64_edac_mod edac_mce_amd crct10dif_pclmul crc32_generic crc32_pclmul joydev ghash_generic gf128mul gcm input_leds led_class hid_generic usbhid hid xts dm_mod ctr ext4 cbc raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx crc16 mbcache jbd2 md_mod evdev amdgpu aes_generic ecb ohci_pci snd_hda_codec_hdmi gpu_sched i2c_algo_bit ttm drm_kms_helper aesni_intel cfbfillrect snd_hda_intel syscopyarea ehci_pci glue_helper cfbimgblt libaes sysfillrect snd_intel_dspcfg ohci_hcd sr_mod sysimgblt crypto_simd snd_hda_codec fb_sys_fops cdrom ehci_hcd ipmi_si cryptd i2c_piix4 xhci_pci fam15h_power k10temp cfbcopyarea fb snd_hwdep font xhci_hcd snd_hda_core fbdev e1000e snd_pcm drm usbcore snd_timer snd usb_common drm_panel_orientation_quirks soundcore backlight acpi_cpufreq button processor lzo zstd sg zram jc42 Jan 05 00:31:23 supah kernel: zsmalloc nfsd hwmon auth_rpcgss lockd grace sunrpc Jan 05 00:31:23 supah kernel: CPU: 4 PID: 1235 Comm: btrfs Tainted: G B D 5.5.0-rc4 #2 Jan 05 00:31:23 supah kernel: Hardware name: Supermicro H8SGL/H8SGL, BIOS 3.5b 03/18/2016 Jan 05 00:31:23 supah kernel: RIP: 0010:btrfs_get_extent_inline_ref_type+0x145/0x150 Jan 05 00:31:23 supah kernel: Code: 00 48 89 df e8 7c ee e7 ff 4c 8b 33 4c 89 ef e8 71 ee e7 ff 48 8b 7b 18 44 89 e1 48 c7 c6 00 da 0e 97 4c 89 f2 e8 4d 9b fe ff <0f> 0b 45 31 e4 e9 63 ff ff ff 90 41 57 41 56 49 89 f6 41 55 41 89 Jan 05 00:31:23 supah kernel: RSP: 0018:ffffc9000cf6ef90 EFLAGS: 00010282 Jan 05 00:31:23 supah kernel: RAX: 0000000000000000 RBX: ffff8882f7038940 RCX: 0000000000000000 Jan 05 00:31:23 supah kernel: RDX: 00000000fffffff8 RSI: 0000000000000004 RDI: fffff520019edde1 Jan 05 00:31:23 supah kernel: RBP: 00000001a28da000 R08: 000000000000004b R09: ffffed107cf0599f Jan 05 00:31:23 supah kernel: R10: ffffed107cf0599e R11: ffff8883e782ccf3 R12: 00000000000000b6 Jan 05 00:31:23 supah kernel: R13: ffff8882f7038958 R14: 00000001a2b7a000 R15: fffffffffffffff8 Jan 05 00:31:23 supah kernel: FS: 00007feee34bd8c0(0000) GS:ffff8883e7800000(0000) knlGS:0000000000000000 Jan 05 00:31:23 supah kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 05 00:31:23 supah kernel: CR2: 000055ece3fc0000 CR3: 00000008104ac000 CR4: 00000000000406e0 Jan 05 00:31:23 supah kernel: Call Trace: Jan 05 00:31:23 supah kernel: lookup_inline_extent_backref+0x49d/0x760 Jan 05 00:31:23 supah kernel: ? arch_stack_walk+0x8a/0xd0 Jan 05 00:31:23 supah kernel: ? hash_extent_data_ref+0xe0/0xe0 Jan 05 00:31:23 supah kernel: ? __read_once_size_nocheck.constprop.0+0x10/0x10 Jan 05 00:31:23 supah kernel: ? stack_access_ok+0x35/0x90 Jan 05 00:31:23 supah kernel: ? kasan_unpoison_shadow+0x33/0x40 Jan 05 00:31:23 supah kernel: ? __kasan_kmalloc.constprop.0+0xc2/0xd0 Jan 05 00:31:23 supah kernel: __btrfs_free_extent.isra.0+0x1bc/0xb40 Jan 05 00:31:23 supah kernel: ? debug_check_no_locks_held+0x21/0x50 Jan 05 00:31:23 supah kernel: ? lookup_extent_data_ref+0x370/0x370 Jan 05 00:31:23 supah kernel: ? do_raw_spin_lock+0x114/0x1d0 Jan 05 00:31:23 supah kernel: ? rwlock_bug.part.0+0x50/0x50 Jan 05 00:31:23 supah kernel: ? debug_lockdep_rcu_enabled+0x23/0x60 Jan 05 00:31:23 supah kernel: ? lock_downgrade+0x380/0x380 Jan 05 00:31:23 supah kernel: ? rb_next+0x1e/0x80 Jan 05 00:31:23 supah kernel: ? btrfs_merge_delayed_refs+0x61b/0x6f0 Jan 05 00:31:23 supah kernel: ? rwlock_bug.part.0+0x50/0x50 Jan 05 00:31:23 supah kernel: ? rb_erase+0x4ca/0x8a0 Jan 05 00:31:23 supah kernel: __btrfs_run_delayed_refs+0xd47/0x1be0 Jan 05 00:31:23 supah kernel: ? save_stack+0x4c/0x80 Jan 05 00:31:23 supah kernel: ? btrfs_ioctl_balance+0x3c2/0x490 Jan 05 00:31:23 supah kernel: ? btrfs_pin_extent+0x50/0x50 Jan 05 00:31:23 supah kernel: ? __x64_sys_ioctl+0x38/0x40 Jan 05 00:31:23 supah kernel: ? do_syscall_64+0x63/0x240 Jan 05 00:31:23 supah kernel: ? entry_SYSCALL_64_after_hwframe+0x49/0xbe Jan 05 00:31:23 supah kernel: ? _raw_spin_unlock+0x1a/0x20 Jan 05 00:31:23 supah kernel: ? __lock_acquire+0xa7/0x28b0 Jan 05 00:31:23 supah kernel: ? __lock_acquire+0xa7/0x28b0 Jan 05 00:31:23 supah kernel: btrfs_run_delayed_refs+0xab/0x260 Jan 05 00:31:23 supah kernel: ? btrfs_trans_release_metadata+0x1d/0x1e0 Jan 05 00:31:23 supah kernel: btrfs_commit_transaction+0x108/0x1210 Jan 05 00:31:23 supah kernel: ? do_raw_spin_unlock+0x9e/0x130 Jan 05 00:31:23 supah kernel: ? btrfs_apply_pending_changes+0x70/0x70 Jan 05 00:31:23 supah kernel: ? btrfs_record_root_in_trans+0x3a/0xc0 Jan 05 00:31:23 supah kernel: ? start_transaction+0x419/0x840 Jan 05 00:31:23 supah kernel: prepare_to_relocate+0x1a2/0x1d0 Jan 05 00:31:23 supah kernel: relocate_block_group+0xd2/0x8c0 Jan 05 00:31:23 supah kernel: ? mutex_trylock+0x180/0x180 Jan 05 00:31:23 supah kernel: ? merge_reloc_roots+0x3e0/0x3e0 Jan 05 00:31:23 supah kernel: btrfs_relocate_block_group+0x224/0x470 Jan 05 00:31:23 supah kernel: btrfs_relocate_chunk+0x44/0xd0 Jan 05 00:31:23 supah kernel: btrfs_balance+0xbed/0x1750 Jan 05 00:31:23 supah kernel: ? debug_check_no_locks_held+0x50/0x50 Jan 05 00:31:23 supah kernel: ? btrfs_relocate_chunk+0xd0/0xd0 Jan 05 00:31:23 supah kernel: ? kasan_unpoison_shadow+0x33/0x40 Jan 05 00:31:23 supah kernel: ? __kasan_kmalloc.constprop.0+0xa0/0xd0 Jan 05 00:31:23 supah kernel: ? kasan_unpoison_shadow+0x33/0x40 Jan 05 00:31:23 supah kernel: ? __kasan_kmalloc.constprop.0+0xc2/0xd0 Jan 05 00:31:23 supah kernel: btrfs_ioctl_balance+0x3c2/0x490 Jan 05 00:31:23 supah kernel: btrfs_ioctl+0xaeb/0x3e60 Jan 05 00:31:23 supah kernel: ? debug_check_no_locks_held+0x50/0x50 Jan 05 00:31:23 supah kernel: ? debug_lockdep_rcu_enabled+0x23/0x60 Jan 05 00:31:23 supah kernel: ? btrfs_ioctl_get_supported_features+0x20/0x20 Jan 05 00:31:23 supah kernel: ? try_charge+0xa7a/0xe00 Jan 05 00:31:23 supah kernel: ? lockdep_hardirqs_on+0x11/0x280 Jan 05 00:31:23 supah kernel: ? __lock_acquire+0xa7/0x28b0 Jan 05 00:31:23 supah kernel: ? __lock_acquire+0xa7/0x28b0 Jan 05 00:31:23 supah kernel: ? debug_lockdep_rcu_enabled+0x23/0x60 Jan 05 00:31:23 supah kernel: ? debug_check_no_locks_held+0x50/0x50 Jan 05 00:31:23 supah kernel: ? debug_lockdep_rcu_enabled+0x23/0x60 Jan 05 00:31:23 supah kernel: ? lock_downgrade+0x380/0x380 Jan 05 00:31:23 supah kernel: ? mem_cgroup_commit_charge+0x6a/0x6b0 Jan 05 00:31:23 supah kernel: ? __mod_node_page_state+0x1a/0xa0 Jan 05 00:31:23 supah kernel: ? do_raw_spin_unlock+0x9e/0x130 Jan 05 00:31:23 supah kernel: ? do_vfs_ioctl+0x75d/0xa00 Jan 05 00:31:23 supah kernel: do_vfs_ioctl+0x75d/0xa00 Jan 05 00:31:23 supah kernel: ? compat_ioctl_preallocate+0x160/0x160 Jan 05 00:31:23 supah kernel: ? debug_check_no_locks_held+0x50/0x50 Jan 05 00:31:23 supah kernel: ? up_read+0x172/0x480 Jan 05 00:31:23 supah kernel: ? down_read_nested+0x2c0/0x2c0 Jan 05 00:31:23 supah kernel: ? __count_memcg_events+0x2e/0xf0 Jan 05 00:31:23 supah kernel: ksys_ioctl+0x35/0x70 Jan 05 00:31:23 supah kernel: ? lockdep_hardirqs_off+0x1a/0x130 Jan 05 00:31:23 supah kernel: __x64_sys_ioctl+0x38/0x40 Jan 05 00:31:23 supah kernel: do_syscall_64+0x63/0x240 Jan 05 00:31:23 supah kernel: entry_SYSCALL_64_after_hwframe+0x49/0xbe Jan 05 00:31:23 supah kernel: RIP: 0033:0x7feee3239587 Jan 05 00:31:23 supah kernel: Code: 00 00 00 75 0c 48 c7 c0 ff ff ff ff 48 83 c4 18 c3 e8 4d cb 01 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d d9 c8 0c 00 f7 d8 64 89 01 48 Jan 05 00:31:23 supah kernel: RSP: 002b:00007ffe2c5daca8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 Jan 05 00:31:23 supah kernel: RAX: ffffffffffffffda RBX: 00007ffe2c5dad50 RCX: 00007feee3239587 Jan 05 00:31:23 supah kernel: RDX: 00007ffe2c5dad50 RSI: 00000000c4009420 RDI: 0000000000000003 Jan 05 00:31:23 supah kernel: RBP: 0000000000000003 R08: 000055df3f0156b0 R09: 0000000000000231 Jan 05 00:31:23 supah kernel: R10: fffffffffffffbff R11: 0000000000000202 R12: 0000000000000001 Jan 05 00:31:23 supah kernel: R13: 00007ffe2c5dbf9b R14: 0000000000000000 R15: 0000000000000000 Jan 05 00:31:23 supah kernel: irq event stamp: 0 Jan 05 00:31:23 supah kernel: hardirqs last enabled at (0): [<0000000000000000>] 0x0 Jan 05 00:31:23 supah kernel: hardirqs last disabled at (0): [<ffffffff9606bc22>] copy_process+0xd72/0x31b0 Jan 05 00:31:23 supah kernel: softirqs last enabled at (0): [<ffffffff9606bc22>] copy_process+0xd72/0x31b0 Jan 05 00:31:23 supah kernel: softirqs last disabled at (0): [<0000000000000000>] 0x0 Jan 05 00:31:23 supah kernel: ---[ end trace a15675be39547f3f ]--- Jan 05 00:31:23 supah kernel: ------------[ cut here ]------------ Jan 05 00:31:23 supah kernel: BTRFS: Transaction aborted (error -117) Jan 05 00:31:23 supah kernel: WARNING: CPU: 4 PID: 1235 at __btrfs_free_extent.isra.0+0x39b/0xb40 Jan 05 00:31:23 supah kernel: Modules linked in: fuse cfg80211 rfkill dm_crypt nhpoly1305_sse2 nhpoly1305 chacha_generic chacha_x86_64 libchacha adiantum libpoly1305 algif_skcipher af_alg amd64_edac_mod edac_mce_amd crct10dif_pclmul crc32_generic crc32_pclmul joydev ghash_generic gf128mul gcm input_leds led_class hid_generic usbhid hid xts dm_mod ctr ext4 cbc raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx crc16 mbcache jbd2 md_mod evdev amdgpu aes_generic ecb ohci_pci snd_hda_codec_hdmi gpu_sched i2c_algo_bit ttm drm_kms_helper aesni_intel cfbfillrect snd_hda_intel syscopyarea ehci_pci glue_helper cfbimgblt libaes sysfillrect snd_intel_dspcfg ohci_hcd sr_mod sysimgblt crypto_simd snd_hda_codec fb_sys_fops cdrom ehci_hcd ipmi_si cryptd i2c_piix4 xhci_pci fam15h_power k10temp cfbcopyarea fb snd_hwdep font xhci_hcd snd_hda_core fbdev e1000e snd_pcm drm usbcore snd_timer snd usb_common drm_panel_orientation_quirks soundcore backlight acpi_cpufreq button processor lzo zstd sg zram jc42 Jan 05 00:31:23 supah kernel: zsmalloc nfsd hwmon auth_rpcgss lockd grace sunrpc Jan 05 00:31:23 supah kernel: CPU: 4 PID: 1235 Comm: btrfs Tainted: G B D W 5.5.0-rc4 #2 Jan 05 00:31:23 supah kernel: Hardware name: Supermicro H8SGL/H8SGL, BIOS 3.5b 03/18/2016 Jan 05 00:31:23 supah kernel: RIP: 0010:__btrfs_free_extent.isra.0+0x39b/0xb40 Jan 05 00:31:23 supah kernel: Code: ab 98 1b 00 00 02 0f 92 c0 41 83 ff fb 0f 84 a4 8d 00 00 84 c0 0f 85 9c 8d 00 00 44 89 fe 48 c7 c7 e0 d7 0e 97 e8 0a e4 bc ff <0f> 0b e9 86 8d 00 00 48 83 bc 24 a0 00 00 00 00 0f 85 c8 05 00 00 Jan 05 00:31:23 supah kernel: RSP: 0018:ffffc9000cf6f138 EFLAGS: 00010286 Jan 05 00:31:23 supah kernel: RAX: 0000000000000000 RBX: ffff8882e3a00000 RCX: 0000000000000000 Jan 05 00:31:23 supah kernel: RDX: 00000000fffffff8 RSI: 0000000000000004 RDI: fffff520019ede19 Jan 05 00:31:23 supah kernel: RBP: ffff8882c379da20 R08: ffffffff961d6008 R09: ffffed107cf0599f Jan 05 00:31:23 supah kernel: R10: ffffed107cf0599e R11: ffff8883e782ccf3 R12: 00000001a28da000 Jan 05 00:31:23 supah kernel: R13: 00000001a28da000 R14: 0000000000000001 R15: 00000000ffffff8b Jan 05 00:31:23 supah kernel: FS: 00007feee34bd8c0(0000) GS:ffff8883e7800000(0000) knlGS:0000000000000000 Jan 05 00:31:23 supah kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 05 00:31:23 supah kernel: CR2: 000055ece3fc0000 CR3: 00000008104ac000 CR4: 00000000000406e0 Jan 05 00:31:23 supah kernel: Call Trace: Jan 05 00:31:23 supah kernel: ? debug_check_no_locks_held+0x21/0x50 Jan 05 00:31:23 supah kernel: ? lookup_extent_data_ref+0x370/0x370 Jan 05 00:31:23 supah kernel: ? do_raw_spin_lock+0x114/0x1d0 Jan 05 00:31:23 supah kernel: ? rwlock_bug.part.0+0x50/0x50 Jan 05 00:31:23 supah kernel: ? debug_lockdep_rcu_enabled+0x23/0x60 Jan 05 00:31:23 supah kernel: ? lock_downgrade+0x380/0x380 Jan 05 00:31:23 supah kernel: ? rb_next+0x1e/0x80 Jan 05 00:31:23 supah kernel: ? btrfs_merge_delayed_refs+0x61b/0x6f0 Jan 05 00:31:23 supah kernel: ? rwlock_bug.part.0+0x50/0x50 Jan 05 00:31:23 supah kernel: ? rb_erase+0x4ca/0x8a0 Jan 05 00:31:23 supah kernel: __btrfs_run_delayed_refs+0xd47/0x1be0 Jan 05 00:31:23 supah kernel: ? save_stack+0x4c/0x80 Jan 05 00:31:23 supah kernel: ? btrfs_ioctl_balance+0x3c2/0x490 Jan 05 00:31:23 supah kernel: ? btrfs_pin_extent+0x50/0x50 Jan 05 00:31:23 supah kernel: ? __x64_sys_ioctl+0x38/0x40 Jan 05 00:31:23 supah kernel: ? do_syscall_64+0x63/0x240 Jan 05 00:31:23 supah kernel: ? entry_SYSCALL_64_after_hwframe+0x49/0xbe Jan 05 00:31:23 supah kernel: ? _raw_spin_unlock+0x1a/0x20 Jan 05 00:31:23 supah kernel: ? __lock_acquire+0xa7/0x28b0 Jan 05 00:31:23 supah kernel: ? __lock_acquire+0xa7/0x28b0 Jan 05 00:31:23 supah kernel: btrfs_run_delayed_refs+0xab/0x260 Jan 05 00:31:23 supah kernel: ? btrfs_trans_release_metadata+0x1d/0x1e0 Jan 05 00:31:23 supah kernel: btrfs_commit_transaction+0x108/0x1210 Jan 05 00:31:23 supah kernel: ? do_raw_spin_unlock+0x9e/0x130 Jan 05 00:31:23 supah kernel: ? btrfs_apply_pending_changes+0x70/0x70 Jan 05 00:31:23 supah kernel: ? btrfs_record_root_in_trans+0x3a/0xc0 Jan 05 00:31:23 supah kernel: ? start_transaction+0x419/0x840 Jan 05 00:31:23 supah kernel: prepare_to_relocate+0x1a2/0x1d0 Jan 05 00:31:23 supah kernel: relocate_block_group+0xd2/0x8c0 Jan 05 00:31:23 supah kernel: ? mutex_trylock+0x180/0x180 Jan 05 00:31:23 supah kernel: ? merge_reloc_roots+0x3e0/0x3e0 Jan 05 00:31:23 supah kernel: btrfs_relocate_block_group+0x224/0x470 Jan 05 00:31:23 supah kernel: btrfs_relocate_chunk+0x44/0xd0 Jan 05 00:31:23 supah kernel: btrfs_balance+0xbed/0x1750 Jan 05 00:31:23 supah kernel: ? debug_check_no_locks_held+0x50/0x50 Jan 05 00:31:23 supah kernel: ? btrfs_relocate_chunk+0xd0/0xd0 Jan 05 00:31:23 supah kernel: ? kasan_unpoison_shadow+0x33/0x40 Jan 05 00:31:23 supah kernel: ? __kasan_kmalloc.constprop.0+0xa0/0xd0 Jan 05 00:31:23 supah kernel: ? kasan_unpoison_shadow+0x33/0x40 Jan 05 00:31:23 supah kernel: ? __kasan_kmalloc.constprop.0+0xc2/0xd0 Jan 05 00:31:23 supah kernel: btrfs_ioctl_balance+0x3c2/0x490 Jan 05 00:31:23 supah kernel: btrfs_ioctl+0xaeb/0x3e60 Jan 05 00:31:23 supah kernel: ? debug_check_no_locks_held+0x50/0x50 Jan 05 00:31:23 supah kernel: ? debug_lockdep_rcu_enabled+0x23/0x60 Jan 05 00:31:23 supah kernel: ? btrfs_ioctl_get_supported_features+0x20/0x20 Jan 05 00:31:23 supah kernel: ? try_charge+0xa7a/0xe00 Jan 05 00:31:23 supah kernel: ? lockdep_hardirqs_on+0x11/0x280 Jan 05 00:31:23 supah kernel: ? __lock_acquire+0xa7/0x28b0 Jan 05 00:31:23 supah kernel: ? __lock_acquire+0xa7/0x28b0 Jan 05 00:31:23 supah kernel: ? debug_lockdep_rcu_enabled+0x23/0x60 Jan 05 00:31:23 supah kernel: ? debug_check_no_locks_held+0x50/0x50 Jan 05 00:31:23 supah kernel: ? debug_lockdep_rcu_enabled+0x23/0x60 Jan 05 00:31:23 supah kernel: ? lock_downgrade+0x380/0x380 Jan 05 00:31:23 supah kernel: ? mem_cgroup_commit_charge+0x6a/0x6b0 Jan 05 00:31:23 supah kernel: ? __mod_node_page_state+0x1a/0xa0 Jan 05 00:31:23 supah kernel: ? do_raw_spin_unlock+0x9e/0x130 Jan 05 00:31:23 supah kernel: ? do_vfs_ioctl+0x75d/0xa00 Jan 05 00:31:23 supah kernel: do_vfs_ioctl+0x75d/0xa00 Jan 05 00:31:23 supah kernel: ? compat_ioctl_preallocate+0x160/0x160 Jan 05 00:31:23 supah kernel: ? debug_check_no_locks_held+0x50/0x50 Jan 05 00:31:23 supah kernel: ? up_read+0x172/0x480 Jan 05 00:31:23 supah kernel: ? down_read_nested+0x2c0/0x2c0 Jan 05 00:31:23 supah kernel: ? __count_memcg_events+0x2e/0xf0 Jan 05 00:31:23 supah kernel: ksys_ioctl+0x35/0x70 Jan 05 00:31:23 supah kernel: ? lockdep_hardirqs_off+0x1a/0x130 Jan 05 00:31:23 supah kernel: __x64_sys_ioctl+0x38/0x40 Jan 05 00:31:23 supah kernel: do_syscall_64+0x63/0x240 Jan 05 00:31:23 supah kernel: entry_SYSCALL_64_after_hwframe+0x49/0xbe Jan 05 00:31:23 supah kernel: RIP: 0033:0x7feee3239587 Jan 05 00:31:23 supah kernel: Code: 00 00 00 75 0c 48 c7 c0 ff ff ff ff 48 83 c4 18 c3 e8 4d cb 01 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d d9 c8 0c 00 f7 d8 64 89 01 48 Jan 05 00:31:23 supah kernel: RSP: 002b:00007ffe2c5daca8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 Jan 05 00:31:23 supah kernel: RAX: ffffffffffffffda RBX: 00007ffe2c5dad50 RCX: 00007feee3239587 Jan 05 00:31:23 supah kernel: RDX: 00007ffe2c5dad50 RSI: 00000000c4009420 RDI: 0000000000000003 Jan 05 00:31:23 supah kernel: RBP: 0000000000000003 R08: 000055df3f0156b0 R09: 0000000000000231 Jan 05 00:31:23 supah kernel: R10: fffffffffffffbff R11: 0000000000000202 R12: 0000000000000001 Jan 05 00:31:23 supah kernel: R13: 00007ffe2c5dbf9b R14: 0000000000000000 R15: 0000000000000000 Jan 05 00:31:23 supah kernel: irq event stamp: 0 Jan 05 00:31:23 supah kernel: hardirqs last enabled at (0): [<0000000000000000>] 0x0 Jan 05 00:31:23 supah kernel: hardirqs last disabled at (0): [<ffffffff9606bc22>] copy_process+0xd72/0x31b0 Jan 05 00:31:23 supah kernel: softirqs last enabled at (0): [<ffffffff9606bc22>] copy_process+0xd72/0x31b0 Jan 05 00:31:23 supah kernel: softirqs last disabled at (0): [<0000000000000000>] 0x0 Jan 05 00:31:23 supah kernel: ---[ end trace a15675be39547f40 ]--- Jan 05 00:31:23 supah kernel: BTRFS: error (device sda6) in __btrfs_free_extent:3100: errno=-117 unknown Jan 05 00:31:23 supah kernel: BTRFS info (device sda6): forced readonly Jan 05 00:31:23 supah kernel: BTRFS: error (device sda6) in btrfs_run_delayed_refs:2209: errno=-117 unknown Jan 05 00:31:23 supah kernel: BTRFS info (device sda6): balance: ended with status: -30
Created attachment 286629 [details] dmesg (x86-64, kernel 5.5-rc4)
Created attachment 286631 [details] kernel .config (x86-64, kernel 5.5-rc4)
Still happens on kernel 5.5.2, btrfs-progs 5.4.1.
Wenruo, IIUC, at this point, the only way to get the fs to function is to try "btrfs check" and "check --repair" if the first one didn't fix? Found a similar issue here[1]. What called my attention was "BTRFS error (device sda6): eb 7024910336 invalid extent inline ref type 182", which is similar the bug in [1], since the last pointer of the leaf seems to be damaged. Thanks, [1]: https://lore.kernel.org/linux-btrfs/7f0f3aea-febe-022c-400a-8e846b0b17da@gmx.com/
The bad report mechanism makes the result really hard to read for human. But at least, after going through all the hassle, the point is pinpointed to these lines: Jan 05 00:31:23 supah kernel: item 44 key (7022157824 169 0) itemoff 14852 itemsize 33 Jan 05 00:31:23 supah kernel: extent refs 1 gen 195 flags 258 Jan 05 00:31:23 supah kernel: ref#0: shared block backref parent 7022157824 Jan 05 00:31:23 supah kernel: (parent 7022157824 is NOT ALIGNED to nodesize 16384) If the parent block number is not aligned to nodesize, it will trigger the warning. However such requirement is completely wrong. The chunk itself can starts at an offset not aligned to nodesize. It only needs to be aligned to sector size. Thus this is a false alert. I'll fix the related bug soon. Thanks.
Here is the fix: https://patchwork.kernel.org/patch/11377583/
Just applied the fix to 5.5.3 and did the balance again. Now it works well. Thanks!
Would be nice if this patch can be added to mainline kernel soon.
I also encountered the exactly same problem. I converted my ext4 filesystem according to the instructions on btrfs wiki. The original ext4 fs is about 4TB and almost full. The version of btrfs-progs is 5.4.1, and the version of my kernel is 4.15 (shipped with Ubuntu 18.04). ... [ 1366.507356] item 20 key (5341184 168 77824) itemoff 15157 itemsize 66 [ 1366.507357] extent refs 2 gen 25 flags 1 [ 1366.507358] ref#0: extent data backref root 5 objectid 181928265 offset 0 count 1 [ 1366.507359] ref#1: shared data backref parent 3998674784256 count 1 [ 1366.507361] (parent 3998674784256 is NOT ALIGNED to nodesize 16384) ... [ 1366.507887] BTRFS error (device sdb1): eb 74727424 invalid extent inline ref type 184 ... I backported the patch to my ubuntu kernel. The balance seemed worked fine. I think the btrfs wiki should be modified to address this problem, or other people may run into the same problem. By the way, I found a problem in the patch. In the last part of the patch, the if condition is not modified.
(In reply to Zhang Boyang from comment #11) > I also encountered the exactly same problem. I converted my ext4 filesystem > according to the instructions on btrfs wiki. The original ext4 fs is about > 4TB and almost full. The version of btrfs-progs is 5.4.1, and the version of > my kernel is 4.15 (shipped with Ubuntu 18.04). > > ... > [ 1366.507356] item 20 key (5341184 168 77824) itemoff 15157 itemsize > 66 > [ 1366.507357] extent refs 2 gen 25 flags 1 > [ 1366.507358] ref#0: extent data backref root 5 objectid > 181928265 offset > 0 count 1 > [ 1366.507359] ref#1: shared data backref parent 3998674784256 > count 1 > [ 1366.507361] (parent 3998674784256 is NOT ALIGNED to > nodesize 16384) > ... > [ 1366.507887] BTRFS error (device sdb1): eb 74727424 invalid extent inline > ref type 184 > ... > > I backported the patch to my ubuntu kernel. The balance seemed worked fine. > > I think the btrfs wiki should be modified to address this problem, or other > people may run into the same problem. The fix if merged will automatically get backported to all affected kernels. A notice in btrfs wiki won't hurt though. > > By the way, I found a problem in the patch. In the last part of the patch, > the if condition is not modified. Fixed and resent, hopes it get merged this time.
v2 was sent recently, on the way to mainline, tagged for stable.
Thanks for the update!