<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:34:56 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-3557] open(2) an existing file with O_RDONLY|O_CREAT fails with -EROFS, ro mounted client</title>
                <link>https://jira.whamcloud.com/browse/LU-3557</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Currently with a read only mount, open(2) with O_RDONLY|O_CREAT will fail with -EROFS, no matter the file exists or not.&lt;br/&gt;
If the file is already there and we don&apos;t need to create the file, we should make the open work.&lt;br/&gt;
The gcc-fortran runtime tends to add O_CREAT flag when it&apos;s trying to open a file, this prevents us from using the fortran based apps.&lt;/p&gt;</description>
                <environment></environment>
        <key id="19690">LU-3557</key>
            <summary>open(2) an existing file with O_RDONLY|O_CREAT fails with -EROFS, ro mounted client</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="emoly.liu">Emoly Liu</assignee>
                                    <reporter username="lidongyang">Li Dongyang</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Thu, 4 Jul 2013 04:25:15 +0000</created>
                <updated>Wed, 4 Sep 2013 17:16:12 +0000</updated>
                            <resolved>Sat, 17 Aug 2013 14:35:22 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.5.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="61805" author="lidongyang" created="Thu, 4 Jul 2013 04:28:18 +0000"  >&lt;p&gt;patch for master &lt;a href=&quot;http://review.whamcloud.com/6893&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/6893&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="62118" author="jlevi" created="Thu, 11 Jul 2013 15:43:19 +0000"  >&lt;p&gt;Emoly,&lt;br/&gt;
Could you have a look at this one?&lt;br/&gt;
Thank you!&lt;/p&gt;</comment>
                            <comment id="63632" author="lixi" created="Mon, 5 Aug 2013 06:58:41 +0000"  >&lt;p&gt;FYI, when opening a existed file on readonly ext3 file system, we will get following results.&lt;/p&gt;

&lt;p&gt;open(existed_file, O_RDWR | O_CREAT) -&amp;gt; -EROFS&lt;br/&gt;
open(existed_file, O_CREAT) -&amp;gt; 0&lt;br/&gt;
open(existed_file, O_WRONLY | O_CREAT) -&amp;gt; -EROFS&lt;br/&gt;
open(existed_file, O_RDONLY | O_CREAT) -&amp;gt; 0&lt;/p&gt;

&lt;p&gt;Obviously, opening a non-exist file will return EROFS no matter what the flag is.&lt;/p&gt;</comment>
                            <comment id="64433" author="emoly.liu" created="Sat, 17 Aug 2013 14:35:22 +0000"  >&lt;p&gt;patch landed for 2.5&lt;/p&gt;</comment>
                            <comment id="65755" author="ihara" created="Wed, 4 Sep 2013 17:16:12 +0000"  >&lt;p&gt;backport patches &lt;a href=&quot;http://review.whamcloud.com/#/c/7550/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7550/&lt;/a&gt; for b2_1&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|hzvunb:</customfieldvalue>

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