<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:10: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-825] lfs getstrip fails on a file when parent dir cannot be read.</title>
                <link>https://jira.whamcloud.com/browse/LU-825</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;to reproduce:&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;[build@rhel6_21 ~]$ mkdir -p /mnt/lustre/foo/bar
[build@rhel6_21 ~]$ touch /mnt/lustre/foo/bar/baz
[build@rhel6_21 ~]$ chmod ugo-r /mnt/lustre/foo/bar
[build@rhel6_21 ~]$ lfs getstripe /mnt/lustre/foo/bar/baz
error: getstripe failed &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; /mnt/lustre/foo/bar/baz.
[build@rhel6_21 ~]$ 
[build@rhel6_21 ~]$ 
[build@rhel6_21 ~]$ 
[build@rhel6_21 ~]$ # check that the file is really ok:
[build@rhel6_21 ~]$ stat /mnt/lustre/foo/bar/baz
  File: `/mnt/lustre/foo/bar/baz&apos;
  Size: 0         	Blocks: 0          IO Block: 2097152 regular empty file
Device: 2c54f966h/743766374d	Inode: 144115205255725059  Links: 1
Access: (0664/-rw-rw-r--)  Uid: (  500/   build)   Gid: (  500/   build)
Access: 2011-11-04 20:50:11.000000000 -0400
Modify: 2011-11-04 20:50:11.000000000 -0400
Change: 2011-11-04 20:50:11.000000000 -0400


&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;This is effect is most likely caused by the implementation of &lt;tt&gt;getstripe&lt;/tt&gt; within &lt;tt&gt;lfs&lt;/tt&gt;. When &lt;tt&gt;getstripe&lt;/tt&gt; is called with against a file, &lt;tt&gt;getstripe&lt;/tt&gt; opens the parent directory of the file in question.&lt;/p&gt;</description>
                <environment></environment>
        <key id="12346">LU-825</key>
            <summary>lfs getstrip fails on a file when parent dir cannot be read.</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="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="2">Won&apos;t Fix</resolution>
                                        <assignee username="rhenwood">Richard Henwood</assignee>
                                    <reporter username="rhenwood">Richard Henwood</reporter>
                        <labels>
                    </labels>
                <created>Fri, 4 Nov 2011 16:52:19 +0000</created>
                <updated>Tue, 3 Feb 2015 22:15:29 +0000</updated>
                            <resolved>Tue, 3 Feb 2015 22:15:21 +0000</resolved>
                                    <version>Lustre 2.0.0</version>
                    <version>Lustre 2.1.0</version>
                    <version>Lustre 2.2.0</version>
                    <version>Lustre 1.8.7</version>
                    <version>Lustre 1.8.6</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="22650" author="rhenwood" created="Mon, 7 Nov 2011 13:22:39 +0000"  >&lt;p&gt;After discussion with Andreas: the current implementation avoids instantiating inodes on the client for every single file that is found by &lt;tt&gt;lfs getstripe -r&lt;/tt&gt;.  Otherwise, if each file is opened to do an ioctl to get the layout, this will increase the RPC traffic to the client dramatically&lt;/p&gt;</comment>
                            <comment id="22827" author="rhenwood" created="Thu, 10 Nov 2011 14:33:03 +0000"  >&lt;p&gt;Will this implementation (opening the parent dir) play nicely with DNE - when it lands?&lt;/p&gt;</comment>
                            <comment id="105610" author="rhenwood" created="Tue, 3 Feb 2015 22:15:21 +0000"  >&lt;p&gt;I haven&apos;t had any interest in this in 3 years, so I&apos;m closing it.&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|hzw2fr:</customfieldvalue>

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