<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:32:10 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-3239] ofd_internal.h:518:ofd_info_init()) ASSERTION( info )</title>
                <link>https://jira.whamcloud.com/browse/LU-3239</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Lustre: DEBUG MARKER: == parallel-scale test simul: simul == 22:08:33 (1367125713)&lt;br/&gt;
LustreError: 19190:0:(ofd_internal.h:518:ofd_info_init()) ASSERTION( info ) failed: &lt;br/&gt;
LustreError: 19182:0:(ofd_internal.h:518:ofd_info_init()) ASSERTION( info ) failed: &lt;br/&gt;
LustreError: 19182:0:(ofd_internal.h:518:ofd_info_init()) LBUG&lt;br/&gt;
Pid: 19182, comm: ll_ost_io00_001&lt;/p&gt;

&lt;p&gt;Call Trace:&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa044e895&amp;gt;&amp;#93;&lt;/span&gt; libcfs_debug_dumpstack+0x55/0x80 &lt;span class=&quot;error&quot;&gt;&amp;#91;libcfs&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa044ee97&amp;gt;&amp;#93;&lt;/span&gt; lbug_with_loc+0x47/0xb0 &lt;span class=&quot;error&quot;&gt;&amp;#91;libcfs&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0e03e62&amp;gt;&amp;#93;&lt;/span&gt; ofd_info_init+0x92/0x130 &lt;span class=&quot;error&quot;&gt;&amp;#91;ofd&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0e05835&amp;gt;&amp;#93;&lt;/span&gt; ofd_get_info+0x2e5/0xa90 &lt;span class=&quot;error&quot;&gt;&amp;#91;ofd&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff812805cd&amp;gt;&amp;#93;&lt;/span&gt; ? pointer+0x8d/0x830&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa029f7e5&amp;gt;&amp;#93;&lt;/span&gt; ? lprocfs_counter_add+0x125/0x182 &lt;span class=&quot;error&quot;&gt;&amp;#91;lvfs&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa078528a&amp;gt;&amp;#93;&lt;/span&gt; nrs_orr_range_fill_physical+0x18a/0x540 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0762dd6&amp;gt;&amp;#93;&lt;/span&gt; ? __req_capsule_get+0x166/0x700 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa073e630&amp;gt;&amp;#93;&lt;/span&gt; ? lustre_swab_ost_body+0x0/0x10 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa07871d7&amp;gt;&amp;#93;&lt;/span&gt; nrs_orr_res_get+0x817/0xb80 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa077d306&amp;gt;&amp;#93;&lt;/span&gt; nrs_resource_get+0x56/0x110 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa077dccb&amp;gt;&amp;#93;&lt;/span&gt; nrs_resource_get_safe+0x8b/0x100 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0780248&amp;gt;&amp;#93;&lt;/span&gt; ptlrpc_nrs_req_initialize+0x38/0x90 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa074cff0&amp;gt;&amp;#93;&lt;/span&gt; ptlrpc_main+0x1170/0x16f0 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa074be80&amp;gt;&amp;#93;&lt;/span&gt; ? ptlrpc_main+0x0/0x16f0 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8100c0ca&amp;gt;&amp;#93;&lt;/span&gt; child_rip+0xa/0x20&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa074be80&amp;gt;&amp;#93;&lt;/span&gt; ? ptlrpc_main+0x0/0x16f0 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa074be80&amp;gt;&amp;#93;&lt;/span&gt; ? ptlrpc_main+0x0/0x16f0 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8100c0c0&amp;gt;&amp;#93;&lt;/span&gt; ? child_rip+0x0/0x20&lt;/p&gt;

&lt;p&gt;LustreError: dumping log to /tmp/lustre-log.1367125716.19182&lt;br/&gt;
LustreError: 19190:0:(ofd_internal.h:518:ofd_info_init()) LBUG&lt;br/&gt;
Pid: 19190, comm: ll_ost_io03_000&lt;/p&gt;

