<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:26:28 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-9468] incorrect stat from kthread with X86_X32 architecture</title>
                <link>https://jira.whamcloud.com/browse/LU-9468</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Under the following conditions, ll_getattr will flatten the inode number when it shouldn&apos;t:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;the X86_X32 architecture is defined CONFIG_X86_X32, and not even used,&lt;/li&gt;
	&lt;li&gt;ll_getattr is called from a kernel thread (though vfs_stat for instance).&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This has the result that inode numbers are different whether the same file is stat&apos;ed from a kernel thread, or from a syscall. For instance, 4198401 vs. 144115205272502273.&lt;/p&gt;

&lt;p&gt;ll_getattr calls ll_need_32bit_api to determine whether the task is 32 bits. When the combination is kthread+X86_X32, that function returns that the task is 32 bits, which is incorrect, as the kernel is 64 bits.&lt;/p&gt;

&lt;p&gt;The solution is to check whether the call is from a kernel thread (which is 64 bits) and act consequently.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="45923">LU-9468</key>
            <summary>incorrect stat from kthread with X86_X32 architecture</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="fzago">Frank Zago</assignee>
                                    <reporter username="fzago">Frank Zago</reporter>
                        <labels>
                    </labels>
                <created>Mon, 8 May 2017 18:17:41 +0000</created>
                <updated>Tue, 13 Jun 2017 17:10:24 +0000</updated>
                            <resolved>Tue, 13 Jun 2017 17:10:24 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                    <version>Lustre 2.9.0</version>
                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="194901" author="gerrit" created="Mon, 8 May 2017 18:22:47 +0000"  >&lt;p&gt;Frank Zago (fzago@cray.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/26992&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/26992&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9468&quot; title=&quot;incorrect stat from kthread with X86_X32 architecture&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9468&quot;&gt;&lt;del&gt;LU-9468&lt;/del&gt;&lt;/a&gt; llite: qwertyuio&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 7e62b3be7cafef486d200fff83bd34a56cadff74&lt;/p&gt;</comment>
                            <comment id="199080" author="gerrit" created="Tue, 13 Jun 2017 16:55:21 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/26992/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/26992/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9468&quot; title=&quot;incorrect stat from kthread with X86_X32 architecture&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9468&quot;&gt;&lt;del&gt;LU-9468&lt;/del&gt;&lt;/a&gt; llite: fix for stat under kthread and X86_X32&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 86d26552f91e4b8cfe79a55cae8746aa1c18001e&lt;/p&gt;</comment>
                            <comment id="199094" author="pjones" created="Tue, 13 Jun 2017 17:10:24 +0000"  >&lt;p&gt;Landed for 2.10&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|hzzc4n:</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>