<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:31:40 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-3181] open by FID for write with O_LOV_DELAY_CREATE fails for files on MDT1</title>
                <link>https://jira.whamcloud.com/browse/LU-3181</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;mdt_cross_open() uses a slightly different test than is used elsewhere to detect nefarious attempts at creating striping by opening files for write using their FIDs.&lt;/p&gt;

&lt;p&gt;For files on MDT0 this is handled &quot;correctly&quot;:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# MDSCOUNT=2 llmount.sh
# cd /mnt/lustre
# multiop f0 m
# lfs path2fid f0
[0x280000400:0x1:0x0]
# multiop .lustre/fid/[0x280000400:0x1:0x0] oO_WRONLY:O_LOV_DELAY_CREATE
# lfs setstripe -c2 .lustre/fid/[0x280000400:0x1:0x0]
# lfs getstripe .lustre/fid/[0x280000400:0x1:0x0]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Now for a file on MDT1:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# lfs mkdir -i1 d1
# multiop d1/f1 m
# lfs path2fid d1/f1
[0x2c0000400:0x2:0x0]
# multiop .lustre/fid/[0x2c0000400:0x2:0x0] oO_WRONLY:O_LOV_DELAY_CREATE
open: Operation not permitted
# lfs setstripe -c2 .lustre/fid/[0x2c0000400:0x2:0x0]
unable to open &apos;.lustre/fid/[0x2c0000400:0x2:0x0]&apos;: Operation not permitted (1)
error: setstripe: create stripe file &apos;.lustre/fid/[0x2c0000400:0x2:0x0]&apos; failed
# lfs getstripe .lustre/fid/[0x2c0000400:0x2:0x0]
.lustre/fid/[0x2c0000400:0x2:0x0] has no stripe info
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I think that all these checks for fid_is_obf() are somewhat silly and that users of .lustre/fid should just be expected to use O_LOV_DELAY_CREATE.&lt;/p&gt;</description>
                <environment></environment>
        <key id="18431">LU-3181</key>
            <summary>open by FID for write with O_LOV_DELAY_CREATE fails for files on MDT1</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>
                            <label>mdt</label>
                            <label>patch</label>
                    </labels>
                <created>Tue, 16 Apr 2013 19:20:52 +0000</created>
                <updated>Wed, 11 Feb 2015 16:58:18 +0000</updated>
                            <resolved>Wed, 11 Feb 2015 16:58:18 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="74398" author="spimpale" created="Mon, 6 Jan 2014 14:33:47 +0000"  >&lt;p&gt;mdt_cross_open() should allow opening by FIDs in .lustre/fid&lt;br/&gt;
Removed the fid_is_obf() check from this function&lt;/p&gt;

&lt;p&gt;Patch: &lt;a href=&quot;http://review.whamcloud.com/#/c/8738/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8738/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="106646" author="jlevi" created="Wed, 11 Feb 2015 16:58:18 +0000"  >&lt;p&gt;Patch landed to Master.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="18707">LU-3272</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|hzvo9r:</customfieldvalue>

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