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

(md_object.h:399:lu2md()) ASSERTION( o == ((void *)0) || IS_ERR(o) || lu_device_is_md(o->lo_dev) ) failed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      There are still on disk objects whose FIDs cause the fid2path handler to panic. For example the OI_scrub file. In the past we have inserted various tests on fids to try to avoid this.

      It would be better if mdt_object_find() simply never returned such objects.

      [ 3282.355360] LustreError: 6600:0:(md_object.h:399:lu2md()) ASSERTION( o == ((void *)0) || IS_ERR(o) || lu_device_is_md(o->lo_dev) ) failed: 
      [ 3282.359177] LustreError: 6600:0:(md_object.h:399:lu2md()) LBUG
      [ 3282.360918] Pid: 6600, comm: mdt00_002 3.10.0-1062.9.1.el7.x86_64.debug #1 SMP Mon Mar 16 12:44:56 CDT 2020
      [ 3282.363479] Call Trace:
      [ 3282.364446] [<0>] libcfs_call_trace+0x90/0xf0 [libcfs]
      [ 3282.365838] [<0>] lbug_with_loc+0x4c/0xa0 [libcfs]
      [ 3282.367380] [<0>] mdt_links_read+0x28f/0x2f0 [mdt]
      [ 3282.368693] [<0>] mdt_fid2path+0xb8a/0x1850 [mdt]
      [ 3282.370107] [<0>] mdt_get_info+0x5e0/0x6b0 [mdt]
      [ 3282.371178] [<0>] tgt_request_handle+0x94f/0x19f0 [ptlrpc]
      [ 3282.372506] [<0>] ptlrpc_server_handle_request+0x266/0xc60 [ptlrpc]
      [ 3282.374340] [<0>] ptlrpc_main+0xbf1/0x1610 [ptlrpc]
      [ 3282.375638] [<0>] kthread+0xef/0x100
      [ 3282.376628] [<0>] ret_from_fork_nospec_begin+0x21/0x21
      [ 3282.377953] [<0>] 0xfffffffffffffffe
      [ 3282.379045] Kernel panic - not syncing: LBUG
      

      Attachments

        Activity

          People

            tappro Mikhail Pershin
            jhammond John Hammond
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: