<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:28: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-9724] update ext4-large-eas.patch to match upstream ext4 feature</title>
                <link>https://jira.whamcloud.com/browse/LU-9724</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In order to match the enhanced &lt;tt&gt;ea_inode&lt;/tt&gt; functionality being landed to the upstream ext4 kernel tree, we need to modify our &lt;tt&gt;ext4-large-eas.patch&lt;/tt&gt; and &lt;tt&gt;e2fsprogs&lt;/tt&gt; patches to start properly initializing some of the fields we don&apos;t currently use to minimize the interoperability issues.&lt;/p&gt;

&lt;p&gt;In particular, the new EA inode refcount should be initialized to 1, and hash field should be computed based on the xattr value as it is in the upstream kernel patch.  We don&apos;t need to backport any of the xattr sharing functionality, since Lustre never shares large xattrs as the &lt;tt&gt;lov&lt;/tt&gt; and &lt;tt&gt;link&lt;/tt&gt; xattrs are always unique.  This can be landed to master for the 2.11 release, and possibly included into 2.10.1 or later maintenance release.&lt;/p&gt;

&lt;p&gt;For &lt;tt&gt;e2fsck&lt;/tt&gt; we should set the EA inode refcount = 1 and set the hash on large xattrs that are found during scanning and are otherwise valid.  This should be done in a manner that is not alarming to existing users, such as printing a &lt;tt&gt;fix_problem()&lt;/tt&gt; message like:&lt;br/&gt;
&lt;tt&gt;noformat&lt;/tt&gt;&lt;br/&gt;
Found old-style Lustre large xattr inode(s) without refcount or hash. Fix?&lt;br/&gt;
&lt;tt&gt;noformat&lt;/tt&gt;&lt;br/&gt;
and then together with something like &lt;tt&gt;PR_1_SUPPRESS_MESSAGES&lt;/tt&gt; and a new &lt;tt&gt;PR_LATCH_EA_INODE&lt;/tt&gt; it should prompt and save the answer to re-use it when repairing all such large xattrs rather than prompting to repair each one (which might be millions of files on a large filesystem with many stripes).&lt;/p&gt;</description>
                <environment></environment>
        <key id="46931">LU-9724</key>
            <summary>update ext4-large-eas.patch to match upstream ext4 feature</summary>
                <type id="3" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11318&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Thu, 29 Jun 2017 22:50:32 +0000</created>
                <updated>Wed, 11 Apr 2018 05:50:35 +0000</updated>
                            <resolved>Tue, 27 Feb 2018 04:30:56 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                    <version>Lustre 2.7.0</version>
                                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="219122" author="emoly.liu" created="Thu, 25 Jan 2018 06:10:55 +0000"  >&lt;p&gt;Andreas,&lt;br/&gt;
 I check the upstream ext4 kernel and want to make sure if the following code from ext4_xattr_inode_create() needs to be changed to ldiskfs kernel:&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;	if (!IS_ERR(ea_inode)) {
		...
		ext4_xattr_inode_set_ref(ea_inode, 1);
		ext4_xattr_inode_set_hash(ea_inode, hash);
		...
        }

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;And all the kernel series need this change?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
 Emoly&lt;/p&gt;</comment>
                            <comment id="219234" author="gerrit" created="Fri, 26 Jan 2018 07:32:16 +0000"  >&lt;p&gt;Emoly Liu (emoly.liu@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/31033&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31033&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9724&quot; title=&quot;update ext4-large-eas.patch to match upstream ext4 feature&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9724&quot;&gt;&lt;del&gt;LU-9724&lt;/del&gt;&lt;/a&gt; ldiskfs: update ext4-large-eas.patch to match upstream ext4&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: fc12bcaa392da4d5ea2e28d61ef0be42d5367193&lt;/p&gt;</comment>
                            <comment id="221748" author="gerrit" created="Tue, 27 Feb 2018 03:43:05 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/31033/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31033/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9724&quot; title=&quot;update ext4-large-eas.patch to match upstream ext4 feature&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9724&quot;&gt;&lt;del&gt;LU-9724&lt;/del&gt;&lt;/a&gt; ldiskfs: update ext4-large-eas.patch to match upstream ext4&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8c8f4920e0157b2f1617b7d6da3f758781d68642&lt;/p&gt;</comment>
                            <comment id="221776" author="pjones" created="Tue, 27 Feb 2018 04:30:56 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="28587">LU-6220</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="15458">LU-1732</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="46930">LU-9723</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="12641">LU-908</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|hzzfw7:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>