<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:37:04 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-3806] separate SESSION FLAG for server and client stack.</title>
                <link>https://jira.whamcloud.com/browse/LU-3806</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In ptlrpc_server_handle_request, it init the session key for each request,&lt;/p&gt;

&lt;p&gt;rc = lu_context_init(&amp;amp;request-&amp;gt;rq_session, LCT_SESSION | LCT_NOREF);&lt;/p&gt;

&lt;p&gt;But the session on client stack share the same flag(LCT_SESSION), which will make the server allocates client stack session info for each request, if we put server and client on the same node.&lt;/p&gt;

&lt;p&gt;&quot;&lt;br/&gt;
00000100:00000040:1.0:1376984745.821299:0:4570:0:(service.c:1768:ptlrpc_server_request_get()) RPC GETting export ffff8800584a1400 : new rpc_count 1&lt;br/&gt;
00000100:00000001:1.0:1376984745.821300:0:4570:0:(service.c:1770:ptlrpc_server_request_get()) Process leaving (rc=18446612134365602816 : -131939343948800 : ffff88007a45a400)&lt;br/&gt;
00000100:00000040:1.0:1376984745.821301:0:4570:0:(lustre_net.h:3281:ptlrpc_rqphase_move()) @@@ move req &quot;New&quot; &lt;del&gt;&amp;gt; &quot;Interpret&quot;  req@ffff88007a45a400 x1443873055311032/t0(0) o36&lt;/del&gt;&amp;gt;3bbcfa2a-42a0-4600-a8c2-72e622f1a5b4@0@lo:0/0 lens 488/0 e 0 to 0 dl 1376984751 ref 1 fl New:/0/ffffffff rc 0/-1&lt;br/&gt;
00000020:00000010:1.0:1376984745.821304:0:4570:0:(lu_object.c:1639:keys_init()) kmalloced &apos;ctx-&amp;gt;lc_value&apos;: 320 at ffff8800584c4a00.&lt;br/&gt;
02000000:00000010:1.0:1376984745.821305:0:4570:0:(capa.c:416:lu_capainfo_key_init()) kmalloced &apos;value&apos;: 128 at ffff8800585a5b40.&lt;br/&gt;
00000020:00000010:1.0:1376984745.821307:0:4570:0:(lu_ucred.c:53:lu_ucred_key_init()) kmalloced &apos;value&apos;: 72 at ffff8800585a5640.&lt;br/&gt;
00000020:00000010:1.0:1376984745.821308:0:4570:0:(tgt_main.c:131:tgt_ses_key_init()) kmalloced &apos;value&apos;: 56 at ffff880058828c80.&lt;br/&gt;
00000008:00000010:1.0:1376984745.821309:0:4570:0:(osc_dev.c:149:osc_session_init()) slab-alloced &apos;info&apos;: 424 at ffff880053edba48.&lt;br/&gt;
00020000:00000010:1.0:1376984745.821311:0:4570:0:(lov_dev.c:173:lov_session_key_init()) slab-alloced &apos;info&apos;: 400 at ffff8800584821e8.&lt;br/&gt;
00008000:00000010:1.0:1376984745.821312:0:4570:0:(echo_client.c:710:echo_session_key_init()) slab-alloced &apos;session&apos;: 8 at ffff88007cd515f8.&lt;br/&gt;
00000080:00000010:1.0:1376984745.821314:0:4570:0:(lcommon_cl.c:154:ccc_session_key_init()) slab-alloced &apos;session&apos;: 184 at ffff88007a6e5928.&lt;br/&gt;
00000080:00000010:1.0:1376984745.821316:0:4570:0:(vvp_dev.c:104:vvp_session_key_init()) slab-alloced &apos;session&apos;: 104 at ffff88007c5e2748.&lt;br/&gt;
00000100:00000200:1.0:1376984745.821316:0:4570:0:(service.c:1977:ptlrpc_server_handle_request()) got req 1443873055311032&lt;br/&gt;
&quot;&lt;/p&gt;

&lt;p&gt;Though this happens rarely in the real world, we still should fix it. &lt;/p&gt;

</description>
                <environment></environment>
        <key id="20530">LU-3806</key>
            <summary>separate SESSION FLAG for server and client stack.</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="di.wang">Di Wang</assignee>
                                    <reporter username="di.wang">Di Wang</reporter>
                        <labels>
                            <label>mn4</label>
                    </labels>
                <created>Wed, 21 Aug 2013 07:51:18 +0000</created>
                <updated>Fri, 7 Feb 2014 08:50:23 +0000</updated>
                            <resolved>Wed, 5 Feb 2014 17:00:20 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                    <fixVersion>Lustre 2.5.1</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="64715" author="di.wang" created="Wed, 21 Aug 2013 07:58:46 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/7412&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7412&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="76277" author="pjones" created="Wed, 5 Feb 2014 17:00:20 +0000"  >&lt;p&gt;Landed for 2.6. May consider for b2_4 and/or b2_5&lt;/p&gt;</comment>
                            <comment id="76449" author="yujian" created="Fri, 7 Feb 2014 08:50:23 +0000"  >&lt;p&gt;Patch was cherry-picked to Lustre b2_5 branch.&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|hzvyrj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9835</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>