<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:03:25 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-13693] lfs getstripe should avoid opening regular files</title>
                <link>https://jira.whamcloud.com/browse/LU-13693</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;&lt;tt&gt;lfs getstripe&lt;/tt&gt; uses an ioctl on the parent directory to get the file striping but still opens the file to call the &lt;tt&gt;OBD_IOC_GETNAME&lt;/tt&gt; ioctl in &lt;tt&gt;get_mds_md_size()&lt;/tt&gt;. Rather than doing this we should just use a large enough size for the lum buffer.  This avoids interfering with existing file locks and leases on the file.&lt;/p&gt;</description>
                <environment></environment>
        <key id="59627">LU-13693</key>
            <summary>lfs getstripe should avoid opening regular files</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="jhammond">John Hammond</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                    </labels>
                <created>Wed, 17 Jun 2020 23:31:03 +0000</created>
                <updated>Sat, 4 Dec 2021 22:43:35 +0000</updated>
                            <resolved>Tue, 23 Jun 2020 13:04:45 +0000</resolved>
                                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="273200" author="gerrit" created="Thu, 18 Jun 2020 15:21:31 +0000"  >&lt;p&gt;John L. Hammond (jhammond@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/38979&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38979&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13693&quot; title=&quot;lfs getstripe should avoid opening regular files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13693&quot;&gt;&lt;del&gt;LU-13693&lt;/del&gt;&lt;/a&gt; lfs: avoid opening regular files for getstripe&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 9f8dce9f48ec3078fc798393e75ccd276bc30948&lt;/p&gt;</comment>
                            <comment id="273251" author="adilger" created="Thu, 18 Jun 2020 23:30:01 +0000"  >&lt;p&gt;Does it make sense to check in &lt;tt&gt;ll_lov_getstripe_ea_info()&lt;/tt&gt; if the filename is already in the client dcache and get the xattr directly from the client cache, something like:&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;
        qstr = QSTR_INIT(filename, strlen(filename));
        dchild = d_lookup(dparent, &amp;amp;qstr);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;(&lt;tt&gt;dparent&lt;/tt&gt; can be passed from the caller).  The benefit of this would depend on whether the file is typically already present on the client when &quot;&lt;tt&gt;lfs getstripe&lt;/tt&gt;&quot; is called or not, but the dcache lookup would be much lower overhead than an RPC (an O(1) lockless hash table lookup for the dcache these days).&lt;/p&gt;</comment>
                            <comment id="273557" author="gerrit" created="Tue, 23 Jun 2020 08:12:52 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/38979/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38979/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13693&quot; title=&quot;lfs getstripe should avoid opening regular files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13693&quot;&gt;&lt;del&gt;LU-13693&lt;/del&gt;&lt;/a&gt; lfs: avoid opening regular files for getstripe&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 3eff6bada2bc789fe6089e792e4043ef7ec8396f&lt;/p&gt;</comment>
                            <comment id="273581" author="pjones" created="Tue, 23 Jun 2020 13:04:45 +0000"  >&lt;p&gt;Landed for 2.14&lt;/p&gt;</comment>
                            <comment id="273606" author="gerrit" created="Tue, 23 Jun 2020 18:04:02 +0000"  >&lt;p&gt;John L. Hammond (jhammond@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/39159&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39159&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13693&quot; title=&quot;lfs getstripe should avoid opening regular files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13693&quot;&gt;&lt;del&gt;LU-13693&lt;/del&gt;&lt;/a&gt; lfs: check early for MDS_OPEN_DIRECTORY&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 9f9de2072416a3f66583c4cbfb3d405abe2f3f13&lt;/p&gt;</comment>
                            <comment id="274433" author="gerrit" created="Sat, 4 Jul 2020 03:05:54 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/39159/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39159/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13693&quot; title=&quot;lfs getstripe should avoid opening regular files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13693&quot;&gt;&lt;del&gt;LU-13693&lt;/del&gt;&lt;/a&gt; lfs: check early for MDS_OPEN_DIRECTORY&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 3ea729fe822d3c39df6d8a5fb530dd8a6901c91c&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="63856">LU-14623</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="62308">LU-14322</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="53008">LU-11264</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="59547">LU-13668</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|i01333:</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>