<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:21:01 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-8842] Possible incorrect handling of IT_OPEN in mdc_enqueue</title>
                <link>https://jira.whamcloud.com/browse/LU-8842</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The patch at:&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/10205/3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/10205/3&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Changes handling of IT_OPEN in mdc_enqueue:&lt;/p&gt;
&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;	&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (it != NULL) {
		LASSERT(policy == NULL);

		saved_flags |= LDLM_FL_HAS_INTENT;
		&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (it-&amp;gt;it_op &amp;amp; (IT_OPEN | IT_UNLINK | IT_GETATTR | IT_READDIR))
			policy = &amp;amp;update_policy;
		&lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (it-&amp;gt;it_op &amp;amp; IT_LAYOUT)
			policy = &amp;amp;layout_policy;
		&lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (it-&amp;gt;it_op &amp;amp; (IT_GETXATTR | IT_SETXATTR))
			policy = &amp;amp;getxattr_policy;
		&lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt;
			policy = &amp;amp;lookup_policy;
	}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Previously, IT_OPEN was not special cased, and so used the &quot;lookup_policy&quot;.&lt;/p&gt;

&lt;p&gt;This means instead of using MDS_INODELOCK_LOOKUP for the inodebits, it uses MDS_INODELOCK_UPDATE.&lt;/p&gt;

&lt;p&gt;I am not aware of any bugs this causes, but John Hammond confirmed to me this was a mistake, so I&apos;m going to push a patch to revert that part of the change.  (I found this while looking in to an issue, but this turned out not to be the cause of that issue.)&lt;/p&gt;</description>
                <environment></environment>
        <key id="41603">LU-8842</key>
            <summary>Possible incorrect handling of IT_OPEN in mdc_enqueue</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="wc-triage">WC Triage</assignee>
                                    <reporter username="paf">Patrick Farrell</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Wed, 16 Nov 2016 15:31:53 +0000</created>
                <updated>Sat, 8 Jul 2017 01:50:12 +0000</updated>
                            <resolved>Sat, 17 Dec 2016 15:17:58 +0000</resolved>
                                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="173839" author="gerrit" created="Wed, 16 Nov 2016 15:37:41 +0000"  >&lt;p&gt;Patrick Farrell (paf@cray.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/23797&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/23797&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8842&quot; title=&quot;Possible incorrect handling of IT_OPEN in mdc_enqueue&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8842&quot;&gt;&lt;del&gt;LU-8842&lt;/del&gt;&lt;/a&gt; mdc: Make IT_OPEN take lookup bits lock&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 8533d52cc8d33d3e92c8ccbe0a4de543f6560867&lt;/p&gt;</comment>
                            <comment id="178223" author="gerrit" created="Sat, 17 Dec 2016 05:48:01 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/23797/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/23797/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8842&quot; title=&quot;Possible incorrect handling of IT_OPEN in mdc_enqueue&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8842&quot;&gt;&lt;del&gt;LU-8842&lt;/del&gt;&lt;/a&gt; mdc: Make IT_OPEN take lookup bits lock&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 9c7cfa1f02769e0cfc51a03f1adfb14abdcc38cf&lt;/p&gt;</comment>
                            <comment id="178280" author="pjones" created="Sat, 17 Dec 2016 15:17:58 +0000"  >&lt;p&gt;Landed for 2.10&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|hzyvtr:</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>