<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:20:07 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-15646] fix DOSTID printing of llog_id FIDs</title>
                <link>https://jira.whamcloud.com/browse/LU-15646</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;It looks like &lt;tt&gt;lgl_oi.oi_fid&lt;/tt&gt; is used in quite a number of places, but any use of &lt;tt&gt;lgl_oi.oi_fid&lt;/tt&gt; looks to be incorrect (&lt;tt&gt;f_seq&lt;/tt&gt; and &lt;tt&gt;oi_seq&lt;/tt&gt; are in opposite order in &lt;tt&gt;struct ost_objid&lt;/tt&gt;). This was broken by patch &lt;a href=&quot;https://review.whamcloud.com/25640&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/25640&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9153&quot; title=&quot;improve FID/config name specification for lctl llog_print and llog_info&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9153&quot;&gt;&lt;del&gt;LU-9153&lt;/del&gt;&lt;/a&gt; llog: update llog print format to use FIDs&lt;/tt&gt;&quot;. It is only using &lt;tt&gt;oi_fid&lt;/tt&gt; like &lt;tt&gt;PFID(&amp;amp;...lgl_oi.oi_fid)&lt;/tt&gt;, so this is only affecting error messages and not any functionality.&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;log_process_thread()) lfs02-MDT001e-osp-MDT0000: [0x3:0x1b70:0x4] Invalid record: index 16123 but expected 16122
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The output &quot;&lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0x3:0x1b70:0x4&amp;#93;&lt;/span&gt;&lt;/tt&gt;&quot; should be interpreted as FID &lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0x400001b70:0x3:0x0&amp;#93;&lt;/span&gt;&lt;/tt&gt; (swap last and first components of the field, add intervening &quot;&lt;tt&gt;0000&lt;/tt&gt;&quot; and add &quot;&lt;tt&gt;:0x0&lt;/tt&gt;&quot; at the end) in the &lt;tt&gt;update_log_dir/&lt;/tt&gt; directory.&lt;/p&gt;

&lt;p&gt;To print these FIDs correctly, there is a &lt;tt&gt;logid_to_fid()&lt;/tt&gt; helper with the &lt;tt&gt;DOSTID&lt;/tt&gt; macro, and it would make sense to have it also return the same pointer as the passed-in fid argument, so that it can be passed directly to PFID() in the error message, like:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
        struct lu_fid tmp_fid;

        CERROR(&lt;span class=&quot;code-quote&quot;&gt;&quot;%s: &quot;&lt;/span&gt;DFID&lt;span class=&quot;code-quote&quot;&gt;&quot; Invalid record: index %u but expected %u\n&quot;&lt;/span&gt;,
               loghandle2name(loghandle),
               PFID(logid_to_fid(&amp;amp;loghandle-&amp;gt;lgh_id, &amp;amp;tmp_fid)),          
               rec-&amp;gt;lrh_index, index);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Alternately, it would be more efficient to add a new &lt;tt&gt;PLOGID()&lt;/tt&gt; macro that is returning &lt;tt&gt;oi_seq, oi_id, 0&lt;/tt&gt;, directly, and avoid the need for &lt;tt&gt;tmp_fid&lt;/tt&gt; entirely.  &lt;/p&gt;</description>
                <environment></environment>
        <key id="69093">LU-15646</key>
            <summary>fix DOSTID printing of llog_id FIDs</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="tappro">Mikhail Pershin</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>easy</label>
                    </labels>
                <created>Sun, 13 Mar 2022 00:23:10 +0000</created>
                <updated>Tue, 26 Sep 2023 08:00:35 +0000</updated>
                            <resolved>Mon, 10 Oct 2022 12:48:58 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="337770" author="adilger" created="Tue, 14 Jun 2022 21:30:48 +0000"  >&lt;p&gt;Also, &lt;tt&gt;llog_reader&lt;/tt&gt; is not printing the FIDs/pathnames correctly for the catalogs under &lt;tt&gt;update_log_dir&lt;/tt&gt;:&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;# ls
