<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:28:13 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-2790] Failure to allocated osd keys leads to ofd_intent_policy()) ASSERTION( res_lvb != ((void *)0) ) failed</title>
                <link>https://jira.whamcloud.com/browse/LU-2790</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;After recent landings of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1431&quot; title=&quot;Support for larger than 1MB sequential I/O RPCs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1431&quot;&gt;&lt;del&gt;LU-1431&lt;/del&gt;&lt;/a&gt; patch amnd corresponding crop up of allocation failures due to &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2748&quot; title=&quot;OSD uses kmalloc with high order to allocate a keys&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2748&quot;&gt;&lt;del&gt;LU-2748&lt;/del&gt;&lt;/a&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;[25420.342529] ll_ost00_005: page allocation failure. order:5, mode:0x50
[25420.342845] Pid: 22594, comm: ll_ost00_005 Not tainted 2.6.32-debug #6
[25420.343134] Call Trace:
[25420.343356]  [&amp;lt;ffffffff81125bd6&amp;gt;] ? __alloc_pages_nodemask+0x976/0x9e0
[25420.343652]  [&amp;lt;ffffffff81160a62&amp;gt;] ? kmem_getpages+0x62/0x170
[25420.344062]  [&amp;lt;ffffffff8116349c&amp;gt;] ? fallback_alloc+0x1bc/0x270
[25420.344431]  [&amp;lt;ffffffff81162db7&amp;gt;] ? cache_grow+0x4d7/0x520
[25420.344748]  [&amp;lt;ffffffff81163188&amp;gt;] ? ____cache_alloc_node+0xa8/0x200
[25420.345035]  [&amp;lt;ffffffff81163838&amp;gt;] ? __kmalloc+0x208/0x2a0
[25420.345319]  [&amp;lt;ffffffffa09efc00&amp;gt;] ? cfs_alloc+0x30/0x60 [libcfs]
[25420.345614]  [&amp;lt;ffffffffa09efc00&amp;gt;] ? cfs_alloc+0x30/0x60 [libcfs]
[25420.345899]  [&amp;lt;ffffffffa048953e&amp;gt;] ? osd_key_init+0x1e/0x5d0 [osd_ldiskfs]
[25420.346231]  [&amp;lt;ffffffffa0eae3df&amp;gt;] ? keys_fill+0x6f/0x190 [obdclass]
[25420.346534]  [&amp;lt;ffffffffa0eb1e8b&amp;gt;] ? lu_context_init+0xab/0x260 [obdclass]
[25420.346842]  [&amp;lt;ffffffffa0eb205e&amp;gt;] ? lu_env_init+0x1e/0x30 [obdclass]
[25420.347134]  [&amp;lt;ffffffffa05bc90c&amp;gt;] ? ost_blocking_ast+0x5c/0xca0 [ost]
[25420.347443]  [&amp;lt;ffffffffa10ebded&amp;gt;] ? ldlm_work_bl_ast_lock+0xdd/0x290 [ptlrpc]
[25420.347770]  [&amp;lt;ffffffffa112c18f&amp;gt;] ? ptlrpc_set_wait+0x6f/0x880 [ptlrpc]
[25420.348102]  [&amp;lt;ffffffff81090154&amp;gt;] ? __init_waitqueue_head+0x24/0x40
[25420.348548]  [&amp;lt;ffffffffa09ef8a5&amp;gt;] ? cfs_waitq_init+0x15/0x20 [libcfs]
[25420.348977]  [&amp;lt;ffffffffa112876e&amp;gt;] ? ptlrpc_prep_set+0x11e/0x300 [ptlrpc]
[25420.349293]  [&amp;lt;ffffffffa10ebd10&amp;gt;] ? ldlm_work_bl_ast_lock+0x0/0x290 [ptlrpc]
[25420.349796]  [&amp;lt;ffffffffa10ee19b&amp;gt;] ? ldlm_run_ast_work+0x1db/0x460 [ptlrpc]
[25420.350126]  [&amp;lt;ffffffffa110580f&amp;gt;] ? ldlm_process_extent_lock+0x1af/0xa90 [ptlrpc]
[25420.350606]  [&amp;lt;ffffffffa10ee7b4&amp;gt;] ? ldlm_lock_enqueue+0x394/0x870 [ptlrpc]
[25420.350923]  [&amp;lt;ffffffffa1114e87&amp;gt;] ? ldlm_handle_enqueue0+0x4f7/0x1090 [ptlrpc]
[25420.351417]  [&amp;lt;ffffffffa1115a86&amp;gt;] ? ldlm_handle_enqueue+0x66/0x70 [ptlrpc]
[25420.351749]  [&amp;lt;ffffffffa1115a90&amp;gt;] ? ldlm_server_completion_ast+0x0/0x640 [ptlrpc]
[25420.352248]  [&amp;lt;ffffffffa05bc8b0&amp;gt;] ? ost_blocking_ast+0x0/0xca0 [ost]
[25420.352574]  [&amp;lt;ffffffffa11123c0&amp;gt;] ? ldlm_server_glimpse_ast+0x0/0x3b0 [ptlrpc]
[25420.353124]  [&amp;lt;ffffffffa05c4807&amp;gt;] ? ost_handle+0x1be7/0x4590 [ost]
[25420.353543]  [&amp;lt;ffffffffa09fb204&amp;gt;] ? libcfs_id2str+0x74/0xb0 [libcfs]
[25420.353945]  [&amp;lt;ffffffffa1144e03&amp;gt;] ? ptlrpc_server_handle_request+0x453/0xe50 [ptlrpc]
[25420.354432]  [&amp;lt;ffffffffa09ef65e&amp;gt;] ? cfs_timer_arm+0xe/0x10 [libcfs]
[25420.354741]  [&amp;lt;ffffffffa113de91&amp;gt;] ? ptlrpc_wait_event+0xb1/0x2a0 [ptlrpc]
[25420.355023]  [&amp;lt;ffffffff81051f73&amp;gt;] ? __wake_up+0x53/0x70
[25420.355299]  [&amp;lt;ffffffffa11478cd&amp;gt;] ? ptlrpc_main+0xafd/0x17f0 [ptlrpc]
[25420.355606]  [&amp;lt;ffffffffa1146dd0&amp;gt;] ? ptlrpc_main+0x0/0x17f0 [ptlrpc]
[25420.355890]  [&amp;lt;ffffffff8100c14a&amp;gt;] ? child_rip+0xa/0x20
[25420.356188]  [&amp;lt;ffffffffa1146dd0&amp;gt;] ? ptlrpc_main+0x0/0x17f0 [ptlrpc]
[25420.356495]  [&amp;lt;ffffffffa1146dd0&amp;gt;] ? ptlrpc_main+0x0/0x17f0 [ptlrpc]
[25420.356787]  [&amp;lt;ffffffff8100c140&amp;gt;] ? child_rip+0x0/0x20
....
[25420.500609] LustreError: 22594:0:(ldlm_resource.c:1161:ldlm_resource_get()) lvbo_init failed for resource 114: rc -12
[25420.502383] LustreError: 18292:0:(ldlm_lock.c:1542:ldlm_fill_lvb()) ### Replied unexpected ost LVB size 0 ns: lustre-OST0000-osc-ffff88003f9d2bf0 lock: ffff880046658db0/0xd15dff8dc7742d63 lrc: 6/0,2 mode: --/PW res: 114/8589935616 rrc: 1 type: EXT [0-&amp;gt;18446744073709551615] (req 0-&amp;gt;4095) flags: 0x0 nid: local remote: 0xd15dff8dc77438ca expref: -99 pid: 20430 timeout: 0 lvb_type: 1
...
[25420.604693] LustreError: 22594:0:(ldlm_resource.c:1161:ldlm_resource_get()) lvbo_init failed for resource 116: rc -12
[25420.604777] LustreError: 18293:0:(ldlm_lock.c:1542:ldlm_fill_lvb()) ### Replied unexpected ost LVB size 0 ns: lustre-OST0000-osc-ffff880054e39bf0 lock: ffff880084978db0/0xd15dff8dc7744183 lrc: 6/0,2 mode: --/PW res: 116/8589935616 rrc: 1 type: EXT [0-&amp;gt;18446744073709551615] (req 0-&amp;gt;4095) flags: 0x0 nid: local remote: 0xd15dff8dc77442a9 expref: -99 pid: 20443 timeout: 0 lvb_type: 1
[25420.620838]  [&amp;lt;ffffffff81051f73&amp;gt;] ? __wake_up+0x53/0x70
[25420.621142]  [&amp;lt;ffffffffa11478cd&amp;gt;] ? ptlrpc_main+0xafd/0x17f0 [ptlrpc]
[25420.621445]  [&amp;lt;ffffffffa1146dd0&amp;gt;] ? ptlrpc_main+0x0/0x17f0 [ptlrpc]
[25420.621760]  [&amp;lt;ffffffff8100c14a&amp;gt;] ? child_rip+0xa/0x20
[25420.622044]  [&amp;lt;ffffffffa1146dd0&amp;gt;] ? ptlrpc_main+0x0/0x17f0 [ptlrpc]
[25420.622339]  [&amp;lt;ffffffffa1146dd0&amp;gt;] ? ptlrpc_main+0x0/0x17f0 [ptlrpc]
[25420.622648]  [&amp;lt;ffffffff8100c140&amp;gt;] ? child_rip+0x0/0x20
...
[25420.702106] LustreError: 22594:0:(ofd_dlm.c:177:ofd_intent_policy()) ASSERTION( res_lvb != ((void *)0) ) failed: 
[25420.702490] LustreError: 22594:0:(ofd_dlm.c:177:ofd_intent_policy()) LBUG
[25420.702705] Pid: 22594, comm: ll_ost00_005
[25420.702853] 
[25420.702853] Call Trace:
[25420.703112]  [&amp;lt;ffffffffa09ee915&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
[25420.703314]  [&amp;lt;ffffffffa09eef17&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
[25420.703492]  [&amp;lt;ffffffffa0697c85&amp;gt;] ofd_intent_policy+0x795/0x7c0 [ofd]
[25420.703712]  [&amp;lt;ffffffffa10ee70a&amp;gt;] ldlm_lock_enqueue+0x2ea/0x870 [ptlrpc]
[25420.703906]  [&amp;lt;ffffffffa1114e87&amp;gt;] ldlm_handle_enqueue0+0x4f7/0x1090 [ptlrpc]
[25420.704121]  [&amp;lt;ffffffffa1115a86&amp;gt;] ldlm_handle_enqueue+0x66/0x70 [ptlrpc]
[25420.704332]  [&amp;lt;ffffffffa1115a90&amp;gt;] ? ldlm_server_completion_ast+0x0/0x640 [ptlrpc]
[25420.704667]  [&amp;lt;ffffffffa05bc8b0&amp;gt;] ? ost_blocking_ast+0x0/0xca0 [ost]
[25420.704926]  [&amp;lt;ffffffffa11123c0&amp;gt;] ? ldlm_server_glimpse_ast+0x0/0x3b0 [ptlrpc]
[25420.705271]  [&amp;lt;ffffffffa05c4807&amp;gt;] ost_handle+0x1be7/0x4590 [ost]
[25420.705511]  [&amp;lt;ffffffffa09fb204&amp;gt;] ? libcfs_id2str+0x74/0xb0 [libcfs]
[25420.705715]  [&amp;lt;ffffffffa1144e03&amp;gt;] ptlrpc_server_handle_request+0x453/0xe50 [ptlrpc]
[25420.706015]  [&amp;lt;ffffffffa09ef65e&amp;gt;] ? cfs_timer_arm+0xe/0x10 [libcfs]
[25420.706213]  [&amp;lt;ffffffffa113de91&amp;gt;] ? ptlrpc_wait_event+0xb1/0x2a0 [ptlrpc]
[25420.706397]  [&amp;lt;ffffffff81051f73&amp;gt;] ? __wake_up+0x53/0x70
[25420.706585]  [&amp;lt;ffffffffa11478cd&amp;gt;] ptlrpc_main+0xafd/0x17f0 [ptlrpc]
[25420.706775]  [&amp;lt;ffffffffa1146dd0&amp;gt;] ? ptlrpc_main+0x0/0x17f0 [ptlrpc]
[25420.706956]  [&amp;lt;ffffffff8100c14a&amp;gt;] child_rip+0xa/0x20
[25420.707232]  [&amp;lt;ffffffffa1146dd0&amp;gt;] ? ptlrpc_main+0x0/0x17f0 [ptlrpc]
[25420.707441]  [&amp;lt;ffffffffa1146dd0&amp;gt;] ? ptlrpc_main+0x0/0x17f0 [ptlrpc]
[25420.707634]  [&amp;lt;ffffffff8100c140&amp;gt;] ? child_rip+0x0/0x20
[25420.707805] 
[25420.708112] Kernel panic - not syncing: LBUG
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="17521">LU-2790</key>
            <summary>Failure to allocated osd keys leads to ofd_intent_policy()) ASSERTION( res_lvb != ((void *)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="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="yong.fan">nasf</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Sun, 10 Feb 2013 13:04:53 +0000</created>
                <updated>Sun, 31 Mar 2013 21:50:01 +0000</updated>
                            <resolved>Sun, 31 Mar 2013 21:50:01 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="52099" author="bzzz" created="Sun, 10 Feb 2013 14:04:15 +0000"  >&lt;p&gt;probably it makes sense to allocate I/O-related data (like dr_pages, etc), separately and on-demand.&lt;/p&gt;</comment>
                            <comment id="53526" author="yujian" created="Thu, 7 Mar 2013 06:54:43 +0000"  >&lt;p&gt;The 2.1.4&amp;lt;-&amp;gt;2.4.0 interop testing is affected by the issue in this ticket. Please refer to the failure in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2867&quot; title=&quot;2.1.4&amp;lt;-&amp;gt;2.4.0 interop: parallel-scale test_compilebench: IOError: [Errno 71] Protocol error&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2867&quot;&gt;&lt;del&gt;LU-2867&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="53532" author="bzzz" created="Thu, 7 Mar 2013 09:26:10 +0000"  >&lt;p&gt;I think this will be solved by &lt;a href=&quot;http://review.whamcloud.com/#change,5444&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,5444&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53533" author="pjones" created="Thu, 7 Mar 2013 09:38:51 +0000"  >&lt;p&gt;Thanks Alex! Yu Jian could you please test this patch to confirm whether this is indeed the case?&lt;/p&gt;</comment>
                            <comment id="53567" author="yujian" created="Thu, 7 Mar 2013 21:08:45 +0000"  >&lt;blockquote&gt;&lt;p&gt;Yu Jian could you please test this patch to confirm whether this is indeed the case?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Sure, I created &lt;a href=&quot;http://review.whamcloud.com/5647&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/5647&lt;/a&gt; to test patch with Lustre b2_1 client. Let&apos;s wait for the test result.&lt;/p&gt;</comment>
                            <comment id="53685" author="yujian" created="Mon, 11 Mar 2013 09:35:46 +0000"  >&lt;blockquote&gt;&lt;p&gt;Sure, I created &lt;a href=&quot;http://review.whamcloud.com/5647&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/5647&lt;/a&gt; to test patch with Lustre b2_1 client. Let&apos;s wait for the test result.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;The parallel-scale test passed: &lt;a href=&quot;https://maloo.whamcloud.com/test_sessions/a8135b98-8a1e-11e2-b891-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sessions/a8135b98-8a1e-11e2-b891-52540035b04c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53688" author="pjones" created="Mon, 11 Mar 2013 10:42:48 +0000"  >&lt;p&gt;Closing as a duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2748&quot; title=&quot;OSD uses kmalloc with high order to allocate a keys&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2748&quot;&gt;&lt;del&gt;LU-2748&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53690" author="green" created="Mon, 11 Mar 2013 10:50:06 +0000"  >&lt;p&gt;I disagree with Alex&apos; assessment.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2748&quot; title=&quot;OSD uses kmalloc with high order to allocate a keys&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2748&quot;&gt;&lt;del&gt;LU-2748&lt;/del&gt;&lt;/a&gt; only masked the symptoms here by making the original allocation more robust.&lt;br/&gt;
But should it fail for other reasons, this bug will still occur.&lt;/p&gt;</comment>
                            <comment id="53692" author="bzzz" created="Mon, 11 Mar 2013 11:04:02 +0000"  >&lt;p&gt;this code was taken directly from obdfilter (which has the same assert) and it never was a problem. that said i don&apos;t mean the code is absolutely correct, but I don&apos;t think this will be a problem with ofd.&lt;/p&gt;</comment>
                            <comment id="53746" author="yong.fan" created="Mon, 11 Mar 2013 21:11:50 +0000"  >&lt;p&gt;The failure occurred in ofd_lvbo_init() as following:&lt;/p&gt;

&lt;p&gt;==========================&lt;br/&gt;
        OBD_ALLOC_PTR(lvb);&lt;br/&gt;
        if (lvb == NULL)&lt;br/&gt;
                GOTO(out, rc = -ENOMEM);&lt;br/&gt;
==========================&lt;/p&gt;

&lt;p&gt;The needed size for the LVB is just 56 bytes, very small.&lt;/p&gt;</comment>
                            <comment id="53858" author="green" created="Wed, 13 Mar 2013 02:20:42 +0000"  >&lt;p&gt;Well, now that hte failed caller is exposed, we just need to fix the caller to do something more sensible.&lt;/p&gt;

&lt;p&gt;But this is not a huge priority because it&apos;s not expected to really fit ever.&lt;/p&gt;</comment>
                            <comment id="53864" author="yong.fan" created="Wed, 13 Mar 2013 03:30:54 +0000"  >&lt;p&gt;This is the patch to handle lvbo_init() failure:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#change,5699&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,5699&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53898" author="jlevi" created="Wed, 13 Mar 2013 08:26:27 +0000"  >&lt;p&gt;Per discussions with Oleg, reducing priority to major.&lt;/p&gt;</comment>
                            <comment id="55151" author="pjones" created="Sun, 31 Mar 2013 21:50:01 +0000"  >&lt;p&gt;Landed for 2.4&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="17698">LU-2867</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="14521">LU-1431</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="17439">LU-2748</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="17439">LU-2748</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|hzvixb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6756</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>