<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:05:34 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-7050] llog_skip_over skip the record by too little minimum record size.</title>
                <link>https://jira.whamcloud.com/browse/LU-7050</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;During processing llog records, it needs to locate the record by the start_index, and if start_index is not zero, it will first try to skip some records to avoid reading too much useless records (see llog_process_thread). In current implementation, llog_skip_over will skip the record by LLOG_MIN_REC_SIZE, only 24 bytes, which is too less for update record (usually around 1000 bytes).&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;static inline void llog_skip_over(struct llog_log_hdr *llh, __u64 *off,
                                  int curr, int goal, __u32 chunk_size)
{
        if (goal &amp;gt; curr) {
                if (llh-&amp;gt;llh_size == 0) {
                        /* variable size records */
                        *off = *off + (goal - curr - 1) * LLOG_MIN_REC_SIZE;
                } else {
                        *off = chunk_size + (goal - 1) * llh-&amp;gt;llh_size;
                }
        }
        /* always align with lower chunk boundary*/
        *off &amp;amp;= ~(chunk_size - 1);
}              
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So we probably should record the minimum record size in llog_osd_write_rec() and remember it in llh_size (in llog header), which is only used by fixed size llog record for now.  &lt;/p&gt;</description>
                <environment></environment>
        <key id="31745">LU-7050</key>
            <summary>llog_skip_over skip the record by too little minimum record size.</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="di.wang">Di Wang</assignee>
                                    <reporter username="di.wang">Di Wang</reporter>
                        <labels>
                    </labels>
                <created>Thu, 27 Aug 2015 03:26:44 +0000</created>
                <updated>Wed, 31 Jan 2018 18:53:39 +0000</updated>
                            <resolved>Thu, 10 Sep 2015 15:14:02 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="125326" author="gerrit" created="Thu, 27 Aug 2015 03:47:11 +0000"  >&lt;p&gt;wangdi (di.wang@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/16103&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16103&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7050&quot; title=&quot;llog_skip_over skip the record by too little minimum record size.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7050&quot;&gt;&lt;del&gt;LU-7050&lt;/del&gt;&lt;/a&gt; llog: record the minimum record size&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 2d7e57831225c489e5efed8b3f227de21f90b488&lt;/p&gt;</comment>
                            <comment id="125594" author="simmonsja" created="Fri, 28 Aug 2015 23:55:18 +0000"  >&lt;p&gt;I see two patches that look alike for this ticket. Which one to use?&lt;/p&gt;</comment>
                            <comment id="125595" author="di.wang" created="Sat, 29 Aug 2015 00:07:19 +0000"  >&lt;p&gt;Use 16103.&lt;/p&gt;</comment>
                            <comment id="126876" author="gerrit" created="Thu, 10 Sep 2015 04:06:57 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/16103/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16103/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7050&quot; title=&quot;llog_skip_over skip the record by too little minimum record size.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7050&quot;&gt;&lt;del&gt;LU-7050&lt;/del&gt;&lt;/a&gt; llog: record the minimum record size&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f61148f758b30de91684c58053e4dad6159f8858&lt;/p&gt;</comment>
                            <comment id="126914" author="jgmitter" created="Thu, 10 Sep 2015 15:14:02 +0000"  >&lt;p&gt;Landed for 2.8.0&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="48447">LU-10027</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="31033">LU-6831</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|hzxlgv:</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>