<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:29:53 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-16772] Protect lqe_glbl_data in qmt_site_recalc_cb with mutex</title>
                <link>https://jira.whamcloud.com/browse/LU-16772</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;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:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt; 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: [&amp;lt;ffffffffc10c81d8&amp;gt;] 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:
  [&amp;lt;ffffffffc09ab7ae&amp;gt;] cfs_hash_for_each_tight+0x11e/0x320 [libcfs]
  [&amp;lt;ffffffffc09aba20&amp;gt;] cfs_hash_for_each+0x10/0x20 [libcfs]
  [&amp;lt;ffffffffc10c9df4&amp;gt;] qmt_pool_recalc+0xa64/0x11f0 [lquota]
  [&amp;lt;ffffffffad4c5e61&amp;gt;] kthread+0xd1/0xe0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="75795">LU-16772</key>
            <summary>Protect lqe_glbl_data in qmt_site_recalc_cb with mutex</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="scherementsev">Sergey Cheremencev</assignee>
                                    <reporter username="scherementsev">Sergey Cheremencev</reporter>
                        <labels>
                    </labels>
                <created>Tue, 25 Apr 2023 18:09:50 +0000</created>
                <updated>Wed, 29 Nov 2023 19:06:29 +0000</updated>
                            <resolved>Wed, 14 Jun 2023 21:58:11 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="370590" author="gerrit" created="Tue, 25 Apr 2023 19:56:01 +0000"  >&lt;p&gt;&quot;Sergey Cheremencev &amp;lt;scherementsev@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50748&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50748&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16772&quot; title=&quot;Protect lqe_glbl_data in qmt_site_recalc_cb with mutex&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16772&quot;&gt;&lt;del&gt;LU-16772&lt;/del&gt;&lt;/a&gt; quota: protect lqe_glbl_data in qmt_site_recalc_cb&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 16685410130de3a9856fd9fd2891f14afa228e94&lt;/p&gt;</comment>
                            <comment id="375453" author="gerrit" created="Wed, 14 Jun 2023 21:40:32 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50748/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50748/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16772&quot; title=&quot;Protect lqe_glbl_data in qmt_site_recalc_cb with mutex&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16772&quot;&gt;&lt;del&gt;LU-16772&lt;/del&gt;&lt;/a&gt; quota: protect lqe_glbl_data in qmt_site_recalc_cb&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 50ff4d1da63e8bc1dba4b6b52219fb7024f8d66f&lt;/p&gt;</comment>
                            <comment id="375464" author="pjones" created="Wed, 14 Jun 2023 21:58:11 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                            <comment id="376438" author="sthiell" created="Sun, 25 Jun 2023 05:29:15 +0000"  >&lt;p&gt;Hit the following MDS BUG with 2.15.3 when unmounting MDT0, that looks like &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16725&quot; title=&quot;crash at qmt_free_lqe_gd+0xa/0x1f0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16725&quot;&gt;&lt;del&gt;LU-16725&lt;/del&gt;&lt;/a&gt; (which is marked as duplicate of this LU):&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[ 9119.471374] LNet: 4131:0:(o2iblnd_cb.c:3418:kiblnd_check_conns()) Timed out tx for 10.0.10.239@o2ib7: 2 seconds
[ 9119.481457] LNet: 4131:0:(o2iblnd_cb.c:3418:kiblnd_check_conns()) Skipped 23 previous similar messages
[ 9663.994337] Lustre: Failing over fir-MDT0000
[ 9663.999333] BUG: unable to handle kernel NULL pointer dereference at           (null)
[ 9664.007214] IP: [&amp;lt;ffffffffc15f490a&amp;gt;] qmt_free_lqe_gd+0xa/0x1f0 [lquota]
[ 9664.013863] PGD 0 
[ 9664.015908] Oops: 0000 [#1] SMP 
[ 9664.019191] Modules linked in: osp(OE) mdd(OE) lod(OE) mdt(OE) lfsck(OE) mgs(OE) mgc(OE) osd_ldiskfs(OE) lquota(OE) ldiskfs(OE) lustre(OE) lmv(OE) mdc(OE) lov(OE) osc(OE) fid(OE) fld(OE) ptlrpc(OE) obdclass(OE) ko2iblnd(OE) lnet(OE) rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache libcfs(OE) sunrpc vfat fat dm_round_robin dcdbas amd64_edac_mod edac_mce_amd kvm_amd kvm irqbypass crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ses ablk_helper enclosure cryptd pcspkr sg i2c_piix4 k10temp svcrdma(OE) ccp ipmi_si ipmi_devintf ipmi_msghandler acpi_power_meter rpcrdma(OE) xprtrdma(OE) ib_isert(OE) ib_iser(OE) ib_srpt(OE) ib_srp(OE) ib_ipoib(OE) rdma_ucm(OE) ib_ucm(OE) ib_umad(OE) rdma_cm(OE) ib_cm(OE) dm_multipath iw_cm(OE) dm_mod ip_tables ext4 mbcache jbd2 sd_mod
[ 9664.091933]  crc_t10dif crct10dif_generic mlx5_ib(OE) ib_uverbs(OE) ib_core(OE) i2c_algo_bit mlx5_core(OE) drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm ahci mlxfw(OE) psample mpt3sas(OE) auxiliary(OE) devlink libahci crct10dif_pclmul libata drm tg3 mlx_compat(OE) crct10dif_common raid_class ptp crc32c_intel megaraid_sas scsi_transport_sas drm_panel_orientation_quirks pps_core
[ 9664.126449] CPU: 20 PID: 12056 Comm: ldlm_bl_02 Kdump: loaded Tainted: G           OE  ------------   3.10.0-1160.90.1.el7_lustre.pl1.x86_64 #1
[ 9664.139307] Hardware name: Dell Inc. PowerEdge R6415/065PKD, BIOS 1.20.0 05/03/2023
[ 9664.146961] task: ffff8cc2f8e73180 ti: ffff8cc2fc534000 task.ti: ffff8cc2fc534000
[ 9664.154440] RIP: 0010:[&amp;lt;ffffffffc15f490a&amp;gt;]  [&amp;lt;ffffffffc15f490a&amp;gt;] qmt_free_lqe_gd+0xa/0x1f0 [lquota]
[ 9664.163514] RSP: 0018:ffff8cc2fc537c20  EFLAGS: 00010246
[ 9664.168825] RAX: ffff8cc2f8e73180 RBX: ffff8c92cdcc0e70 RCX: ffff8cc2fc537fd8
[ 9664.175959] RDX: 0000000000000000 RSI: ffff8c83d606ca80 RDI: 0000000000000000
[ 9664.183093] RBP: ffff8cc2fc537c28 R08: ffff8cc2fc537c80 R09: ffff8cc2fc537b70
[ 9664.190223] R10: 00000000cfaae101 R11: ffff8c92cfaae6f0 R12: ffff8c83d606ca80
[ 9664.197358] R13: ffff8c92cdcc0f48 R14: 0000000000000000 R15: ffff8ca2e53875c0
[ 9664.204490] FS:  00007fdeb8ba4740(0000) GS:ffff8c92fef40000(0000) knlGS:0000000000000000
[ 9664.212576] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 9664.218322] CR2: 0000000000000000 CR3: 0000000c75a10000 CR4: 00000000003407e0
[ 9664.225456] Call Trace:
[ 9664.227918]  [&amp;lt;ffffffffc15ebb49&amp;gt;] qmt_lvbo_free+0xd9/0x380 [lquota]
[ 9664.234207]  [&amp;lt;ffffffffc1832aab&amp;gt;] mdt_lvbo_free+0x12b/0x150 [mdt]
[ 9664.240344]  [&amp;lt;ffffffffc110bda2&amp;gt;] ldlm_resource_putref+0x192/0x260 [ptlrpc]
[ 9664.247338]  [&amp;lt;ffffffffc10fff0e&amp;gt;] ldlm_lock_put+0x2fe/0x770 [ptlrpc]
[ 9664.253730]  [&amp;lt;ffffffffc1129d42&amp;gt;] ldlm_export_lock_put+0x12/0x20 [ptlrpc]
[ 9664.260525]  [&amp;lt;ffffffffc04efbd0&amp;gt;] cfs_hash_for_each_relax+0x270/0x450 [libcfs]
[ 9664.267776]  [&amp;lt;ffffffffc1108980&amp;gt;] ? ldlm_cancel_lock_for_export.isra.26+0x370/0x370 [ptlrpc]
[ 9664.276240]  [&amp;lt;ffffffffc1108980&amp;gt;] ? ldlm_cancel_lock_for_export.isra.26+0x370/0x370 [ptlrpc]
[ 9664.284684]  [&amp;lt;ffffffffc04f30e0&amp;gt;] cfs_hash_for_each_empty+0x80/0x1d0 [libcfs]
[ 9664.291852]  [&amp;lt;ffffffffc1108d22&amp;gt;] ldlm_export_cancel_locks+0xc2/0x1a0 [ptlrpc]
[ 9664.299103]  [&amp;lt;ffffffffc11356c0&amp;gt;] ldlm_bl_thread_main+0x7d0/0xb20 [ptlrpc]
[ 9664.305977]  [&amp;lt;ffffffffa7acc790&amp;gt;] ? wake_up_atomic_t+0x40/0x40
[ 9664.311843]  [&amp;lt;ffffffffc1134ef0&amp;gt;] ? ldlm_handle_bl_callback+0x400/0x400 [ptlrpc]
[ 9664.319231]  [&amp;lt;ffffffffa7acb621&amp;gt;] kthread+0xd1/0xe0
[ 9664.324111]  [&amp;lt;ffffffffa7acb550&amp;gt;] ? insert_kthread_work+0x40/0x40
[ 9664.330206]  [&amp;lt;ffffffffa81c51dd&amp;gt;] ret_from_fork_nospec_begin+0x7/0x21
[ 9664.336643]  [&amp;lt;ffffffffa7acb550&amp;gt;] ? insert_kthread_work+0x40/0x40
[ 9664.342735] Code: 00 10 00 00 00 48 c7 05 51 9a 02 00 00 00 00 00 e8 8c 65 ef fe e9 12 ff ff ff 0f 1f 80 00 00 00 00 66 66 66 66 90 55 48 89 e5 53 &amp;lt;48&amp;gt; 83 3f 00 48 89 fb 0f 84 9c 01 00 00 48 63 57 0c 48 8b 3d 3e 
[ 9664.363258] RIP  [&amp;lt;ffffffffc15f490a&amp;gt;] qmt_free_lqe_gd+0xa/0x1f0 [lquota]
[ 9664.369992]  RSP &amp;lt;ffff8cc2fc537c20&amp;gt;
[ 9664.373485] CR2: 0000000000000000
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I applied the patch above  ( &lt;a href=&quot;https://review.whamcloud.com/50748&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/50748&lt;/a&gt; ) on top of 2.15.3 and I couldn&apos;t reproduce the issue anymore, so it&apos;s a good sign.&lt;/p&gt;</comment>
                            <comment id="394773" author="gerrit" created="Wed, 29 Nov 2023 19:06:29 +0000"  >&lt;p&gt;&quot;Etienne AUJAMES &amp;lt;eaujames@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/53284&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/53284&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16772&quot; title=&quot;Protect lqe_glbl_data in qmt_site_recalc_cb with mutex&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16772&quot;&gt;&lt;del&gt;LU-16772&lt;/del&gt;&lt;/a&gt; quota: protect lqe_glbl_data in qmt_site_recalc_cb&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 55e7f2a569d33db0f2aea02571e3abadccf6fc11&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="66127">LU-15021</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="75508">LU-16725</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="62888">LU-14434</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="73390">LU-16341</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i03juf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>