<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:21:26 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-8891] disabling statahead changes dentry revalidation behavior</title>
                <link>https://jira.whamcloud.com/browse/LU-8891</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In &lt;tt&gt;ll_revalidate_dentry()&lt;/tt&gt; the test for &lt;tt&gt;LOOKUP_RCU&lt;/tt&gt; in &lt;tt&gt;lookup_flags&lt;/tt&gt; should probably go before the &lt;tt&gt;dentry_may_statahead()&lt;/tt&gt; test:&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;static&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; ll_revalidate_dentry(struct dentry *dentry,
                                unsigned &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; lookup_flags)
{
        struct inode *dir = dentry-&amp;gt;d_parent-&amp;gt;d_inode;

        /* If &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; is intermediate component path lookup and we were able to get
         * to &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; dentry, then its lock has not been revoked and the
         * path component is valid. */
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (lookup_flags &amp;amp; (LOOKUP_CONTINUE | LOOKUP_PARENT))
                &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; 1;

        &lt;span class=&quot;code-comment&quot;&gt;/* Symlink - always valid as &lt;span class=&quot;code-object&quot;&gt;long&lt;/span&gt; as the dentry was found */&lt;/span&gt;
#ifdef HAVE_IOP_GET_LINK
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (dentry-&amp;gt;d_inode &amp;amp;&amp;amp; dentry-&amp;gt;d_inode-&amp;gt;i_op-&amp;gt;get_link)
#&lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt;
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (dentry-&amp;gt;d_inode &amp;amp;&amp;amp; dentry-&amp;gt;d_inode-&amp;gt;i_op-&amp;gt;follow_link)
#endif
                &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; 1;

        /*
         * VFS warns us that &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; is the second go around and previous
         * operation failed (most likely open|creat), so &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; time
         * we better talk to the server via the lookup path by name,
         * not by fid.
         */
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (lookup_flags &amp;amp; LOOKUP_REVAL)
                &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; 0;

        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!dentry_may_statahead(dir, dentry))
                &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; 1;

#ifndef HAVE_DCACHE_LOCK
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (lookup_flags &amp;amp; LOOKUP_RCU)
                &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; -ECHILD;
#endif

        ll_statahead(dir, &amp;amp;dentry, dentry-&amp;gt;d_inode == NULL);
        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; 1;
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="41916">LU-8891</key>
            <summary>disabling statahead changes dentry revalidation behavior</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="sguminsx">Steve Guminski</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>llite</label>
                    </labels>
                <created>Thu, 1 Dec 2016 14:45:26 +0000</created>
                <updated>Tue, 13 Jun 2017 17:09:33 +0000</updated>
                            <resolved>Tue, 13 Jun 2017 17:09:33 +0000</resolved>
                                    <version>Lustre 2.9.0</version>
                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="176824" author="gerrit" created="Wed, 7 Dec 2016 13:13:23 +0000"  >&lt;p&gt;Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/24195&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/24195&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8891&quot; title=&quot;disabling statahead changes dentry revalidation behavior&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8891&quot;&gt;&lt;del&gt;LU-8891&lt;/del&gt;&lt;/a&gt; llite: Dentry revalidation checks are in wrong order&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 9acb5289fbedbc14ca5eb61ccdfa4b0ce46fb256&lt;/p&gt;</comment>
                            <comment id="199079" author="gerrit" created="Tue, 13 Jun 2017 16:55:13 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/24195/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/24195/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8891&quot; title=&quot;disabling statahead changes dentry revalidation behavior&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8891&quot;&gt;&lt;del&gt;LU-8891&lt;/del&gt;&lt;/a&gt; llite: rcu-walk check should not depend on statahead&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d054c3d4c173a41ca7c74ebe361d6de2e7aa507a&lt;/p&gt;</comment>
                            <comment id="199093" author="pjones" created="Tue, 13 Jun 2017 17:09:33 +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|hzyx5z:</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>