&lt;p&gt;Call Trace:&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa044e895&amp;gt;&amp;#93;&lt;/span&gt; libcfs_debug_dumpstack+0x55/0x80 &lt;span class=&quot;error&quot;&gt;&amp;#91;libcfs&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa044ee97&amp;gt;&amp;#93;&lt;/span&gt; lbug_with_loc+0x47/0xb0 &lt;span class=&quot;error&quot;&gt;&amp;#91;libcfs&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0e03e62&amp;gt;&amp;#93;&lt;/span&gt; ofd_info_init+0x92/0x130 &lt;span class=&quot;error&quot;&gt;&amp;#91;ofd&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0e05835&amp;gt;&amp;#93;&lt;/span&gt; ofd_get_info+0x2e5/0xa90 &lt;span class=&quot;error&quot;&gt;&amp;#91;ofd&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff812805cd&amp;gt;&amp;#93;&lt;/span&gt; ? pointer+0x8d/0x830&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa029f7e5&amp;gt;&amp;#93;&lt;/span&gt; ? lprocfs_counter_add+0x125/0x182 &lt;span class=&quot;error&quot;&gt;&amp;#91;lvfs&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa078528a&amp;gt;&amp;#93;&lt;/span&gt; nrs_orr_range_fill_physical+0x18a/0x540 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0762dd6&amp;gt;&amp;#93;&lt;/span&gt; ? __req_capsule_get+0x166/0x700 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa073e630&amp;gt;&amp;#93;&lt;/span&gt; ? lustre_swab_ost_body+0x0/0x10 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa07871d7&amp;gt;&amp;#93;&lt;/span&gt; nrs_orr_res_get+0x817/0xb80 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa077d306&amp;gt;&amp;#93;&lt;/span&gt; nrs_resource_get+0x56/0x110 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa077dccb&amp;gt;&amp;#93;&lt;/span&gt; nrs_resource_get_safe+0x8b/0x100 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0780248&amp;gt;&amp;#93;&lt;/span&gt; ptlrpc_nrs_req_initialize+0x38/0x90 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa074cff0&amp;gt;&amp;#93;&lt;/span&gt; ptlrpc_main+0x1170/0x16f0 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa074be80&amp;gt;&amp;#93;&lt;/span&gt; ? ptlrpc_main+0x0/0x16f0 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8100c0ca&amp;gt;&amp;#93;&lt;/span&gt; child_rip+0xa/0x20&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa074be80&amp;gt;&amp;#93;&lt;/span&gt; ? ptlrpc_main+0x0/0x16f0 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa074be80&amp;gt;&amp;#93;&lt;/span&gt; ? ptlrpc_main+0x0/0x16f0 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8100c0c0&amp;gt;&amp;#93;&lt;/span&gt; ? child_rip+0x0/0x20&lt;/p&gt;

&lt;p&gt;LustreError: dumping log to /tmp/lustre-log.1367125719.19190&lt;br/&gt;
LNet: Service thread pid 19182 was inactive for 200.00s. The thread might be hung, or it might only be slow and will resume later. Dumping the stack trace for debugging purposes:&lt;br/&gt;
Pid: 19182, comm: ll_ost_io00_001&lt;/p&gt;

