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

Protect lqe_glbl_data in qmt_site_recalc_cb with mutex

Details

    • 3
    • 9223372036854775807

    Description

      lqe_glbl_data should be protected with lqe_glbl_data_lock in qmt_site_reaclc_sb like it did in other places to avoid crashing:

       Lustre: DEBUG MARKER: lctl pool_remove lustre.qpool1 lustre-OST0005_UUID
       Lustre: DEBUG MARKER: lctl pool_remove lustre.qpool1 lustre-OST0006_UUID
       BUG: unable to handle kernel NULL pointer dereference at 00000000000000d8
       IP: [<ffffffffc10c81d8>] qmt_site_recalc_cb+0x318/0x7e0 [lquota]
       Oops: 0000 [#1] SMP 
       CPU: 1 PID: 26035 Comm: qsd_reint_qpool Kdump: loaded 3.10.0-1160.53.1.el7.x86_64 #1
       Call Trace:
        [<ffffffffc09ab7ae>] cfs_hash_for_each_tight+0x11e/0x320 [libcfs]
        [<ffffffffc09aba20>] cfs_hash_for_each+0x10/0x20 [libcfs]
        [<ffffffffc10c9df4>] qmt_pool_recalc+0xa64/0x11f0 [lquota]
        [<ffffffffad4c5e61>] kthread+0xd1/0xe0
      

      Attachments

        Issue Links

          Activity

            [LU-16772] Protect lqe_glbl_data in qmt_site_recalc_cb with mutex
            pjones Peter Jones made changes -
            Link New: This issue is related to NCP-67 [ NCP-67 ]
            scherementsev Sergey Cheremencev made changes -
            Link New: This issue is duplicated by DDN-5052 [ DDN-5052 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.15.5 [ 16491 ]

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/53284/
            Subject: LU-16772 quota: protect lqe_glbl_data in qmt_site_recalc_cb
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set:
            Commit: 197e9aa693ed6eaef7b358a8f4afca4e50e80bd2

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/53284/ Subject: LU-16772 quota: protect lqe_glbl_data in qmt_site_recalc_cb Project: fs/lustre-release Branch: b2_15 Current Patch Set: Commit: 197e9aa693ed6eaef7b358a8f4afca4e50e80bd2

            "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53284
            Subject: LU-16772 quota: protect lqe_glbl_data in qmt_site_recalc_cb
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set: 1
            Commit: 55e7f2a569d33db0f2aea02571e3abadccf6fc11

            gerrit Gerrit Updater added a comment - "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53284 Subject: LU-16772 quota: protect lqe_glbl_data in qmt_site_recalc_cb Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: 55e7f2a569d33db0f2aea02571e3abadccf6fc11
            cfaber Colin Faber made changes -
            Link New: This issue is related to DDN-4048 [ DDN-4048 ]
            cfaber Colin Faber made changes -
            Link New: This issue is related to DDN-4084 [ DDN-4084 ]
            cfaber Colin Faber made changes -
            Link New: This issue is related to LU-16725 [ LU-16725 ]
            cfaber Colin Faber made changes -
            Link Original: This issue duplicates LU-16725 [ LU-16725 ]
            anikitenko Alena Nikitenko (Inactive) made changes -
            Remote Link New: This issue links to "Page (Whamcloud Community Wiki)" [ 32083 ]

            People

              scherementsev Sergey Cheremencev
              scherementsev Sergey Cheremencev
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: