<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:00:47 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-13380] CLIO: struct cl_io &quot;setattr&quot; attribute not getting copied to sub_io</title>
                <link>https://jira.whamcloud.com/browse/LU-13380</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This was see while working on &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3606&quot; title=&quot;Implement fallocate() support for ldiskfs Lustre&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3606&quot;&gt;&lt;del&gt;LU-3606&lt;/del&gt;&lt;/a&gt;. For calls like falloc(), or any call which piggy backs behind SETTER interface and depends upon these attributes. It was noticed that the attributes was not explicitly copied to sub_io under lov_io_sub_init(). This was resulting in attributes under &quot;cl_io.ci_setattr&quot; coming out as 0 as it enters OSC layer. Resulting in osc_io_setattr_start() getting attributes as all 0.&lt;/p&gt;</description>
                <environment></environment>
        <key id="58467">LU-13380</key>
            <summary>CLIO: struct cl_io &quot;setattr&quot; attribute not getting copied to sub_io</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="6">Not a Bug</resolution>
                                        <assignee username="wshilong">Wang Shilong</assignee>
                                    <reporter username="arshad512">Arshad Hussain</reporter>
                        <labels>
                    </labels>
                <created>Sun, 22 Mar 2020 10:09:02 +0000</created>
                <updated>Sun, 22 Mar 2020 20:56:49 +0000</updated>
                            <resolved>Sun, 22 Mar 2020 20:56:49 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="265830" author="arshad512" created="Sun, 22 Mar 2020 10:11:11 +0000"  >&lt;p&gt;Patch coming up in next 10 mins...&lt;/p&gt;</comment>
                            <comment id="265831" author="gerrit" created="Sun, 22 Mar 2020 10:24:57 +0000"  >&lt;p&gt;Arshad Hussain (arshad.super@gmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/38023&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38023&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13380&quot; title=&quot;CLIO: struct cl_io &amp;quot;setattr&amp;quot; attribute not getting copied to sub_io&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13380&quot;&gt;&lt;del&gt;LU-13380&lt;/del&gt;&lt;/a&gt; clio: Explicitly copy &quot;setattr&quot; attribute to sub_io&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 31822eb306217b98480036a271a00698ca870e82&lt;/p&gt;</comment>
                            <comment id="265833" author="wshilong" created="Sun, 22 Mar 2020 13:44:33 +0000"  >&lt;p&gt;As commented in the patch, this is not the bug existed for current codes.&lt;/p&gt;

&lt;p&gt;If you add any new field into setattr, you need properly inherit it from parents, and the corresponding codes are handled in&lt;br/&gt;
lov_io_sub_inherit(), i think this is defect from new support but not existed bug.&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="265835" author="arshad512" created="Sun, 22 Mar 2020 20:53:37 +0000"  >&lt;p&gt;Wang Shilong, Thanks for your review! I was clearly missing this part.&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|i00w2v:</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>