<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:58:24 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-13102] llog_cat_id2handle())  error opening log id  rc = -2 osp_sync_thread()) ASSERTION( thread-&gt;t_flags != SVC_RUNNING )</title>
                <link>https://jira.whamcloud.com/browse/LU-13102</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;During massive IO at cluster we could reproduce the next issue.&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;Nov 24 12:25:15 snx11281n003 kernel: LustreError: 12929:0:(llog_cat.c:404:llog_cat_id2handle()) snx11281-OST0000-osc-MDT0001: error opening log id [0x22903:0x1:0x0]:0: rc = -2
Nov 24 12:25:15 snx11281n003 kernel: LustreError: 12929:0:(osp_sync.c:1293:osp_sync_thread()) ASSERTION( thread-&amp;gt;t_flags != SVC_RUNNING ) failed: 3 changes, 0 in progress, 0 in flight
Nov 24 12:25:15 snx11281n003 kernel: LustreError: 12929:0:(osp_sync.c:1293:osp_sync_thread()) LBUG
Nov 24 12:25:15 snx11281n003 kernel: Pid: 12929, comm: osp-syn-0-1 3.10.0-957.1.3957.1.3.x3.3.36.x86_64 #1 SMP Tue Nov 19 09:47:32 PST 2019
Nov 24 12:25:15 snx11281n003 kernel: Call Trace:
Nov 24 12:25:15 snx11281n003 kernel:  [&amp;lt;ffffffffc0a427cc&amp;gt;] libcfs_call_trace+0x8c/0xc0 [libcfs]
Nov 24 12:25:15 snx11281n003 kernel:  [&amp;lt;ffffffffc0a4287c&amp;gt;] lbug_with_loc+0x4c/0xa0 [libcfs]
Nov 24 12:25:15 snx11281n003 kernel:  [&amp;lt;ffffffffc18b5a1b&amp;gt;] osp_sync_thread+0xa1b/0xa70 [osp]
Nov 24 12:25:15 snx11281n003 kernel:  [&amp;lt;ffffffffa72c1c31&amp;gt;] kthread+0xd1/0xe0
Nov 24 12:25:15 snx11281n003 kernel:  [&amp;lt;ffffffffa7976c1d&amp;gt;] ret_from_fork_nospec_begin+0x7/0x21
Nov 24 12:25:15 snx11281n003 kernel:  [&amp;lt;ffffffffffffffff&amp;gt;] 0xffffffffffffffff
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;And with additional debug.&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; llog_cat_set_first_idx())   catlog [0x6:0x1:0x0] first idx 34730, last_idx 34731
 osp_sync_process_queues()) 1 changes, 0 in progress, 0 in flight
 llog_process_thread()) stop processing plain 0x76941:1:0 index 64767 count 1
 llog_process_thread()) index: 34731, lh_last_idx: 34730 synced_idx: 34730 lgh_last_idx: 34731
 llog_cat_process_common()) processing log [0x2780f:0x1:0x0]:0   at index 34731 of catalog [0x6:0x1:0x0]
llog_cat_id2handle()) snx11281-OST0001-osc-MDT0001:  error opening log id [0x2780f:0x1:0x0]:0:rc = -2
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;RC&lt;br/&gt;
  The logic for rereading a llog buffer had an exception for a full catalog, when lgh_last_idx = llh_cat_idx and a first processing index is a llh_cat_idx+1. This check is based on  a value lh_last_idx, which stays unchanged between buffer read. But llh_cat_idx could go forward, and this lead to a wrong check where reread doesn&apos;t happen. As a result Lustre got ENOENT for  a record and stoped osp processing.&lt;/p&gt;</description>
                <environment></environment>
        <key id="57706">LU-13102</key>
            <summary>llog_cat_id2handle())  error opening log id  rc = -2 osp_sync_thread()) ASSERTION( thread-&gt;t_flags != SVC_RUNNING )</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <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="aboyko">Alexander Boyko</assignee>
                                    <reporter username="aboyko">Alexander Boyko</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Thu, 26 Dec 2019 11:23:15 +0000</created>
                <updated>Wed, 20 May 2020 12:36:06 +0000</updated>
                            <resolved>Thu, 5 Mar 2020 22:53:33 +0000</resolved>
                                    <version>Lustre 2.13.0</version>
                                    <fixVersion>Lustre 2.14.0</fixVersion>
                    <fixVersion>Lustre 2.12.5</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="260402" author="gerrit" created="Thu, 26 Dec 2019 11:26:13 +0000"  >&lt;p&gt;Alexandr Boyko (c17825@cray.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/37102&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37102&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13102&quot; title=&quot;llog_cat_id2handle())  error opening log id  rc = -2 osp_sync_thread()) ASSERTION( thread-&amp;gt;t_flags != SVC_RUNNING )&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13102&quot;&gt;&lt;del&gt;LU-13102&lt;/del&gt;&lt;/a&gt; llog: fix processing of a wrapped catalog&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: b55bbbca0c425926d5fcc04a598a6754297fda8f&lt;/p&gt;</comment>
                            <comment id="261550" author="yujian" created="Tue, 21 Jan 2020 06:47:21 +0000"  >&lt;p&gt;+1 on master branch: &lt;a href=&quot;https://testing.whamcloud.com/test_sets/1160632e-3bb7-11ea-adca-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/1160632e-3bb7-11ea-adca-52540065bddc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="262054" author="yujian" created="Tue, 28 Jan 2020 18:44:38 +0000"  >&lt;p&gt;More failures on master branch:&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/aae2a638-412f-11ea-9630-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/aae2a638-412f-11ea-9630-52540065bddc&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/87deb48c-4130-11ea-9847-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/87deb48c-4130-11ea-9847-52540065bddc&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/7a5d326e-415a-11ea-9847-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/7a5d326e-415a-11ea-9847-52540065bddc&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/894f039c-4164-11ea-9b1e-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/894f039c-4164-11ea-9b1e-52540065bddc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="264705" author="gerrit" created="Thu, 5 Mar 2020 22:35:25 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/37102/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37102/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13102&quot; title=&quot;llog_cat_id2handle())  error opening log id  rc = -2 osp_sync_thread()) ASSERTION( thread-&amp;gt;t_flags != SVC_RUNNING )&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13102&quot;&gt;&lt;del&gt;LU-13102&lt;/del&gt;&lt;/a&gt; llog: fix processing of a wrapped catalog&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: a4f049b96562fd502b1948fb082767351e040a1c&lt;/p&gt;</comment>
                            <comment id="264736" author="pjones" created="Thu, 5 Mar 2020 22:53:33 +0000"  >&lt;p&gt;Landed for 2.14&lt;/p&gt;</comment>
                            <comment id="269707" author="gerrit" created="Fri, 8 May 2020 17:46:35 +0000"  >&lt;p&gt;Minh Diep (mdiep@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/38541&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38541&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13102&quot; title=&quot;llog_cat_id2handle())  error opening log id  rc = -2 osp_sync_thread()) ASSERTION( thread-&amp;gt;t_flags != SVC_RUNNING )&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13102&quot;&gt;&lt;del&gt;LU-13102&lt;/del&gt;&lt;/a&gt; llog: fix processing of a wrapped catalog&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4be4f2d6589a740788a3fd1ca545422a4e6e6500&lt;/p&gt;</comment>
                            <comment id="270633" author="gerrit" created="Wed, 20 May 2020 00:42:09 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/38541/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38541/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13102&quot; title=&quot;llog_cat_id2handle())  error opening log id  rc = -2 osp_sync_thread()) ASSERTION( thread-&amp;gt;t_flags != SVC_RUNNING )&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13102&quot;&gt;&lt;del&gt;LU-13102&lt;/del&gt;&lt;/a&gt; llog: fix processing of a wrapped catalog&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 21b34dd8a226fbaf2fee52b294f2482aa8670ad2&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <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|i00rfr:</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>