<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:47:49 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-5016] clean up use of la_attr for non-attribute flags</title>
                <link>https://jira.whamcloud.com/browse/LU-5016</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;It seems that &lt;tt&gt;lu_attr-&amp;gt;la_flags&lt;/tt&gt; is being mis-used in the OSP and OUT code to pass the &quot;directory in use&quot; state from OUT to OSP:&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; out_attr_get(struct tgt_session_info *tsi)
{
        /*      
         * If it is a directory, we will also check whether the
         * directory is empty.
         * la_flags = 0 : Empty.
         *          = 1 : Not empty.
         */     
        la-&amp;gt;la_flags = 0;
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (S_ISDIR(la-&amp;gt;la_mode)) {
                :
                :
                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (result == 0)
                        la-&amp;gt;la_flags = 1;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;However, this breaks the ability to return the actual attributes from a remote directory (e.g. LUSTRE_IMMUTABLE_FL, LUSTRE_APPEND_FL, LUSTRE_NOATIME_FL, LUSTRE_DIRSYNC_FL, etc) that are returned in la_flags from osd_attr_get() using the OUT interface.&lt;/p&gt;</description>
                <environment></environment>
        <key id="24589">LU-5016</key>
            <summary>clean up use of la_attr for non-attribute flags</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="wc-triage">WC Triage</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>dne2</label>
                    </labels>
                <created>Tue, 6 May 2014 19:21:35 +0000</created>
                <updated>Thu, 26 Feb 2015 22:15:01 +0000</updated>
                            <resolved>Thu, 8 May 2014 07:10:58 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                    <version>Lustre 2.7.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="83343" author="bzzz" created="Tue, 6 May 2014 19:23:33 +0000"  >&lt;p&gt;AFAIU, Di has developed index iteration which should replace this special flag (and solve yet another issue where that flag isn&apos;t protected with LDLM).&lt;/p&gt;</comment>
                            <comment id="83356" author="di.wang" created="Tue, 6 May 2014 20:34:55 +0000"  >&lt;p&gt;yes, this should be removed after 9511 is landed, I will post a patch.&lt;/p&gt;</comment>
                            <comment id="83479" author="di.wang" created="Thu, 8 May 2014 07:10:58 +0000"  >&lt;p&gt;the patch(9511) has been landed to master&lt;/p&gt;</comment>
                            <comment id="108176" author="adilger" created="Thu, 26 Feb 2015 22:14:53 +0000"  >&lt;p&gt;This issue was fixed under &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4690&quot; title=&quot;sanity test_4: Expect error removing in-use dir /mnt/lustre/remote_dir&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4690&quot;&gt;&lt;del&gt;LU-4690&lt;/del&gt;&lt;/a&gt; patch &lt;a href=&quot;http://review.whamcloud.com/9511&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9511&lt;/a&gt; &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="23395">LU-4690</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="24592">LU-5017</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|hzwlxz:</customfieldvalue>

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