<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:49:35 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-5223] generate DNE stripe directory LMV EA dynamically via readdir</title>
                <link>https://jira.whamcloud.com/browse/LU-5223</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;During the LFSCK 3 design review, we reached a conclusion that the DNE 2 striped directory implementation and the LFSCK 3 checking of them could be simplified by having the MDT store only the LMV header (&lt;tt&gt;struct lmv_mds_md_v1&lt;/tt&gt;) and dynamically generate the list of stripe FIDs &lt;tt&gt;lmv_stripe_fids[]&lt;/tt&gt; via readdir for sending to the client instead of storing it in the xattr.  This simplifies the LFSCK 3 implementation by reducing the number of potential sources of inconsistent information.  There is already enough redundancy for the layout of a striped directory because the master/stripe relationship is also encoded in the &quot;..&quot; entry and linkEA of each stripe.  In addition, this simplifies the DNE 2 async update implementation since the MDT does not need to log the large master LMV xattr on all of the slave MDTs.&lt;/p&gt;

&lt;p&gt;For the 2.6 release this would keep the network protocol the same for the client, but would avoid storing a potentially large xattr on the MDS.  The master LMV would no longer need to store the &lt;tt&gt;lmv_master_fid&lt;/tt&gt;, and this field can be replaced by two __u64 padding fields.&lt;/p&gt;

&lt;p&gt;It is desirable to include this change into the 2.6.0 release, since this is the first release with striped directory support, and this would avoid the need for on-disk format compatibility between upgrading and downgrading the MDS.&lt;/p&gt;

&lt;p&gt;In the future, it would be possible to optimize the handling of very widely striped directories by having the client read the slave directory entries directly from the master directory FID instead of having the master MDT synthesize the LMV xattr.  For small striped directories, or small regular directories there could be an optimization to return the readdir data as part of the initial lookup.  However, that is out of scope for this initial patch.&lt;/p&gt;</description>
                <environment></environment>
        <key id="25199">LU-5223</key>
            <summary>generate DNE stripe directory LMV EA dynamically via readdir</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="yong.fan">nasf</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>HB</label>
                            <label>dne2</label>
                            <label>lfsck</label>
                    </labels>
                <created>Wed, 18 Jun 2014 05:52:10 +0000</created>
                <updated>Thu, 10 Jul 2014 17:33:12 +0000</updated>
                            <resolved>Thu, 10 Jul 2014 17:33:12 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="87015" author="yong.fan" created="Thu, 19 Jun 2014 13:36:31 +0000"  >&lt;p&gt;Here is the patch:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/10751/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/10751/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="87147" author="yong.fan" created="Fri, 20 Jun 2014 09:41:50 +0000"  >&lt;p&gt;Another patch:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/10765/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/10765/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="88459" author="jlevi" created="Tue, 8 Jul 2014 17:10:30 +0000"  >&lt;p&gt;Patches landed to Master.&lt;/p&gt;</comment>
                            <comment id="88668" author="adilger" created="Thu, 10 Jul 2014 00:43:18 +0000"  >&lt;p&gt;Another patch that fixes a bug in the original patch also needs to land:&lt;/p&gt;

&lt;p&gt; &lt;a href=&quot;http://review.whamcloud.com/11040&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/11040&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="88669" author="simmonsja" created="Thu, 10 Jul 2014 01:12:53 +0000"  >&lt;p&gt;The 11040 has been abandoned. New patch at &lt;a href=&quot;http://review.whamcloud.com/#/c/11035&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/11035&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="88735" author="jlevi" created="Thu, 10 Jul 2014 17:33:12 +0000"  >&lt;p&gt;Patch landed to Master.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="25500">LU-5310</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|hzwpbj:</customfieldvalue>

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