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

lu_ref_add() called in atomic context

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0, Lustre 2.15.0
    • Lustre 2.15.0
    • None
    • 3
    • 9223372036854775807

    Description

      With the reintroduction of lu_ref to the native Linux client I turned on this functionality and started to test it. In my testing I saw the following errors:

      [ 2885.946815] Call Trace:

      [ 2885.951240]  dump_stack+0x68/0x9b

      [ 2885.956523]  ___might_sleep+0x205/0x260

      [ 2885.962245]  lu_ref_add+0x25/0x40 [obdclass]

      [ 2885.968442]  vvp_pgcache_current+0x101/0x1a0 [lustre]

      [ 2885.975370]  seq_read+0x1ab/0x3c0

       

      and

       

      [ 7042.102529]  dump_stack+0x68/0x9b

      [ 7042.107328]  ___might_sleep+0x205/0x260

      [ 7042.112647]  lu_ref_add+0x25/0x40 [obdclass]

      [ 7042.118385]  mdc_lock_upcall+0x154/0x4d0 [mdc]

      [ 7042.124275]  mdc_enqueue_send+0x508/0x580 [mdc]

      [ 7042.130225]  ? mdc_lock_lvb_update+0x280/0x280 [mdc]

       

      Its an easy fix that is missed since lu_ref is never tested on the OpenSFS branch.

      Attachments

        Activity

          [LU-15014] lu_ref_add() called in atomic context

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/44975/
          Subject: LU-15014 osc: Fix possible null pointer
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 20b56835b82c5d21c51ab981e441c7607a5eaae5

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/44975/ Subject: LU-15014 osc: Fix possible null pointer Project: fs/lustre-release Branch: master Current Patch Set: Commit: 20b56835b82c5d21c51ab981e441c7607a5eaae5

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44969/
          Subject: LU-15014 obdclass: lu_ref_add() called in atomic context
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 5a37bc9577d4c871cd468ca67b2c2d04aed9921f

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44969/ Subject: LU-15014 obdclass: lu_ref_add() called in atomic context Project: fs/lustre-release Branch: master Current Patch Set: Commit: 5a37bc9577d4c871cd468ca67b2c2d04aed9921f

          "Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/44975
          Subject: LU-15014 osc: Fix possible null pointer
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 518f9ff165c6c9ddc68689d25194a344a8de8fbc

          gerrit Gerrit Updater added a comment - "Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/44975 Subject: LU-15014 osc: Fix possible null pointer Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 518f9ff165c6c9ddc68689d25194a344a8de8fbc

          "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/44969
          Subject: LU-15014 obdclass: lu_ref_add() called in atomic context
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: c94782ec53c248183e257d4e76b9acd096c1f998

          gerrit Gerrit Updater added a comment - "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/44969 Subject: LU-15014 obdclass: lu_ref_add() called in atomic context Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: c94782ec53c248183e257d4e76b9acd096c1f998

          People

            simmonsja James A Simmons
            simmonsja James A Simmons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: