<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:23:58 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-9185] flawed layout add replay</title>
                <link>https://jira.whamcloud.com/browse/LU-9185</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Current layout add replay is flawed, because layout add replies whole file LOVEA to client, and when replay, client sends the whole LOVEA back to server, server can&apos;t know which components were newly created by this layout add, and the replay would have to calls  lod_sub_object_declare_create()/lod_sub_object_create() against all components, even for the pre-existing components.&lt;/p&gt;

&lt;p&gt;A proposal fix is to add one more &apos;buffer&apos; parameter to dt_xattr_set(),  and it&apos;s passed down to lod_xattr_set() -&amp;gt; lod_striping_create(), in lod_striping_create(), the &apos;buffer&apos; will be filled with the LOVEA for the newly created components, at the end, the &apos;buffer&apos; will be copied to reply buffer and returned to client, so that on replay, client will send back the partial LOVEA which being newly created, and server knows which components needs be re-processed.&lt;/p&gt;

&lt;p&gt;In a word, layout add creates only partial layout, so server should return the partial layout to client but not the whole LOVEA.&lt;/p&gt;</description>
                <environment></environment>
        <key id="44323">LU-9185</key>
            <summary>flawed layout add replay</summary>
                <type id="7" iconUrl="https://jira.whamcloud.com/images/icons/issuetypes/task_agile.png">Technical task</type>
                            <parent id="42916">LU-8998</parent>
                                    <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="bobijam">Zhenyu Xu</assignee>
                                    <reporter username="niu">Niu Yawei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 6 Mar 2017 14:27:41 +0000</created>
                <updated>Mon, 27 Mar 2017 01:28:56 +0000</updated>
                            <resolved>Mon, 27 Mar 2017 01:28:56 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="187137" author="gerrit" created="Mon, 6 Mar 2017 14:32:03 +0000"  >&lt;p&gt;Bobi Jam (bobijam@hotmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/25824&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/25824&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9185&quot; title=&quot;flawed layout add replay&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9185&quot;&gt;&lt;del&gt;LU-9185&lt;/del&gt;&lt;/a&gt; pfl: fix replay of component add&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: pfl&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 35d06135c9b7a127668f4705c2857a0beeb8a52e&lt;/p&gt;</comment>
                            <comment id="187193" author="jay" created="Mon, 6 Mar 2017 17:51:01 +0000"  >&lt;p&gt;Why couldn&apos;t it filter out the existing components at replay time?&lt;/p&gt;</comment>
                            <comment id="187286" author="niu" created="Tue, 7 Mar 2017 03:45:00 +0000"  >&lt;blockquote&gt;
&lt;p&gt;Why couldn&apos;t it filter out the existing components at replay time?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Because server can&apos;t tell which are pre-existing components, unless client tells more information.&lt;/p&gt;

&lt;p&gt;With dynamic layout introduced, layout add won&apos;t instantiate objects anymore (I think the semantic of layout add would be changed a little bit), so this problem can be fixed in a much easier way: remove all the code of instantiate objects, replay with same instantiated objects. Layout add now becomes a simple xattr set.&lt;/p&gt;</comment>
                            <comment id="187289" author="jay" created="Tue, 7 Mar 2017 04:13:21 +0000"  >&lt;p&gt;I may miss something - but isn&apos;t newly added components deduced as (replay components)^(existing components)?&lt;/p&gt;</comment>
                            <comment id="187297" author="niu" created="Tue, 7 Mar 2017 05:36:56 +0000"  >&lt;blockquote&gt;
&lt;p&gt;I may miss something - but isn&apos;t newly added components deduced as (replay components)^(existing components)?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I think you are right, that fix requires much less code changes than my original proposal. Anyway, since new layout add won&apos;t instantiate objects, now we need only to remove all that replay handling code.&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|hzz5wv:</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>