&lt;p&gt;I set nrs on mds to crrn, oss02 to orr, oss03 to trr and run parallel-scale&lt;/p&gt;</description>
                <environment>&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/0e21f9ba-afec-11e2-b8a3-52540035b04c&quot;&gt;https://maloo.whamcloud.com/test_sets/0e21f9ba-afec-11e2-b8a3-52540035b04c&lt;/a&gt;</environment>
        <key id="18606">LU-3239</key>
            <summary>ofd_internal.h:518:ofd_info_init()) ASSERTION( info )</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="1">Fixed</resolution>
                                        <assignee username="di.wang">Di Wang</assignee>
                                    <reporter username="mdiep">Minh Diep</reporter>
                        <labels>
                            <label>LB</label>
                    </labels>
                <created>Sun, 28 Apr 2013 10:16:52 +0000</created>
                <updated>Thu, 2 May 2013 10:39:17 +0000</updated>
                            <resolved>Thu, 2 May 2013 10:39:17 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="57246" author="utopiabound" created="Mon, 29 Apr 2013 18:02:11 +0000"  >&lt;p&gt;Possibly related similar stack trace but from next ASSERTION line (sanityn test_71):&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/4c4286e0-b0de-11e2-bece-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/4c4286e0-b0de-11e2-bece-52540035b04c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/f78b8b88-b100-11e2-b2c4-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/f78b8b88-b100-11e2-b2c4-52540035b04c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="57254" author="di.wang" created="Mon, 29 Apr 2013 19:34:01 +0000"  >&lt;p&gt;It seems to me, NRS makes get_info step into OFD before it is initialized. &lt;/p&gt;</comment>
                            <comment id="57259" author="adilger" created="Mon, 29 Apr 2013 19:50:21 +0000"  >&lt;p&gt;Alex, should the OFD environment already be initialized by this point?  Is there something that can easily be done to avoid this problem?&lt;/p&gt;</comment>
                            <comment id="57266" author="di.wang" created="Mon, 29 Apr 2013 20:37:21 +0000"  >&lt;p&gt;IMHO, we can simply add lu_env_refill in ofd_get_info. I will cook a patch now.&lt;/p&gt;</comment>
                            <comment id="57268" author="di.wang" created="Mon, 29 Apr 2013 20:57:43 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/6204&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/6204&lt;/a&gt;  &lt;/p&gt;</comment>
                            <comment id="57290" author="mdiep" created="Tue, 30 Apr 2013 04:39:22 +0000"  >&lt;p&gt;Wang Di,&lt;/p&gt;

&lt;p&gt;I hit this after running your patch&lt;/p&gt;


&lt;p&gt;general protection fault: 0000 &lt;a href=&quot;#1&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;1&lt;/a&gt; SMP ^M&lt;br/&gt;
last sysfs file: /sys/devices/pci0000:80/0000:80:05.0/0000:84:00.0/local_cpus^M&lt;br/&gt;
CPU 0 ^M&lt;br/&gt;
Modules linked in: osp(U) ofd(U) ost(U) mgc(U) fsfilt_ldiskfs(U) osd_ldiskfs(U) ldiskfs(U) lquota(U) jbd2 mdd(U) lustre(U) lov(U) osc(U) mdc(U) fid(U) fld(U) ko2iblnd(U) ptlrpc(U) obdclass(U) lnet(U) lvfs(U) sha512_generic sha256_generic libcfs(U) nfsd exportfs nfs lockd fscache auth_rpcgss nfs_acl sunrpc cpufreq_ondemand acpi_cpufreq freq_table mperf ib_ipoib rdma_ucm ib_ucm ib_uverbs ib_umad rdma_cm ib_cm iw_cm ib_addr ipv6 microcode serio_raw mlx4_ib ib_sa ib_mad ib_core mlx4_en mlx4_core i2c_i801 i2c_core iTCO_wdt iTCO_vendor_support ioatdma i7core_edac edac_core ses enclosure sg igb dca ptp pps_core ext3 jbd mbcache sr_mod cdrom sd_mod crc_t10dif pata_acpi ata_generic ata_piix mpt2sas scsi_transport_sas raid_class dm_mirror dm_region_hash dm_log dm_mod &lt;span class=&quot;error&quot;&gt;&amp;#91;last unloaded: scsi_wait_scan&amp;#93;&lt;/span&gt;^M&lt;br/&gt;
^M&lt;br/&gt;
Pid: 13927, comm: ll_ost_io00_003 Not tainted 2.6.32-358.6.1.el6_lustre.gce942d0.x86_64 #1 Supermicro X8DTH-i/6/iF/6F/X8DTH^M&lt;br/&gt;
RIP: 0010:&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa05aa678&amp;gt;&amp;#93;&lt;/span&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa05aa678&amp;gt;&amp;#93;&lt;/span&gt; keys_fill+0x48/0x190 &lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;^M&lt;br/&gt;
RSP: 0018:ffff8806a9a4d9c0  EFLAGS: 00010246^M&lt;br/&gt;
RAX: 5a5a5a5a5a5a5a5a RBX: 0000000000000000 RCX: 0000000000000000^M&lt;br/&gt;
RDX: 00000000000000f8 RSI: ffff8806a9a4dbd6 RDI: ffff88069d88af40^M&lt;br/&gt;
RBP: ffff8806a9a4da00 R08: 0000000000000000 R09: ffff8806a9a4dcd0^M&lt;br/&gt;
R10: 000000000000000f R11: 0000000000000001 R12: ffff88069d88af40^M&lt;br/&gt;
R13: ffffffffa0613a00 R14: ffff8806a9a4dbd0 R15: ffff880fb6667800^M&lt;br/&gt;
FS:  00007f4b3d486700(0000) GS:ffff880028200000(0000) knlGS:0000000000000000^M&lt;br/&gt;
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b^M&lt;br/&gt;
CR2: 00000000006d4420 CR3: 00000010335b5000 CR4: 00000000000007f0^M&lt;br/&gt;
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000^M&lt;br/&gt;
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400^M&lt;br/&gt;
Process ll_ost_io00_003 (pid: 13927, threadinfo ffff8806a9a4c000, task ffff8806b04deaa0)^M&lt;br/&gt;
Stack:^M&lt;br/&gt;
 ffffffffffffffff 0000000000000000 0000000000000001 ffff8806ae9a06c0^M&lt;br/&gt;
