Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-20487

Kernel panic in mdt_getxattr() during striped directory deletion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • None
    • 3
    • 9223372036854775807

      I hit this kernel panic in mdt_getxattr() during testing TCU patch https://review.whamcloud.com/c/ex/lustre-release/+/66544 (about remote dir deletion in DNE) on arm64 rock9.6 kernel.
      Here is the call trace:

      [ 1387.536025] Lustre: DEBUG MARKER: == sanityn test 118y: TCU: delete remote subdirs under a striped parent directory ========================================================== 17:03:56 (1784192636)
      [ 1387.621564] Lustre: 102414:0:(osd_internal.h:1459:osd_trans_exec_op()) lustre-MDT0001: opcode 2: before 506 < left 548, rollback = 2
      [ 1387.621570] Lustre: 102414:0:(osd_handler.c:2079:osd_trans_dump_creds()) create: 6/24/6, destroy: 0/0/0
      [ 1387.621572] Lustre: 102414:0:(osd_handler.c:2086:osd_trans_dump_creds()) attr_set: 5/5/0, xattr_set: 11/548/0
      [ 1387.621574] Lustre: 102414:0:(osd_handler.c:2093:osd_trans_dump_creds()) write: 11/192/0, punch: 0/0/0, quota 1/3/0
      [ 1387.621576] Lustre: 102414:0:(osd_handler.c:2103:osd_trans_dump_creds()) insert: 18/374/4, delete: 0/0/0
      [ 1387.621577] Lustre: 102414:0:(osd_handler.c:2110:osd_trans_dump_creds()) ref_add: 6/6/0, ref_del: 0/0/0
      [ 1387.704260] LustreError: 109822:0:(file.c:267:ll_close_inode_openhandle()) lustre-clilmv-ffff0001062cf800: inode [0x200000400:0x2:0x0] mdc close failed: rc = -9
      [ 1387.732964] LustreError: 102417:0:(mdt_xattr.c:253:mdt_getxattr()) ASSERTION( lu_object_assert_exists(&info->mti_object->mot_obj) ) failed:
      [ 1387.733011] LustreError: 102417:0:(mdt_xattr.c:253:mdt_getxattr()) LBUG
      [ 1387.733059] CPU: 3 PID: 102417 Comm: mdt_rdpg00_000 Kdump: loaded Tainted: G OE ------- --- 5.14.0-570.58.1_lustre.el9.aarch64 #1
      [ 1387.733060] Hardware name: VMware, Inc. VMware20,1/VBSA, BIOS VMW201.00V.24006586.BA64.2406042154 06/04/2024
      [ 1387.733061] Call trace:
      [ 1387.733068] dump_backtrace+0xa8/0x120
      [ 1387.733073] show_stack+0x1c/0x24
      [ 1387.733074] dump_stack_lvl+0x74/0x8c
      [ 1387.733098] dump_stack+0x14/0x24
      [ 1387.733099] lbug_with_loc+0x64/0xa0 [libcfs]
      [ 1387.733113] mdt_getxattr+0x2bc/0xa60 [mdt]
      [ 1387.733151] mdt_tgt_getxattr+0x28/0x60 [mdt]
      [ 1387.733169] tgt_handle_request0+0x150/0x774 [ptlrpc]
      [ 1387.733272] tgt_request_handle+0x2f0/0xb5c [ptlrpc]
      [ 1387.733329] ptlrpc_server_handle_request.isra.0+0x298/0xca0 [ptlrpc]
      [ 1387.733388] ptlrpc_main+0xa44/0xec4 [ptlrpc]
      [ 1387.733470] kthread+0xe8/0xf4
      [ 1387.733481] ret_from_fork+0x10/0x20
      [ 1387.733483] Kernel panic - not syncing: LBUG
      

       

            emoly.liu Emoly Liu
            emoly.liu Emoly Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: