<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:51:42 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-12338] shared key/gss code sleeps in atomic context.</title>
                <link>https://jira.whamcloud.com/browse/LU-12338</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I incorporated shared key testing into my testrig and it looks like there are several places where we sleep under spinlock when SSK is enabled:&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;[  211.138071] Lustre: DEBUG MARKER: comparing 1000 newly copied files at Sat May 25 02:59:49 EDT 2019
[  221.144833] Lustre: DEBUG MARKER: finished at Sat May 25 02:59:59 EDT 2019 (32)
[  221.579442] Lustre: 588:0:(gss_cli_upcall.c:395:gss_do_ctx_fini_rpc()) client finishing forward ctx ffff8800d4204f00 idx 0x22bcca48b310ff2 (0-&amp;gt;lustre-OST0001_UUID)
[  221.583203] Lustre: 2808:0:(sec_gss.c:1228:gss_cli_ctx_fini_common()) gss.keyring@ffff880114c0cc00: destroy ctx ffff8800d4204f00(0-&amp;gt;lustre-OST0001_UUID)
[  221.587574] BUG: sleeping function called from invalid context at /home/green/git/lustre-release/lustre/ptlrpc/sec_gc.c:79
[  221.591244] in_atomic(): 1, irqs_disabled(): 0, pid: 2808, name: socknal_sd01_00
[  221.592958] CPU: 4 PID: 2808 Comm: socknal_sd01_00 Kdump: loaded Tainted: G           OE  ------------   3.10.0-7.6-debug #4
[  221.595999] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[  221.597611] Call Trace:
[  221.598437]  [&amp;lt;ffffffff817b2bf2&amp;gt;] dump_stack+0x19/0x1b
[  221.599896]  [&amp;lt;ffffffff810c3bc9&amp;gt;] __might_sleep+0xd9/0x100
[  221.601459]  [&amp;lt;ffffffffa04e8202&amp;gt;] sptlrpc_gc_del_sec+0x32/0x110 [ptlrpc]
[  221.603125]  [&amp;lt;ffffffffa04dd359&amp;gt;] sptlrpc_sec_put+0x29/0x70 [ptlrpc]
[  221.605025]  [&amp;lt;ffffffffa072c5f7&amp;gt;] ctx_destroy_kr+0xc7/0x300 [ptlrpc_gss]
[  221.606808]  [&amp;lt;ffffffffa072cc9d&amp;gt;] gss_sec_release_ctx_kr+0x2d/0xa0 [ptlrpc_gss]
[  221.608511]  [&amp;lt;ffffffffa04dc792&amp;gt;] sptlrpc_cli_ctx_put+0x42/0xb0 [ptlrpc]
[  221.609902]  [&amp;lt;ffffffffa04de5b1&amp;gt;] sptlrpc_req_put_ctx+0x91/0x1e0 [ptlrpc]
[  221.611295]  [&amp;lt;ffffffffa04a1258&amp;gt;] __ptlrpc_req_finished+0x248/0x750 [ptlrpc]
[  221.613196]  [&amp;lt;ffffffffa04a1770&amp;gt;] ptlrpc_req_finished+0x10/0x20 [ptlrpc]
[  221.615457]  [&amp;lt;ffffffffa04b8505&amp;gt;] request_out_callback+0xc5/0x2a0 [ptlrpc]
[  221.618027]  [&amp;lt;ffffffffa04b804a&amp;gt;] ptlrpc_master_callback+0x2a/0xc0 [ptlrpc]
[  221.620624]  [&amp;lt;ffffffffa01af73b&amp;gt;] lnet_eq_enqueue_event+0x2b/0x140 [lnet]
[  221.622914]  [&amp;lt;ffffffffa01ac32e&amp;gt;] lnet_detach_md+0xde/0x170 [lnet]
[  221.625034]  [&amp;lt;ffffffffa01ae692&amp;gt;] lnet_finalize+0x602/0x7c0 [lnet]
[  221.626357]  [&amp;lt;ffffffffa00f69ce&amp;gt;] ksocknal_tx_done+0x9e/0x1f0 [ksocklnd]
[  221.627867]  [&amp;lt;ffffffffa00fb8d0&amp;gt;] ksocknal_scheduler+0x350/0xd60 [ksocklnd]
[  221.629275]  [&amp;lt;ffffffff810b6050&amp;gt;] ? wake_up_atomic_t+0x30/0x30
[  221.630491]  [&amp;lt;ffffffffa00fb580&amp;gt;] ? ksocknal_recv+0x2a0/0x2a0 [ksocklnd]
[  221.631926]  [&amp;lt;ffffffff810b4ed4&amp;gt;] kthread+0xe4/0xf0
[  221.632967]  [&amp;lt;ffffffff810b4df0&amp;gt;] ? kthread_create_on_node+0x140/0x140
[  221.634247]  [&amp;lt;ffffffff817c7c77&amp;gt;] ret_from_fork_nospec_begin+0x21/0x21
[  221.635488]  [&amp;lt;ffffffff810b4df0&amp;gt;] ? kthread_create_on_node+0x140/0x140
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is in runtests.&lt;/p&gt;

&lt;p&gt;Here&apos;s the full report, the sleeping is only on the client: &lt;a href=&quot;http://testing.linuxhacker.ru:3333/lustre-reports/274/testresults/runtests-ssk-ldiskfs-ldiskfs-SSK-centos7_x86_64-centos7_x86_64/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://testing.linuxhacker.ru:3333/lustre-reports/274/testresults/runtests-ssk-ldiskfs-ldiskfs-SSK-centos7_x86_64-centos7_x86_64/&lt;/a&gt;&lt;/p&gt;
</description>
                <environment></environment>
        <key id="55751">LU-12338</key>
            <summary>shared key/gss code sleeps in atomic context.</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="sebastien">Sebastien Buisson</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Sat, 25 May 2019 07:10:31 +0000</created>
                <updated>Mon, 7 Oct 2019 01:38:29 +0000</updated>
                                            <version>Lustre 2.13.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="255978" author="adilger" created="Mon, 7 Oct 2019 01:38:29 +0000"  >&lt;p&gt;Still seeing this with current master.&lt;/p&gt;</comment>
                    </comments>
                    <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|i00gz3:</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>