&amp;lt;d&amp;gt; ffff880fccc03000 0000000000000000 ffff8806a9a4dbd0 ffff880fb6667800^M&lt;br/&gt;
&amp;lt;d&amp;gt; ffff8806a9a4da10 ffffffffa05aa7dd ffff8806a9a4da30 ffffffffa05aa818^M&lt;br/&gt;
Call Trace:^M&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa05aa7dd&amp;gt;&amp;#93;&lt;/span&gt; lu_context_refill+0x1d/0x30 &lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;^M&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa05aa818&amp;gt;&amp;#93;&lt;/span&gt; lu_env_refill+0x28/0x30 &lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;^M&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0e06852&amp;gt;&amp;#93;&lt;/span&gt; ofd_get_info+0x302/0xba0 &lt;span class=&quot;error&quot;&gt;&amp;#91;ofd&amp;#93;&lt;/span&gt;^M&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff812805fd&amp;gt;&amp;#93;&lt;/span&gt; ? pointer+0x8d/0x830^M&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa029f7e5&amp;gt;&amp;#93;&lt;/span&gt; ? lprocfs_counter_add+0x125/0x182 &lt;span class=&quot;error&quot;&gt;&amp;#91;lvfs&amp;#93;&lt;/span&gt;^M&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa078528a&amp;gt;&amp;#93;&lt;/span&gt; nrs_orr_range_fill_physical+0x18a/0x540 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;^M&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0762dd6&amp;gt;&amp;#93;&lt;/span&gt; ? __req_capsule_get+0x166/0x700 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;^M&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa073e630&amp;gt;&amp;#93;&lt;/span&gt; ? lustre_swab_ost_body+0x0/0x10 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;^M&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa07871c6&amp;gt;&amp;#93;&lt;/span&gt; nrs_orr_res_get+0x806/0xb90 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;^M&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa077d306&amp;gt;&amp;#93;&lt;/span&gt; nrs_resource_get+0x56/0x110 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;^M&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa077dccb&amp;gt;&amp;#93;&lt;/span&gt; nrs_resource_get_safe+0x8b/0x100 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;^M&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0780248&amp;gt;&amp;#93;&lt;/span&gt; ptlrpc_nrs_req_initialize+0x38/0x90 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;^M&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa074cff0&amp;gt;&amp;#93;&lt;/span&gt; ptlrpc_main+0x1170/0x16f0 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;^M&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa074be80&amp;gt;&amp;#93;&lt;/span&gt; ? ptlrpc_main+0x0/0x16f0 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;^M&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8100c0ca&amp;gt;&amp;#93;&lt;/span&gt; child_rip+0xa/0x20^M&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa074be80&amp;gt;&amp;#93;&lt;/span&gt; ? ptlrpc_main+0x0/0x16f0 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;^M&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa074be80&amp;gt;&amp;#93;&lt;/span&gt; ? ptlrpc_main+0x0/0x16f0 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;^M&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8100c0c0&amp;gt;&amp;#93;&lt;/span&gt; ? child_rip+0x0/0x20^M&lt;/p&gt;</comment>
                            <comment id="57292" author="tappro" created="Tue, 30 Apr 2013 06:26:53 +0000"  >&lt;p&gt;This is not about missed keys but non-initialized context at all because obd_get_info() is called not from ptlrpc_server_handle_request(). We need all lu_context setup things in ptlrpc_server_handle_req_in like that is done in ptlrpc_server_handle_request() since ptlrpc_server_handle_req_in() can cause calls to device stack now.&lt;/p&gt;</comment>
                            <comment id="57293" author="di.wang" created="Tue, 30 Apr 2013 06:44:03 +0000"  >&lt;p&gt;yes, I forgot this is in handle_req_in, instead of handle_request.&lt;/p&gt;</comment>
                            <comment id="57294" author="di.wang" created="Tue, 30 Apr 2013 07:31:16 +0000"  >&lt;p&gt;I just updated the patch. To avoid the hassle in handle_req_in, ofd_get_info(KEY_FIEMAP) will initialize the env itself, since ofd_get_info(KEY_FIEMAP) is the only use case from handle_req_in, adding env initialization in handle_req_in might not worth for now. &lt;/p&gt;</comment>
                            <comment id="57297" author="tappro" created="Tue, 30 Apr 2013 08:01:09 +0000"  >&lt;p&gt;I tend to agree, if this is the only single case.&lt;/p&gt;</comment>
                            <comment id="57299" author="bzzz" created="Tue, 30 Apr 2013 08:46:51 +0000"  >&lt;p&gt;we do already have env in ptlrpc_main()..&lt;/p&gt;</comment>
                            <comment id="57332" author="di.wang" created="Tue, 30 Apr 2013 16:54:20 +0000"  >&lt;p&gt;well, those envs might be initialized too early before ofd stack setup. that is why we do env_refill in ost_handle? &lt;/p&gt;</comment>
                            <comment id="57333" author="bzzz" created="Tue, 30 Apr 2013 16:56:45 +0000"  >&lt;p&gt;env_refill() is fine, but recreation env from scratch on potentially every read/write is not, i think.&lt;/p&gt;
