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

expired_lock_main kernel thread should add lu_env to avoid LBUG

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      expired_lock_main kernel thread should add lu_env to avoid observed LBUG:
      .. (mdt_lvb.c:173:mdt_dom_lvbo_update()) ASSERTION( env ) failed:
      .. (mdt_lvb.c:173:mdt_dom_lvbo_update()) LBUG
      Pid: 863799, comm: ldlm_elt 4.18.0-305.10.2.x6.6.010.42.x86_64

      mdt_dom_lvbo_update() uses lu_env_find() to acquire an lu_env instance and asserts if it is not available.

      However an lu_env object was never added in the kthread so it is not surprising that it is not found via lu_env_find() leading to the above LBUG().

      [expired_lock_main]
       - class_fail_export
         - mdt_obd_disconnect
           - mdt_mfd_close
             - mdt_dom_discard_data
               - ldlm_cli_enqueue_local
                 - ldlm_lock_enqueue
                   - ldlm_handle_conflict_lock
                     - ldlm_run_ast_work
                       - ptlrpc_set_wait
                         - ptlrpc_check_set
                           - ldlm_cb_interpret
                             - ldlm_handle_ast_error
                               - mdt_dom_lvbo_update
                                 - LASSERT(env)
      

      Attachments

        Issue Links

          Activity

            [LU-18362] expired_lock_main kernel thread should add lu_env to avoid LBUG
            stancheff Shaun Tancheff added a comment - Duplicates https://jira.whamcloud.com/browse/LU-17668
            bzzz Alex Zhuravlev added a comment - please, have a look at https://review.whamcloud.com/c/fs/lustre-release/+/54642

            "Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/56662
            Subject: LU-18362 ldlm: expired_lock_main should add lu_env
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: c477379518ba81638e28b0862bb8278d215d8c08

            gerrit Gerrit Updater added a comment - "Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/56662 Subject: LU-18362 ldlm: expired_lock_main should add lu_env Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: c477379518ba81638e28b0862bb8278d215d8c08

            People

              stancheff Shaun Tancheff
              stancheff Shaun Tancheff
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: