<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:28:46 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-2853] osc send list corruption</title>
                <link>https://jira.whamcloud.com/browse/LU-2853</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;after landing &lt;br/&gt;
Author: jxiong &amp;lt;jxiong&amp;gt;  2009-08-28 06:05:01&lt;br/&gt;
Committer: jxiong &amp;lt;jxiong&amp;gt;  2009-08-28 06:05:01&lt;br/&gt;
Parent: f907343dc34ac32bde1a56030d9994fa024a2874 (b=19955)&lt;br/&gt;
Child:  2b87d9a6d9eefab2209030b167df7998c3d4c1d0 (b=20131)&lt;br/&gt;
Precedes: v1_10_0_32, v1_9_251, v1_9_260, v1_9_270, v1_9_280, v1_9_290&lt;/p&gt;

&lt;p&gt;    b=18881&lt;br/&gt;
    r=wangdi,eric.mei&lt;/p&gt;

&lt;p&gt;we have an unprotected call for loi_list_maint&lt;/p&gt;

&lt;p&gt;@@ -2523,7 +2532,7 @@ osc_send_oap_rpc(const struct lu_env *env, struct client_obd *cli,&lt;br/&gt;
         req = osc_build_req(env, cli, &amp;amp;rpc_list, page_count, cmd);&lt;br/&gt;
         if (IS_ERR(req)) &lt;/p&gt;
{
                 LASSERT(list_empty(&amp;amp;rpc_list));
-                /* loi_list_maint(cli, loi); */
+                loi_list_maint(cli, loi);
                 RETURN(PTR_ERR(req));
         }

&lt;p&gt;which modify a loi list without holding a cl_loi_list_lock - so open for races.&lt;br/&gt;
that race may caused &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2797&quot; title=&quot;GPF in osc_send_oap_rpc&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2797&quot;&gt;&lt;del&gt;LU-2797&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="17668">LU-2853</key>
            <summary>osc send list corruption</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="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="bfaccini">Bruno Faccini</assignee>
                                    <reporter username="shadow">Alexey Lyashkov</reporter>
                        <labels>
                    </labels>
                <created>Fri, 22 Feb 2013 08:29:08 +0000</created>
                <updated>Fri, 22 Feb 2013 17:33:35 +0000</updated>
                            <resolved>Fri, 22 Feb 2013 13:14:01 +0000</resolved>
                                    <version>Lustre 2.0.0</version>
                    <version>Lustre 2.1.0</version>
                    <version>Lustre 2.2.0</version>
                    <version>Lustre 2.3.0</version>
                    <version>Lustre 2.4.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="52867" author="shadow" created="Fri, 22 Feb 2013 08:40:04 +0000"  >&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;      req = osc_build_req(env, cli, &amp;amp;rpc_list, page_count, cmd);
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (IS_ERR(req)) {
                LASSERT(list_empty(&amp;amp;rpc_list));
-                &lt;span class=&quot;code-comment&quot;&gt;/* loi_list_maint(cli, loi); */&lt;/span&gt;
+                loi_list_maint(cli, loi);
                RETURN(PTR_ERR(req));
        }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="52875" author="bfaccini" created="Fri, 22 Feb 2013 10:21:46 +0000"  >&lt;p&gt;Since I am in charge of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2797&quot; title=&quot;GPF in osc_send_oap_rpc&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2797&quot;&gt;&lt;del&gt;LU-2797&lt;/del&gt;&lt;/a&gt;, I am taking this one too.&lt;br/&gt;
Alexey, thank&apos;s already to point this!&lt;/p&gt;</comment>
                            <comment id="52886" author="bfaccini" created="Fri, 22 Feb 2013 12:52:59 +0000"  >&lt;p&gt;But in fact looking into the code, I think it is more complex, seems to me that it is assumed we also need to return back to osc_check_rpcs() with cl_loi_list_lock set anyway.&lt;br/&gt;
Thus the fix would better look like to add a client_obd_list_lock(&amp;amp;cli-&amp;gt;cl_loi_list_lock) before loi_list_maint() call.&lt;/p&gt;</comment>
                            <comment id="52888" author="jlevi" created="Fri, 22 Feb 2013 13:14:01 +0000"  >&lt;p&gt;Duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2797&quot; title=&quot;GPF in osc_send_oap_rpc&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2797&quot;&gt;&lt;del&gt;LU-2797&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="17534">LU-2797</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hzvjnr:</customfieldvalue>

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