total 292
36 [0x200000400:0x1:0x0]   0 [0x200000401:0x3:0x0]  36 [0x200000403:0x1:0x0]
36 [0x200000400:0x2:0x0]  36 [0x200000402:0x1:0x0]  36 [0x200000403:0x2:0x0]
36 [0x200000401:0x1:0x0]  36 [0x200000402:0x2:0x0]   0 [0x200000403:0x3:0x0]
40 [0x200000401:0x2:0x0]   0 [0x200000402:0x3:0x0]
[root@centos7 update_log_dir]# llog_reader &apos;[0x200000402:0x1:0x0]&apos;
rec #1 type=1064553b len=64 offset 32768
rec #2 type=1064553b len=64 offset 32832
Header size : 32768      llh_size : 64
Time : Sun Jun 12 22:29:38 2022
Number of records: 2    cat_idx: 0      last_idx: 2
Target uuid : 
-----------------------
#01 (064)id=[0x2:0x402:0x2]:0 path=O/8589935618/d2/2
#02 (064)id=[0x3:0x402:0x2]:0 path=O/8589935618/d3/3
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The FIDs should be &lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0x200000402:0x2:0x0&amp;#93;&lt;/span&gt;&lt;/tt&gt; and &lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0x200000402:0x3:0x0&amp;#93;&lt;/span&gt;&lt;/tt&gt;, and the pathnames are meaningless - they should be under &lt;tt&gt;update_log_dir&lt;/tt&gt; for the DNE recovery logs.&lt;/p&gt;</comment>
                            <comment id="346675" author="tappro" created="Wed, 14 Sep 2022 17:55:39 +0000"  >&lt;p&gt;&quot;Mikhail Pershin &amp;lt;mpershin@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/48430&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48430&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15646&quot; title=&quot;fix DOSTID printing of llog_id FIDs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15646&quot;&gt;&lt;del&gt;LU-15646&lt;/del&gt;&lt;/a&gt; llog: correct llog FID and path output&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 42517821d219a299a428902abd34501dd95891db&lt;/p&gt;</comment>
                            <comment id="349083" author="gerrit" created="Mon, 10 Oct 2022 05:37:35 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/48430/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/48430/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15646&quot; title=&quot;fix DOSTID printing of llog_id FIDs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15646&quot;&gt;&lt;del&gt;LU-15646&lt;/del&gt;&lt;/a&gt; llog: correct llog FID and path output&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e28f3ee185b2ef7bad8046f46444772fac214a40&lt;/p&gt;</comment>
                            <comment id="349110" author="pjones" created="Mon, 10 Oct 2022 12:48:58 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                            <comment id="349935" author="gerrit" created="Mon, 17 Oct 2022 23:32:37 +0000"  >&lt;p&gt;&quot;Jian Yu &amp;lt;yujian@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/48901&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/48901&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15646&quot; title=&quot;fix DOSTID printing of llog_id FIDs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15646&quot;&gt;&lt;del&gt;LU-15646&lt;/del&gt;&lt;/a&gt; llog: correct llog FID and path output&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 7fec2d29a8ccb5e80ded409de2be3d85c53d40c3&lt;/p&gt;</comment>
                            <comment id="357115" author="gerrit" created="Wed, 21 Dec 2022 13:40:37 +0000"  >&lt;p&gt;&quot;Etienne AUJAMES &amp;lt;eaujames@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/49472&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/49472&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15646&quot; title=&quot;fix DOSTID printing of llog_id FIDs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15646&quot;&gt;&lt;del&gt;LU-15646&lt;/del&gt;&lt;/a&gt; llog: correct llog FID and path output&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 7176bc9204c134731d96f5151c3709aaec8a4f9e&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="70714">LU-15936</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10322">
                    <name>Gantt End to Start</name>
                                            <outwardlinks description="has to be done before">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="69090">LU-15644</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="69092">LU-15645</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </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|i02krj:</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>