== sanity-lfsck test 2f: namespace LFSCK is able to fix the remote link count for an overflow linkea ========================================================== 10:58:09 (1772467089) striped dir -i1 -c1 -H fnv_1a_64 /mnt/lustre/d2f.sanity-lfsck/mdt1 fail_loc=0x1633 Create an overflow linkea with 1000 remote links for 0x200000402:0x2:0x0 Remove all the remote links tracked by the linkea of 0x200000402:0x2:0x0 fail_loc=0 [ 662.238095] Lustre: 19140:0:(osd_handler.c:5195:osd_xattr_handle_linkea()) lustre-MDT0000: LFSCK is required to update remote link count in linkea for [0x200000402:0x2:0x0] (overflow: 1772467126, remotes: 102): rc = -95 [ 662.783737] Lustre: 23269:0:(osd_handler.c:5195:osd_xattr_handle_linkea()) lustre-MDT0000: LFSCK is required to update remote link count in linkea for [0x200000402:0x2:0x0] (overflow: 1772467126, remotes: 94): rc = -95 [ 663.797160] Lustre: 23271:0:(osd_handler.c:5195:osd_xattr_handle_linkea()) lustre-MDT0000: LFSCK is required to update remote link count in linkea for [0x200000402:0x2:0x0] (overflow: 1772467126, remotes: 76): rc = -95 [ 665.819665] Lustre: 23269:0:(osd_handler.c:5195:osd_xattr_handle_linkea()) lustre-MDT0000: LFSCK is required to update remote link count in linkea for [0x200000402:0x2:0x0] (overflow: 1772467126, remotes: 31): rc = -95 oleg152-server: debugfs 1.47.3-wc2 (11-Nov-2025) linkea: idx=0 parent=[0x200000402:0x1:0x0] name='f2f.sanity-lfsck' EXTENTS: oleg152-server: debugfs 1.47.3-wc2 (11-Nov-2025) Start LFSCK namespace Started LFSCK on the device lustre-MDT0000: scrub namespace oleg152-server: debugfs 1.47.3-wc2 (11-Nov-2025) inode <199> linkea: idx=0 parent=[0x200000402:0x1:0x0] name='f2f.sanity-lfsck' idx=1 parent=[0x240000402:0x1:0x0] name='f2f.sanity-lfsck_0509' idx=2 parent=[0x240000402:0x1:0x0] name='f2f.sanity-lfsck_0843' oleg152-server: debugfs 1.47.3-wc2 (11-Nov-2025) 197 100644 (1) 0 0 0 2-Mar-2026 10:58 0x200000402:0x2:0x0 Remove all the remote links of 0x200000402:0x2:0x0 oleg152-server: debugfs 1.47.3-wc2 (11-Nov-2025) linkea: idx=0 parent=[0x200000402:0x1:0x0] name='f2f.sanity-lfsck' EXTENTS: oleg152-server: debugfs 1.47.3-wc2 (11-Nov-2025)