<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:05:42 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-7066] osc_cache.c:2944:osc_cache_writeback_range()) ASSERTION( hp == 0 &amp;&amp; discard == 0 ) failed</title>
                <link>https://jira.whamcloud.com/browse/LU-7066</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Running SWL, clients LBUG. Similar to &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2643&quot; title=&quot;osc_cache_writeback_range() ASSERTION( hp == 0 &amp;amp;&amp;amp; discard == 0 )&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2643&quot;&gt;&lt;del&gt;LU-2643&lt;/del&gt;&lt;/a&gt; but newer&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;Aug 31 08:26:19 iwc55 kernel: LustreError: 64274:0:(ldlm_resource.c:1454:ldlm_resource_dump()) ### ### ns: lustre-OST0002-osc-ffff8808427fd400 lock: ffff880687108700/0x22278a710c5f0c16 lrc: 3/0,1 mode: PW/PW res: [0x300000406:0x8dd59:0x0].0 rrc: 12 type: EXT [106954752-&amp;gt;113246207] (req 106954752-&amp;gt;109051903) flags: 0x126400020000 nid: local remote: 0x9307b5d51b4d3df2 expref: -99 pid: 64221 timeout: 0 lvb_type: 1
Aug 31 08:26:19 iwc55 kernel: Lustre: lustre-OST0002-osc-ffff8808427fd400: Connection restored to lustre-OST0002 (at 192.168.120.15@o2ib)
Aug 31 08:26:19 iwc55 kernel: LustreError: 39539:0:(osc_cache.c:2944:osc_cache_writeback_range()) ASSERTION( hp == 0 &amp;amp;&amp;amp; discard == 0 ) failed:
Aug 31 08:26:19 iwc55 kernel: LustreError: 39539:0:(osc_cache.c:2944:osc_cache_writeback_range()) ASSERTION( hp == 0 &amp;amp;&amp;amp; discard == 0 ) failed:
Aug 31 08:26:19 iwc55 kernel: LustreError: 39539:0:(osc_cache.c:2944:osc_cache_writeback_range()) LBUG
Aug 31 08:26:19 iwc55 kernel: LustreError: 39539:0:(osc_cache.c:2944:osc_cache_writeback_range()) LBUG
Aug 31 08:26:19 iwc55 kernel: Pid: 39539, comm: ldlm_bl_62
Aug 31 08:26:19 iwc55 kernel:
Aug 31 08:26:19 iwc55 kernel: Call Trace:
Aug 31 08:26:19 iwc55 kernel: [&amp;lt;ffffffffa0474875&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
Aug 31 08:26:19 iwc55 kernel: [&amp;lt;ffffffffa0474e77&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
Aug 31 08:26:19 iwc55 kernel: [&amp;lt;ffffffffa0b3eea7&amp;gt;] osc_cache_writeback_range+0x1067/0x1280 [osc]
Aug 31 08:26:19 iwc55 kernel: [&amp;lt;ffffffffa0603fe9&amp;gt;] ? cl_env_hops_keycmp+0x19/0x70 [obdclass]
Aug 31 08:26:20 iwc55 kernel: [&amp;lt;ffffffffa0b27c05&amp;gt;] osc_lock_flush+0x175/0x260 [osc]
Aug 31 08:26:20 iwc55 kernel: [&amp;lt;ffffffffa0b27f98&amp;gt;] osc_ldlm_blocking_ast+0x2a8/0x3c0 [osc]
Aug 31 08:26:20 iwc55 kernel: [&amp;lt;ffffffffa079a9dc&amp;gt;] ldlm_cancel_callback+0x6c/0x170 [ptlrpc]
Aug 31 08:26:20 iwc55 kernel: [&amp;lt;ffffffffa07ad84a&amp;gt;] ldlm_cli_cancel_local+0x8a/0x470 [ptlrpc]
Aug 31 08:26:20 iwc55 kernel: [&amp;lt;ffffffffa07b2480&amp;gt;] ldlm_cli_cancel+0x60/0x360 [ptlrpc]
Aug 31 08:26:20 iwc55 kernel: [&amp;lt;ffffffffa0b27dcb&amp;gt;] osc_ldlm_blocking_ast+0xdb/0x3c0 [osc]
Aug 31 08:26:20 iwc55 kernel: [&amp;lt;ffffffffa0480bf1&amp;gt;] ? libcfs_debug_msg+0x41/0x50 [libcfs]
Aug 31 08:26:20 iwc55 kernel: [&amp;lt;ffffffffa07b6380&amp;gt;] ldlm_handle_bl_callback+0x130/0x400 [ptlrpc]
Aug 31 08:26:20 iwc55 kernel: [&amp;lt;ffffffffa07b6e64&amp;gt;] ldlm_bl_thread_main+0x484/0x700 [ptlrpc]
Aug 31 08:26:20 iwc55 kernel: [&amp;lt;ffffffff81064c00&amp;gt;] ? default_wake_function+0x0/0x20
Aug 31 08:26:20 iwc55 kernel: [&amp;lt;ffffffffa07b69e0&amp;gt;] ? ldlm_bl_thread_main+0x0/0x700 [ptlrpc]
Aug 31 08:26:20 iwc55 kernel: [&amp;lt;ffffffff8109e78e&amp;gt;] kthread+0x9e/0xc0
Aug 31 08:26:20 iwc55 kernel: [&amp;lt;ffffffff8100c28a&amp;gt;] child_rip+0xa/0x20
Aug 31 08:26:20 iwc55 kernel: [&amp;lt;ffffffff8109e6f0&amp;gt;] ? kthread+0x0/0xc0
Aug 31 08:26:20 iwc55 kernel: [&amp;lt;ffffffff8100c280&amp;gt;] ? child_rip+0x0/0x20
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>Hyperion/ SWL test</environment>
        <key id="31815">LU-7066</key>
            <summary>osc_cache.c:2944:osc_cache_writeback_range()) ASSERTION( hp == 0 &amp;&amp; discard == 0 ) failed</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="3">Duplicate</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="cliffw">Cliff White</reporter>
                        <labels>
                    </labels>
                <created>Mon, 31 Aug 2015 19:29:33 +0000</created>
                <updated>Tue, 6 Sep 2016 01:58:26 +0000</updated>
                            <resolved>Tue, 1 Sep 2015 17:53:26 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="125791" author="jay" created="Mon, 31 Aug 2015 20:21:14 +0000"  >&lt;p&gt;this is probably the same issue of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6271&quot; title=&quot;(osc_cache.c:3150:discard_cb()) ASSERTION( (!(page-&amp;gt;cp_type == CPT_CACHEABLE) || (!PageDirty(cl_page_vmpage(page)))) ) failed:&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6271&quot;&gt;&lt;del&gt;LU-6271&lt;/del&gt;&lt;/a&gt;. One question raises why we can see so many eviction cases recently.&lt;/p&gt;</comment>
                            <comment id="164919" author="lixi" created="Mon, 5 Sep 2016 23:59:31 +0000"  >&lt;p&gt;We hit the problem recently even the branch already has &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6271&quot; title=&quot;(osc_cache.c:3150:discard_cb()) ASSERTION( (!(page-&amp;gt;cp_type == CPT_CACHEABLE) || (!PageDirty(cl_page_vmpage(page)))) ) failed:&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6271&quot;&gt;&lt;del&gt;LU-6271&lt;/del&gt;&lt;/a&gt; patches.&lt;/p&gt;

&lt;p&gt;I noticed that osc_lock_flush() always call osc_cache_writeback_range() with hp=1. That means, the assertion of LASSERT(hp == 0 &amp;amp;&amp;amp; discard == 0) always fails if the extent is OES_ACTIVE. Is this expected behavior?&lt;/p&gt;</comment>
                            <comment id="164921" author="jay" created="Tue, 6 Sep 2016 01:58:26 +0000"  >&lt;p&gt;it&apos;s expected that the extent&apos;s state can&apos;t be OES_ACTIVE when the lock is being canceled.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="28805">LU-6271</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hzxlun:</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>