</comment>
                            <comment id="57341" author="di.wang" created="Tue, 30 Apr 2013 17:44:19 +0000"  >&lt;p&gt;hmm, only for ofd_get_info, because get_info is the only use case from handle_request_in, where env(le_ses) is not initialized correctly. so I figured initializing env(le_ses) for all requests in req_in might not worth. Only do this env_init in ofd_get_info should be enough. Besides we can not use env_refill here, because le_ses might be in some uninitialized state, you can see from Minh&apos;s test. Hmm, I did not see ofd_get_info is called in the process of read/write. Do I miss sth? &lt;/p&gt;</comment>
                            <comment id="57342" author="bzzz" created="Tue, 30 Apr 2013 17:47:26 +0000"  >&lt;p&gt;get_info(KEY_FIEMAP) is used to order requests with regard physical offset, AFAIK.&lt;/p&gt;</comment>
                            <comment id="57349" author="di.wang" created="Tue, 30 Apr 2013 18:28:08 +0000"  >&lt;p&gt;hmm, yes, probably env_refill should be better. I change it back to env_refill here in the update patch.&lt;/p&gt;</comment>
                            <comment id="57449" author="adilger" created="Wed, 1 May 2013 17:22:43 +0000"  >&lt;p&gt;Please do not close this bug until a test that runs at least basic NRS policy functionality.&lt;/p&gt;</comment>
                            <comment id="57504" author="pjones" created="Thu, 2 May 2013 10:39:17 +0000"  >&lt;p&gt;Landed for 2.4&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10120">
                    <name>Blocker</name>
                                            <outwardlinks description="is blocking">
                                        <issuelink>
            <issuekey id="11119">LU-398</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|hzvp7r:</customfieldvalue>

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