<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:34: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-3539] Change update RPC format</title>
                <link>https://jira.whamcloud.com/browse/LU-3539</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In DNE phase II, the update RPC format will be changed, please refer to HLD of DNE phase II.&lt;/p&gt;

&lt;p&gt;enum update_rec_flags {&lt;br/&gt;
        OUT_UPDATE_FLAG_TYPE      = 0x000000001, /* 0 = MDT, 1 = OST */&lt;br/&gt;
        OUT_UPDATE_FLAG_SYNC      = 0x000000002, /* commit update before reply */&lt;br/&gt;
        OUT_UPDATE_FLAG_COMMITTED = 0x000000004, /* ur_batchid is committed globally */&lt;br/&gt;
        OUT_UPDATE_FLAG_NOLOG     = 0x000000008, /* idempotent update does not need to be logged */&lt;br/&gt;
};&lt;/p&gt;

&lt;p&gt;struct update_rec_v2 {&lt;br/&gt;
        _&lt;em&gt;u16         ur_update_type;            /* OUT&lt;/em&gt;* update type */&lt;br/&gt;
        __u16         ur_master_index;           /* master MDT/OST index */&lt;br/&gt;
        __u32         ur_flags;                  /* master target type, globally committed, sync, log?, etc */&lt;br/&gt;
        __u64         ur_batchid;                /* transno of master MDT in operation */&lt;br/&gt;
        struct lu_fid ur_fid;                    /* FID operation applies to */&lt;br/&gt;
        __u32         ur_lens&lt;span class=&quot;error&quot;&gt;&amp;#91;UPDATE_BUF_COUNT&amp;#93;&lt;/span&gt;; /* length of each update buffer, rounded up to 8 bytes */&lt;br/&gt;
        char          ur_bufs&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;;                /* per operation data values, multiple of 8 bytes */&lt;br/&gt;
};&lt;/p&gt;

&lt;p&gt;struct update_header {&lt;br/&gt;
        __u32 uh_magic;                          /* UPDATE_BUFFER_MAGIC_V2 */&lt;br/&gt;
        __u32 uh_count;                          /* number of update records in request */&lt;br/&gt;
        __u32 uh_bufs&lt;span class=&quot;error&quot;&gt;&amp;#91;uh_count&amp;#93;&lt;/span&gt;;                 /* length of each struct update_rec_v2 */&lt;br/&gt;
};&lt;/p&gt;
</description>
                <environment></environment>
        <key id="19635">LU-3539</key>
            <summary>Change update RPC format</summary>
                <type id="7" iconUrl="https://jira.whamcloud.com/images/icons/issuetypes/task_agile.png">Technical task</type>
                            <parent id="19630">LU-3534</parent>
                                    <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="liwei">Li Wei</assignee>
                                    <reporter username="di.wang">Di Wang</reporter>
                        <labels>
                    </labels>
                <created>Sat, 29 Jun 2013 18:09:33 +0000</created>
                <updated>Fri, 25 Apr 2014 17:49:31 +0000</updated>
                            <resolved>Fri, 25 Apr 2014 17:49:31 +0000</resolved>
                                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="61643" author="adilger" created="Tue, 2 Jul 2013 15:22:10 +0000"  >&lt;p&gt;We also discussed changing the OBJ_* opcodes to be 100+ to avoid conflict with the RPC opcodes. &lt;/p&gt;</comment>
                            <comment id="62819" author="liwei" created="Tue, 23 Jul 2013 15:45:59 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/7088&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7088&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This patch fixes a few endianness bugs in existing DNE code.  It would be desirable for 2.5.&lt;/p&gt;</comment>
                            <comment id="63019" author="liwei" created="Fri, 26 Jul 2013 07:18:20 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/7128&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7128&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This patch implements the UPDATE_OBJ RPC format change.  Note that the symbol names are not the same as those in the HLD.&lt;/p&gt;

&lt;p&gt;The OBJ_* update types do not exist in the same &quot;space&quot; (or &quot;scope&quot;) with RPC operation codes.  I tend to think existing numbers are fine.  Also, if we were to change they to a range that is not currently used by any RPC operations, then they would have to go above 1000.  This patch does not change the numbers at the moment.&lt;/p&gt;</comment>
                            <comment id="82513" author="adilger" created="Fri, 25 Apr 2014 17:49:31 +0000"  >&lt;p&gt;The patches for OUT protocol changes were landed for 2.6.0.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="21877">LU-4215</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|hzvuev:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8903</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>