[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID:
<DU0PR04MB9496D99F17904D1B2EFB9E5090FBA@DU0PR04MB9496.eurprd04.prod.outlook.com>
Date: Thu, 30 Oct 2025 11:11:51 +0000
From: Bough Chen <haibo.chen@....com>
To: "jack@...e.cz" <jack@...e.cz>
CC: "tytso@....edu" <tytso@....edu>, "adilger.kernel@...ger.ca"
<adilger.kernel@...ger.ca>, "linux-ext4@...r.kernel.org"
<linux-ext4@...r.kernel.org>, "imx@...ts.linux.dev" <imx@...ts.linux.dev>
Subject: ext4 issue on linux-next(next-20251030)
Hi Jack,
On the latest linux-next, I find your patch acf943e9768e ("ext4: fix checks for orphan inodes") trigger the following issue on our imx7d-sdb board.
I do not have enough background knowledge of ext4, so don't know why there are orphan inodes on the partition with ext4. Not sure whether this
is a real issue or we need some special operation on current ext4 partition.
Do you have any suggestions to debug this issue?
root@...6ul7d:~# e2fsck -f /dev/mmcblk2p2
e2fsck 1.47.3 (8-Jul-2025)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
root: 64959/570080 files (0.1% non-contiguous), 719492/1139298 blocks
root@...6ul7d:~# mount /dev/mmcblk2p2 test/
[ 203.776094] EXT4-fs (mmcblk2p2): mounted filesystem dc06048e-939b-4827-97ef-f815486f505f r/w with ordered data mode. Quota mode: none.
root@...6ul7d:~# umount /dev/mmcblk2p2
[ 210.088283] EXT4-fs (mmcblk2p2): unmounting filesystem dc06048e-939b-4827-97ef-f815486f505f.
[ 210.104550] EXT4-fs (mmcblk2p2): Inode 1 (3148c11d): inode tracked as orphan!
[ 210.104605] 3148c11d: efb7ffde 5f7b7fff e7fffbfe 677b6f7f ......{_.....o{g
[ 210.104618] 961d5d65: feedff7e 7bfdefff 7fffffff fff3bebf ~......{........
[ 210.104630] 440e00b4: 9f77fdff cfd7ff7b 57b3ffe7 cfdfd777 ..w.{......Ww...
[ 210.104641] d896c4c3: edecffaf ecfae6f3 e3cf7f5f f7fee7e5 ........_.......
[ 210.104652] 594b2fff: 7bfbff9d f5bfab4f efffffff fef7ffff ...{O...........
[ 210.104663] 48812578: f6bffadf 00000000 00000000 00000000 ................
root@...6ul7d:~# [ 210.104674] 6940b116: 00000000 00000000 c697af68 c697af68 ........h...h...
[ 210.104685] 5f2b32c1: c697af70 c697af70 c697af78 c697af78 p...p...x...x...
[ 210.104696] 01fb95bd: c697af80 c697af80 00000000 00000000 ................
[ 210.104708] ae1bfce8: 00000000 00000000 c697af98 c697af98 ................
[ 210.104719] 659d4cf2: 00000000 cd7cffff 00000000 00000000 ......|.........
[ 210.104729] 91d0ddfa: 00000000 00000000 00000000 00000000 ................
[ 210.104740] 0747a55c: c697afc0 c697afc0 00280000 00000000 ..........(.....
[ 210.104751] 77b8b5de: 00000000 00000000 ffffffff ffffffff ................
[ 210.104762] 326357f2: c1017dc0 c565d400 c697b0b8 00000001 .}....e.........
[ 210.104773] 3398af02: 00000001 00000000 00000000 00000000 ................
[ 210.104784] abe2702f: 00000000 00000000 00000000 00000000 ................
[ 210.104794] a7d16dda: 00000000 00000000 00000000 00000000 ................
[ 210.104805] f714e489: 00000000 00000000 00030003 000c0000 ................
[ 210.104816] 9969c6ba: 00000000 00000000 00000000 00000300 ................
[ 210.104827] 7b03ec5b: 00000000 00000000 00000000 00000000 ................
[ 210.104838] 8f2c1269: c697b050 c697b050 00000000 00000000 P...P...........
[ 210.104849] d7cc3d73: 00000000 00000000 c697b068 c697b068 ........h...h...
[ 210.104860] 90750112: c697b070 c697b070 c697b078 c697b078 p...p...x...x...
[ 210.104696] 01fb95bd: c697af80 c697af80 00000000 00000000 ................ [16/1961]
[ 210.104708] ae1bfce8: 00000000 00000000 c697af98 c697af98 ................
[ 210.104719] 659d4cf2: 00000000 cd7cffff 00000000 00000000 ......|.........
[ 210.104729] 91d0ddfa: 00000000 00000000 00000000 00000000 ................
[ 210.104740] 0747a55c: c697afc0 c697afc0 00280000 00000000 ..........(.....
[ 210.104751] 77b8b5de: 00000000 00000000 ffffffff ffffffff ................
[ 210.104762] 326357f2: c1017dc0 c565d400 c697b0b8 00000001 .}....e.........
[ 210.104773] 3398af02: 00000001 00000000 00000000 00000000 ................
[ 210.104784] abe2702f: 00000000 00000000 00000000 00000000 ................
[ 210.104794] a7d16dda: 00000000 00000000 00000000 00000000 ................
[ 210.104805] f714e489: 00000000 00000000 00030003 000c0000 ................
[ 210.104816] 9969c6ba: 00000000 00000000 00000000 00000300 ................
[ 210.104827] 7b03ec5b: 00000000 00000000 00000000 00000000 ................
[ 210.104838] 8f2c1269: c697b050 c697b050 00000000 00000000 P...P...........
[ 210.104849] d7cc3d73: 00000000 00000000 c697b068 c697b068 ........h...h...
[ 210.104860] 90750112: c697b070 c697b070 c697b078 c697b078 p...p...x...x...
[ 210.104871] 3d683c4a: c697b080 c697b080 00000000 00000000 ................
[ 210.104881] 6cb03d5d: 00000002 00000000 00000000 00000000 ................
[ 210.104892] 7c8038eb: 00000000 00000000 00000000 00000000 ................
[ 210.104903] 093a7b94: c1017e40 00000000 c697afc8 001f001f @~..............
[ 210.104914] 9fe63af0: 00000021 00000000 00000000 00000000 !...............
[ 210.104925] 1889fb16: 00000000 00000000 c697b0d8 c697b0d8 ................
[ 210.104936] 59cb62ef: 00100cca 00000000 00000000 00000000 ................
[ 210.104947] 86fb5791: 00000000 00000000 c1017ec8 00000010 .........~......
[ 210.104958] b399200b: 00000000 00000000 c697b108 c697b108 ................
[ 210.104968] 7ecef62e: 00000000 00000000 00000000 00000000 ................
[ 210.104979] e35002c8: c697b120 c697b120 00000000 c697b12c ... .......,...
[ 210.104990] 3c940dbc: c697b12c 00000000 00000000 00000000 ,...............
[ 210.105001] f8c050d9: 00000000 00000000 00000000 fffffff7 ................
[ 210.105012] c8073821: ffffff5f ffffdfd1 ffeffffc ffff6556 _...........Ve..
[ 210.105023] 84651cd7: 00000000 00000000 00000000 00000000 ................
[ 210.105033] f8a81094: 00000000 00000000 00000000 c697b17c ............|...
[ 210.105044] aaea6bf1: c697b17c 00000000 00000000 00000000 |...............
[ 210.105055] 758d8f80: ffff5efa 00000000 ffefcf6e ffffffef .^......n.......
[ 210.105066] 171a7e4a: 00000000 00000000 00000000 00000000 ................
[ 210.105077] 5da2c755: c697b1b0 c697b1b0 ffe00000 c697b1bc ................
[ 210.105088] 3b69580b: c697b1bc c03ffb38 00000000 00000000 ....8.?.........
[ 210.105099] 43f12395: 00000000 00000000 00000000 ffeff3f7 ................
[ 210.105108] f17da383: ffffd7fe ffefeffa ........
[ 210.105121] CPU: 0 UID: 0 PID: 777 Comm: umount Not tainted 6.18.0-rc3-next-20251030-00003-g01f4df1f83c5 #12 VOLUNTARY
[ 210.105137] Hardware name: Freescale i.MX7 Dual (Device Tree)
[ 210.105145] Call trace:
[ 210.105162] unwind_backtrace from show_stack+0x10/0x14
[ 210.105203] show_stack from dump_stack_lvl+0x54/0x68
[ 210.105224] dump_stack_lvl from ext4_destroy_inode+0x70/0x10c
[ 210.105248] ext4_destroy_inode from destroy_inode+0x3c/0x64
[ 210.105272] destroy_inode from ext4_mb_release+0x278/0x3ec
[ 210.105297] ext4_mb_release from ext4_put_super+0xec/0x42c
[ 210.105320] ext4_put_super from generic_shutdown_super+0x70/0x178
[ 210.105343] generic_shutdown_super from kill_block_super+0x10/0x2c
[ 210.105361] kill_block_super from ext4_kill_sb+0x18/0x30
[ 210.105379] ext4_kill_sb from deactivate_locked_super+0x50/0x98
[ 210.105397] deactivate_locked_super from cleanup_mnt+0xd8/0x178
[ 210.105415] cleanup_mnt from task_work_run+0x98/0x108
[ 210.105433] task_work_run from do_work_pending+0x4a0/0x4c4
[ 210.105453] do_work_pending from slow_work_pending+0xc/0x24
[ 210.105473] Exception stack(0xf0b89fb0 to 0xf0b89ff8)
[ 210.105486] 9fa0: 00000000 00000000 0100b870 00000002
[ 210.105498] 9fc0: 0100b2e0 0100b870 b6ef88dc 00000034 00000000 0100b370 0100b550 0100b2e0
[ 210.105509] 9fe0: 00000034 bea799cc b6e48e4f b6db9836 60070030 0100b870
Powered by blists - more mailing lists