<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:03:48 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-6849] sanity-quota test 22 LBUG with &#8220;ASSERTION( orro-&gt;oo_ref == 0 ) failed: Busy NRS TRR policy object for OST&#8221;</title>
                <link>https://jira.whamcloud.com/browse/LU-6849</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;sanity-quota test 22 failed with  &apos;server shadow-14vm11 environments are insane!&apos;. Logs for this failure are:&lt;br/&gt;
2015-07-13 16:36:38 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/ba5b90c2-29a9-11e5-b0c2-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/ba5b90c2-29a9-11e5-b0c2-5254006e85c2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;From the OST console:&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;17:35:27:Lustre: DEBUG MARKER: umount -d -f /mnt/ost2
17:35:27:Lustre: 4055:0:(client.c:2018:ptlrpc_expire_one_request()) @@@ Request sent has timed out for slow reply: [sent 1436808903/real 1436808903]  req@ffff88007da416c0 x1506591584180392/t0(0) o250-&amp;gt;MGC10.1.4.170@tcp@10.1.4.170@tcp:26/25 lens 520/544 e 0 to 1 dl 1436808914 ref 1 fl Rpc:XN/0/ffffffff rc 0/-1
17:35:27:Lustre: server umount lustre-OST0001 complete
17:35:27:LustreError: 4041:0:(nrs_orr.c:483:nrs_trr_hop_exit()) ASSERTION( orro-&amp;gt;oo_ref == 0 ) failed: Busy NRS TRR policy object for OST with index 1, with 1 refs
17:35:27:LustreError: 4041:0:(nrs_orr.c:483:nrs_trr_hop_exit()) LBUG
17:35:27:Pid: 4041, comm: obd_zombid
17:35:27:
17:35:27:Call Trace:
17:35:27: [&amp;lt;ffffffffa0709875&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
17:35:27: [&amp;lt;ffffffffa0709e77&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
17:35:27: [&amp;lt;ffffffffa0ada51c&amp;gt;] nrs_trr_hop_exit+0x1cc/0x1d0 [ptlrpc]
17:35:27: [&amp;lt;ffffffffa071bf46&amp;gt;] cfs_hash_putref+0x1a6/0x480 [libcfs]
17:35:27: [&amp;lt;ffffffffa0721dbb&amp;gt;] ? cfs_binheap_destroy+0x3db/0x810 [libcfs]
17:35:27: [&amp;lt;ffffffffa0adb61f&amp;gt;] nrs_orr_stop+0x6f/0x440 [ptlrpc]
17:35:27: [&amp;lt;ffffffffa0ad11af&amp;gt;] nrs_policy_stop0+0x4f/0x1f0 [ptlrpc]
17:35:27: [&amp;lt;ffffffffa0ad14f8&amp;gt;] nrs_policy_stop_locked+0x1a8/0x230 [ptlrpc]
17:35:27: [&amp;lt;ffffffffa0ad2854&amp;gt;] nrs_policy_unregister+0xb4/0x670 [ptlrpc]
17:35:27: [&amp;lt;ffffffffa0ad2f32&amp;gt;] ptlrpc_service_nrs_cleanup+0x122/0x5b0 [ptlrpc]
17:35:27: [&amp;lt;ffffffffa0a9a617&amp;gt;] ptlrpc_unregister_service+0x417/0xe10 [ptlrpc]
17:35:27: [&amp;lt;ffffffff8105bd73&amp;gt;] ? __wake_up+0x53/0x70
17:35:27: [&amp;lt;ffffffffa0fdc12a&amp;gt;] ost_cleanup+0x6a/0x1b0 [ost]
17:35:27: [&amp;lt;ffffffffa084cf55&amp;gt;] class_decref+0x1e5/0x4d0 [obdclass]
17:35:27: [&amp;lt;ffffffffa0715c01&amp;gt;] ? libcfs_debug_msg+0x41/0x50 [libcfs]
17:35:27: [&amp;lt;ffffffffa083753c&amp;gt;] obd_zombie_impexp_cull+0x61c/0xac0 [obdclass]
17:35:27: [&amp;lt;ffffffffa0837a45&amp;gt;] obd_zombie_impexp_thread+0x65/0x190 [obdclass]
17:35:27: [&amp;lt;ffffffff81064be0&amp;gt;] ? default_wake_function+0x0/0x20
17:35:27: [&amp;lt;ffffffffa08379e0&amp;gt;] ? obd_zombie_impexp_thread+0x0/0x190 [obdclass]
17:35:27: [&amp;lt;ffffffff8109e78e&amp;gt;] kthread+0x9e/0xc0
17:35:27: [&amp;lt;ffffffff8100c28a&amp;gt;] child_rip+0xa/0x20
17:35:27: [&amp;lt;ffffffff8109e6f0&amp;gt;] ? kthread+0x0/0xc0
17:35:27: [&amp;lt;ffffffff8100c280&amp;gt;] ? child_rip+0x0/0x20
17:35:27:
17:35:27:Kernel panic - not syncing: LBUG
17:35:27:Pid: 4041, comm: obd_zombid Tainted: P           ---------------    2.6.32-504.23.4.el6_lustre.g2382eb0.x86_64 #1
17:35:27:Call Trace:
17:35:27: [&amp;lt;ffffffff81529bbc&amp;gt;] ? panic+0xa7/0x16f
17:35:27: [&amp;lt;ffffffffa0709ecb&amp;gt;] ? lbug_with_loc+0x9b/0xb0 [libcfs]
17:35:27: [&amp;lt;ffffffffa0ada51c&amp;gt;] ? nrs_trr_hop_exit+0x1cc/0x1d0 [ptlrpc]
17:35:27: [&amp;lt;ffffffffa071bf46&amp;gt;] ? cfs_hash_putref+0x1a6/0x480 [libcfs]
17:35:27: [&amp;lt;ffffffffa0721dbb&amp;gt;] ? cfs_binheap_destroy+0x3db/0x810 [libcfs]
17:35:27: [&amp;lt;ffffffffa0adb61f&amp;gt;] ? nrs_orr_stop+0x6f/0x440 [ptlrpc]
17:35:27: [&amp;lt;ffffffffa0ad11af&amp;gt;] ? nrs_policy_stop0+0x4f/0x1f0 [ptlrpc]
17:35:27: [mory mce=off disable_cpu_apicid=0 memmap=exactmap memmap=627K@4K memmap=131449K@49779K elfcorehdr=181228K memmap=4K$0K memmap=9K$631K memmap=64K$960K memmap=12K$2097140K memmap=272K$4194032K
17:35:27:KERNEL supported cpus:
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>review-zfs-part-1 test group in autotest</environment>
        <key id="31081">LU-6849</key>
            <summary>sanity-quota test 22 LBUG with &#8220;ASSERTION( orro-&gt;oo_ref == 0 ) failed: Busy NRS TRR policy object for OST&#8221;</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="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="lixi_wc">Li Xi</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                    </labels>
                <created>Tue, 14 Jul 2015 17:38:51 +0000</created>
                <updated>Thu, 2 Nov 2023 03:40:28 +0000</updated>
                                            <version>Lustre 2.8.0</version>
                    <version>Lustre 2.9.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="123308" author="green" created="Wed, 5 Aug 2015 12:40:21 +0000"  >&lt;p&gt;I just hit this too on current master in sanity test 77e:&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;&amp;lt;4&amp;gt;[53304.002633] Lustre: DEBUG MARKER: == sanityn test 77e: check TBF NID nrs policy == 06:44:27 (1438771467)
&amp;lt;0&amp;gt;[53304.068281] LustreError: 7480:0:(nrs_orr.c:483:nrs_trr_hop_exit()) ASSERTION( orro-&amp;gt;oo_ref == 0 ) failed: Busy NRS TRR policy object &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; OST with index 1, with 1 refs
&amp;lt;0&amp;gt;[53304.069257] LustreError: 7480:0:(nrs_orr.c:483:nrs_trr_hop_exit()) LBUG
&amp;lt;4&amp;gt;[53304.069586] Pid: 7480, comm: lctl
&amp;lt;4&amp;gt;[53304.069913] 
&amp;lt;4&amp;gt;[53304.069914] Call Trace:
&amp;lt;4&amp;gt;[53304.070424]  [&amp;lt;ffffffffa0771885&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
&amp;lt;4&amp;gt;[53304.070763]  [&amp;lt;ffffffffa0771e87&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
&amp;lt;4&amp;gt;[53304.071034]  [&amp;lt;ffffffffa0fa3956&amp;gt;] nrs_trr_hop_exit+0x126/0x130 [ptlrpc]
&amp;lt;4&amp;gt;[53304.071376]  [&amp;lt;ffffffffa0784076&amp;gt;] cfs_hash_putref+0x1a6/0x490 [libcfs]
&amp;lt;4&amp;gt;[53304.071714]  [&amp;lt;ffffffffa078a05b&amp;gt;] ? cfs_binheap_destroy+0x3db/0x810 [libcfs]
&amp;lt;4&amp;gt;[53304.072071]  [&amp;lt;ffffffffa0fa49bd&amp;gt;] nrs_orr_stop+0x6d/0x330 [ptlrpc]
&amp;lt;4&amp;gt;[53304.072360]  [&amp;lt;ffffffffa0f9b33e&amp;gt;] nrs_policy_stop0+0x4e/0x1f0 [ptlrpc]
&amp;lt;4&amp;gt;[53304.072598]  [&amp;lt;ffffffffa0f9b8a8&amp;gt;] nrs_policy_stop_primary+0x198/0x1d0 [ptlrpc]
&amp;lt;4&amp;gt;[53304.072988]  [&amp;lt;ffffffffa0f9bed8&amp;gt;] nrs_policy_start_locked+0x458/0x690 [ptlrpc]
&amp;lt;4&amp;gt;[53304.073510]  [&amp;lt;ffffffffa0f9c2fc&amp;gt;] nrs_policy_ctl+0x1ec/0x280 [ptlrpc]
&amp;lt;4&amp;gt;[53304.073755]  [&amp;lt;ffffffffa0f9dbd2&amp;gt;] ptlrpc_nrs_policy_control+0xe2/0x2a0 [ptlrpc]
&amp;lt;4&amp;gt;[53304.074265]  [&amp;lt;ffffffffa0f7f276&amp;gt;] ptlrpc_lprocfs_nrs_seq_write+0x3e6/0x600 [ptlrpc]
&amp;lt;4&amp;gt;[53304.074822]  [&amp;lt;ffffffffa0f7ee90&amp;gt;] ? ptlrpc_lprocfs_nrs_seq_write+0x0/0x600 [ptlrpc]
&amp;lt;4&amp;gt;[53304.075350]  [&amp;lt;ffffffff811fb8c5&amp;gt;] proc_reg_write+0x85/0xc0
&amp;lt;4&amp;gt;[53304.075629]  [&amp;lt;ffffffff8118f4a8&amp;gt;] vfs_write+0xb8/0x1a0
&amp;lt;4&amp;gt;[53304.075862]  [&amp;lt;ffffffff8118fde1&amp;gt;] sys_write+0x51/0x90
&amp;lt;4&amp;gt;[53304.076099]  [&amp;lt;ffffffff8100b0b2&amp;gt;] system_call_fastpath+0x16/0x1b
&amp;lt;4&amp;gt;[53304.076380] 
&amp;lt;0&amp;gt;[53304.095801] Kernel panic - not syncing: LBUG
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I have a crashdump and modules in /exports/crashdumps/192.168.10.224-2015-08-05-06\:44\:28/&lt;br/&gt;
tag in my source tree master-20150804&lt;/p&gt;</comment>
                            <comment id="123655" author="green" created="Sat, 8 Aug 2015 22:05:03 +0000"  >&lt;p&gt;and I just hit it once again.&lt;/p&gt;</comment>
                            <comment id="128876" author="green" created="Wed, 30 Sep 2015 12:45:17 +0000"  >&lt;p&gt;and just hit it once more&lt;/p&gt;</comment>
                            <comment id="129685" author="green" created="Wed, 7 Oct 2015 13:55:32 +0000"  >&lt;p&gt;Hit once again&lt;/p&gt;</comment>
                            <comment id="138514" author="jamesanunez" created="Mon, 11 Jan 2016 16:43:16 +0000"  >&lt;p&gt;More failures on master. This time in sanityn test_77e. Logs at:&lt;br/&gt;
2016-01-09 06:42:38 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/b3b1e744-b6cb-11e5-9fda-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/b3b1e744-b6cb-11e5-9fda-5254006e85c2&lt;/a&gt;&lt;br/&gt;
2016-02-01 10:16:59 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/2abcbe9e-c8fc-11e5-aaa9-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/2abcbe9e-c8fc-11e5-aaa9-5254006e85c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="157636" author="emoly.liu" created="Tue, 5 Jul 2016 03:40:40 +0000"  >&lt;p&gt;Hit this issue when running sanityn.sh 77e. &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=lixi&quot; class=&quot;user-hover&quot; rel=&quot;lixi&quot;&gt;lixi&lt;/a&gt;, could you please have a look? Thanks.&lt;/p&gt;</comment>
                            <comment id="157648" author="lixi" created="Tue, 5 Jul 2016 08:39:45 +0000"  >&lt;p&gt;Should we change oo_ref of struct nrs_orr_object to atomic_t? I feel that there are some places which could have race condition since the reference is not  always protected by the same lock.&lt;/p&gt;</comment>
                            <comment id="177388" author="yong.fan" created="Sun, 11 Dec 2016 01:39:26 +0000"  >&lt;p&gt;+1 on master:&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/3c3d6282-be50-11e6-8111-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/3c3d6282-be50-11e6-8111-5254006e85c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="180395" author="green" created="Wed, 11 Jan 2017 04:48:57 +0000"  >&lt;p&gt;I just hit this one again in master, note how it&apos;s closely located with the sleeping while atomic warning (I think there&apos;s a ticket about this, but cannot find it right away), possibly related?&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;[65131.137381] Lustre: DEBUG MARKER: == sanityn test 77d: check TRR nrs policy ============================================================ 17:59:22 (1484089162)
[65134.786924] BUG: sleeping function called from invalid context at /home/green/git/lustre-release/libcfs/libcfs/hash.c:1123
[65134.793042] in_atomic(): 1, irqs_disabled(): 0, pid: 25850, name: lctl
[65134.793574] INFO: lockdep is turned off.
[65134.794029] CPU: 7 PID: 25850 Comm: lctl Tainted: G        W  OE  ------------   3.10.0-debug #1
[65134.794924] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[65134.795507]  ffff880093aa8940 0000000076eac45a ffff880073a9bd18 ffffffff816fd400
[65134.796569]  ffff880073a9bd30 ffffffff810b0109 0000000000000004 ffff880073a9bd80
[65134.797496]  ffffffffa02989d3 ffffffffa029d486 ffff8800749b5f80 0000000000000004
[65134.798352] Call Trace:
[65134.799008]  [&amp;lt;ffffffff816fd400&amp;gt;] dump_stack+0x19/0x1b
[65134.799696]  [&amp;lt;ffffffff810b0109&amp;gt;] __might_sleep+0xe9/0x110
[65134.800431]  [&amp;lt;ffffffffa02989d3&amp;gt;] cfs_hash_putref+0x233/0x500 [libcfs]
[65134.801010]  [&amp;lt;ffffffffa029d486&amp;gt;] ? cfs_binheap_destroy+0x396/0x830 [libcfs]
[65134.801498]  [&amp;lt;ffffffffa0951aa9&amp;gt;] nrs_orr_stop+0x69/0x270 [ptlrpc]
[65134.802537]  [&amp;lt;ffffffffa0949e59&amp;gt;] nrs_policy_stop0+0x39/0x1c0 [ptlrpc]
[65134.803040]  [&amp;lt;ffffffffa094a7c8&amp;gt;] nrs_policy_stop_primary.isra.9+0x78/0x1f0 [ptlrpc]
[65134.803823]  [&amp;lt;ffffffffa094bb04&amp;gt;] nrs_policy_start_locked+0x624/0x670 [ptlrpc]
[65134.804591]  [&amp;lt;ffffffffa094bc7b&amp;gt;] nrs_policy_ctl+0x12b/0x2b0 [ptlrpc]
[65134.805015]  [&amp;lt;ffffffffa094e25f&amp;gt;] ptlrpc_nrs_policy_control+0x10f/0x2d0 [ptlrpc]
[65134.805809]  [&amp;lt;ffffffffa092ea35&amp;gt;] ptlrpc_lprocfs_nrs_seq_write+0x3a5/0x560 [ptlrpc]
[65134.806600]  [&amp;lt;ffffffff8125d3ed&amp;gt;] proc_reg_write+0x3d/0x80
[65134.806992]  [&amp;lt;ffffffff811ed38d&amp;gt;] vfs_write+0xbd/0x1e0
[65134.807398]  [&amp;lt;ffffffff811fe3fd&amp;gt;] ? putname+0x3d/0x60
[65134.807785]  [&amp;lt;ffffffff811ede54&amp;gt;] SyS_write+0x84/0xf0
[65134.808180]  [&amp;lt;ffffffff8170fc89&amp;gt;] system_call_fastpath+0x16/0x1b
[65134.808583] BUG: scheduling while atomic: lctl/25850/0x10000002
[65134.808958] INFO: lockdep is turned off.
[65134.809361] Modules linked in: lustre(OE) ofd(OE) osp(OE) lod(OE) ost(OE) mdt(OE) mdd(OE) mgs(OE) osd_ldiskfs(OE) ldiskfs(OE) lquota(OE) lfsck(OE) obdecho(OE) mgc(OE) lov(OE) osc(OE) mdc(OE) lmv(OE) fid(OE) fld(OE) ptlrpc_gss(OE) ptlrpc(OE) obdclass(OE) ksocklnd(OE) lnet(OE) libcfs(OE) brd ext4 loop mbcache jbd2 sha512_generic crypto_null rpcsec_gss_krb5 syscopyarea ata_generic sysfillrect sysimgblt pata_acpi ttm drm_kms_helper ata_piix drm i2c_piix4 libata pcspkr serio_raw virtio_balloon i2c_core virtio_console floppy virtio_blk nfsd ip_tables [last unloaded: libcfs]
[65134.814034] CPU: 7 PID: 25850 Comm: lctl Tainted: G        W  OE  ------------   3.10.0-debug #1
[65134.814810] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[65134.815505]  ffff880093aa8940 0000000076eac45a ffff880073a9bc90 ffffffff816fd400
[65134.816785]  ffff880073a9bca8 ffffffff816f9258 ffff880073a9bfd8 ffff880073a9bd08
[65134.817813]  ffffffff817041c7 ffff880093aa8940 ffff880073a9bfd8 ffff880073a9bfd8
[65134.818721] Call Trace:
[65134.819087]  [&amp;lt;ffffffff816fd400&amp;gt;] dump_stack+0x19/0x1b
[65134.819528]  [&amp;lt;ffffffff816f9258&amp;gt;] __schedule_bug+0x59/0x68
[65134.819984]  [&amp;lt;ffffffff817041c7&amp;gt;] __schedule+0x807/0x950
[65134.820387]  [&amp;lt;ffffffff810b4956&amp;gt;] __cond_resched+0x26/0x30
[65134.821032]  [&amp;lt;ffffffff817045fa&amp;gt;] _cond_resched+0x3a/0x50
[65134.821624]  [&amp;lt;ffffffffa02989d8&amp;gt;] cfs_hash_putref+0x238/0x500 [libcfs]
[65134.822213]  [&amp;lt;ffffffffa029d486&amp;gt;] ? cfs_binheap_destroy+0x396/0x830 [libcfs]
[65134.822837]  [&amp;lt;ffffffffa0951aa9&amp;gt;] nrs_orr_stop+0x69/0x270 [ptlrpc]
[65134.823464]  [&amp;lt;ffffffffa0949e59&amp;gt;] nrs_policy_stop0+0x39/0x1c0 [ptlrpc]
[65134.824058]  [&amp;lt;ffffffffa094a7c8&amp;gt;] nrs_policy_stop_primary.isra.9+0x78/0x1f0 [ptlrpc]
[65134.825188]  [&amp;lt;ffffffffa094bb04&amp;gt;] nrs_policy_start_locked+0x624/0x670 [ptlrpc]
[65134.826299]  [&amp;lt;ffffffffa094bc7b&amp;gt;] nrs_policy_ctl+0x12b/0x2b0 [ptlrpc]
[65134.826910]  [&amp;lt;ffffffffa094e25f&amp;gt;] ptlrpc_nrs_policy_control+0x10f/0x2d0 [ptlrpc]
[65134.827989]  [&amp;lt;ffffffffa092ea35&amp;gt;] ptlrpc_lprocfs_nrs_seq_write+0x3a5/0x560 [ptlrpc]
[65134.829059]  [&amp;lt;ffffffff8125d3ed&amp;gt;] proc_reg_write+0x3d/0x80
[65134.829648]  [&amp;lt;ffffffff811ed38d&amp;gt;] vfs_write+0xbd/0x1e0
[65134.830389]  [&amp;lt;ffffffff811fe3fd&amp;gt;] ? putname+0x3d/0x60
[65134.830966]  [&amp;lt;ffffffff811ede54&amp;gt;] SyS_write+0x84/0xf0
[65134.831935]  [&amp;lt;ffffffff8170fc89&amp;gt;] system_call_fastpath+0x16/0x1b
[65134.832463] LustreError: 25850:0:(nrs_orr.c:483:nrs_trr_hop_exit()) ASSERTION( orro-&amp;gt;oo_ref == 0 ) failed: Busy NRS TRR policy object for OST with index 0, with 1 refs
[65134.834538] LustreError: 25850:0:(nrs_orr.c:483:nrs_trr_hop_exit()) LBUG
[65134.835210] Pid: 25850, comm: lctl
[65134.835825] 
Call Trace:
[65134.836973]  [&amp;lt;ffffffffa02857d3&amp;gt;] libcfs_debug_dumpstack+0x53/0x80 [libcfs]
[65134.837671]  [&amp;lt;ffffffffa0285841&amp;gt;] lbug_with_loc+0x41/0xb0 [libcfs]
[65134.838296]  [&amp;lt;ffffffffa09516ab&amp;gt;] nrs_trr_hop_exit+0xfb/0x130 [ptlrpc]
[65134.838884]  [&amp;lt;ffffffffa0298982&amp;gt;] cfs_hash_putref+0x1e2/0x500 [libcfs]
[65134.839519]  [&amp;lt;ffffffffa029d486&amp;gt;] ? cfs_binheap_destroy+0x396/0x830 [libcfs]
[65134.840295]  [&amp;lt;ffffffffa0951aa9&amp;gt;] nrs_orr_stop+0x69/0x270 [ptlrpc]
[65134.840990]  [&amp;lt;ffffffffa0949e59&amp;gt;] nrs_policy_stop0+0x39/0x1c0 [ptlrpc]
[65134.841729]  [&amp;lt;ffffffffa094a7c8&amp;gt;] nrs_policy_stop_primary.isra.9+0x78/0x1f0 [ptlrpc]
[65134.842903]  [&amp;lt;ffffffffa094bb04&amp;gt;] nrs_policy_start_locked+0x624/0x670 [ptlrpc]
[65134.843961]  [&amp;lt;ffffffffa094bc7b&amp;gt;] nrs_policy_ctl+0x12b/0x2b0 [ptlrpc]
[65134.844570]  [&amp;lt;ffffffffa094e25f&amp;gt;] ptlrpc_nrs_policy_control+0x10f/0x2d0 [ptlrpc]
[65134.845658]  [&amp;lt;ffffffffa092ea35&amp;gt;] ptlrpc_lprocfs_nrs_seq_write+0x3a5/0x560 [ptlrpc]
[65134.846795]  [&amp;lt;ffffffff8125d3ed&amp;gt;] proc_reg_write+0x3d/0x80
[65134.847391]  [&amp;lt;ffffffff811ed38d&amp;gt;] vfs_write+0xbd/0x1e0
[65134.847958]  [&amp;lt;ffffffff811fe3fd&amp;gt;] ? putname+0x3d/0x60
[65134.848539]  [&amp;lt;ffffffff811ede54&amp;gt;] SyS_write+0x84/0xf0
[65134.849076]  [&amp;lt;ffffffff8170fc89&amp;gt;] system_call_fastpath+0x16/0x1b
[65134.849640] 
[65134.850122] Kernel panic - not syncing: LBUG
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="203890" author="green" created="Sat, 29 Jul 2017 18:44:22 +0000"  >&lt;p&gt;just hit this once again and again closely related to sleepign while atomic:&lt;/p&gt;

&lt;p&gt;Hm this comment was really long and jira hated it.&lt;br/&gt;
let me see if I can add the full info as an attachment.&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;[22075.470864] Lustre: DEBUG MARKER: == sanityn test 77b: check CRR-N NRS policy ========================================================== 09:02:25 (1501333345)
[22085.359953] BUG: sleeping function called from invalid context at /home/green/git/lustre-release/libcfs/libcfs/hash.c:1120
[22085.362133] in_atomic(): 1, irqs_disabled(): 0, pid: 8995, name: lctl
[22085.362674] 3 locks held by lctl/8995:
[22085.363514]  #0:  (sb_writers#3){......}, at: [&amp;lt;ffffffff811ed45b&amp;gt;] vfs_write+0x1ab/0x1e0
[22085.364569]  #1:  (&amp;amp;nrs_core.nrs_mutex){......}, at: [&amp;lt;ffffffffa05e46eb&amp;gt;] ptlrpc_lprocfs_nrs_seq_write+0x38b/0x560 [ptlrpc]
[22085.365679]  #2:  (&amp;amp;(&amp;amp;nrs-&amp;gt;nrs_lock)-&amp;gt;rlock){......}, at: [&amp;lt;ffffffffa05ffb0a&amp;gt;] nrs_policy_ctl+0x3a/0x2b0 [ptlrpc]
...
[22120.733831] BUG: scheduling while atomic: lctl/12741/0x10000002
[22120.734746] INFO: lockdep is turned off.
[22120.735614] Modules linked in: lustre(OE) ofd(OE) osp(OE) lod(OE) ost(OE) mdt(OE) mdd(OE) mgs(OE) osd_zfs(OE) lquota(OE) lfsck(OE) obdecho(OE) mgc(OE) lov(OE) osc(OE) mdc(OE) lmv(OE) fid(OE) fld(OE) ptlrpc_gss(OE) ptlrpc(OE) obdclass(OE) ksocklnd(OE) lnet(OE) libcfs(OE) brd ext4 mbcache loop zfs(PO) zunicode(PO) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) zlib_deflate jbd2 syscopyarea sysfillrect sysimgblt ttm ata_generic drm_kms_helper pata_acpi drm i2c_piix4 ata_piix serio_raw i2c_core virtio_balloon libata virtio_console virtio_blk pcspkr floppy nfsd ip_tables rpcsec_gss_krb5 [last unloaded: libcfs]
[22120.763431] CPU: 9 PID: 12741 Comm: lctl Tainted: P        W  OE  ------------   3.10.0-debug #2
[22120.769006] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[22120.770687]  ffff880073434b80 00000000ca53a485 ffff88008057bc90 ffffffff816fd3e4
[22120.774839]  ffff88008057bca8 ffffffff816f9218 ffff88008057bfd8 ffff88008057bd08
[22120.777191]  ffffffff817041a7 ffff880073434b80 ffff88008057bfd8 ffff88008057bfd8
[22120.780385] Call Trace:
[22120.781840]  [&amp;lt;ffffffff816fd3e4&amp;gt;] dump_stack+0x19/0x1b
[22120.783524]  [&amp;lt;ffffffff816f9218&amp;gt;] __schedule_bug+0x59/0x68
[22120.785190]  [&amp;lt;ffffffff817041a7&amp;gt;] __schedule+0x807/0x950
[22120.786814]  [&amp;lt;ffffffff810b4936&amp;gt;] __cond_resched+0x26/0x30
[22120.788015]  [&amp;lt;ffffffff817045da&amp;gt;] _cond_resched+0x3a/0x50
[22120.790636]  [&amp;lt;ffffffffa02000a8&amp;gt;] cfs_hash_putref+0x238/0x500 [libcfs]
[22120.794345]  [&amp;lt;ffffffffa0204b66&amp;gt;] ? cfs_binheap_destroy+0x396/0x830 [libcfs]
[22120.795397]  [&amp;lt;ffffffffa06059c9&amp;gt;] nrs_orr_stop+0x69/0x270 [ptlrpc]
[22120.797393]  [&amp;lt;ffffffffa05fddd9&amp;gt;] nrs_policy_stop0+0x39/0x1c0 [ptlrpc]
[22120.799836]  [&amp;lt;ffffffffa05fe748&amp;gt;] nrs_policy_stop_primary.isra.9+0x78/0x1f0 [ptlrpc]
[22120.801265]  [&amp;lt;ffffffffa05ffa84&amp;gt;] nrs_policy_start_locked+0x624/0x670 [ptlrpc]
[22120.803191]  [&amp;lt;ffffffffa05ffbfb&amp;gt;] nrs_policy_ctl+0x12b/0x2b0 [ptlrpc]
[22120.803997]  [&amp;lt;ffffffffa06021ef&amp;gt;] ptlrpc_nrs_policy_control+0x10f/0x2d0 [ptlrpc]
[22120.828023]  [&amp;lt;ffffffffa05e4705&amp;gt;] ptlrpc_lprocfs_nrs_seq_write+0x3a5/0x560 [ptlrpc]
[22120.837729]  [&amp;lt;ffffffff8125d3cd&amp;gt;] proc_reg_write+0x3d/0x80
[22120.848944]  [&amp;lt;ffffffff811ed36d&amp;gt;] vfs_write+0xbd/0x1e0
[22120.849644]  [&amp;lt;ffffffff811fe3dd&amp;gt;] ? putname+0x3d/0x60
[22120.850441]  [&amp;lt;ffffffff811ede34&amp;gt;] SyS_write+0x84/0xf0
[22120.851186]  [&amp;lt;ffffffff8170fc49&amp;gt;] system_call_fastpath+0x16/0x1b
[22120.851897] LustreError: 12741:0:(nrs_orr.c:483:nrs_trr_hop_exit()) ASSERTION( orro-&amp;gt;oo_ref == 0 ) failed: Busy NRS TRR policy object for OST with index 1, with 1 refs
[22120.856255] LustreError: 12741:0:(nrs_orr.c:483:nrs_trr_hop_exit()) LBUG
[22120.856969] Pid: 12741, comm: lctl
[22120.857575] 
Call Trace:
[22120.858750]  [&amp;lt;ffffffffa01ec7ce&amp;gt;] libcfs_call_trace+0x4e/0x60 [libcfs]
[22120.859460]  [&amp;lt;ffffffffa01ec85c&amp;gt;] lbug_with_loc+0x4c/0xb0 [libcfs]
[22120.860231]  [&amp;lt;ffffffffa06055cb&amp;gt;] nrs_trr_hop_exit+0xfb/0x130 [ptlrpc]
[22120.861629]  [&amp;lt;ffffffffa0200052&amp;gt;] cfs_hash_putref+0x1e2/0x500 [libcfs]
[22120.862123]  [&amp;lt;ffffffffa0204b66&amp;gt;] ? cfs_binheap_destroy+0x396/0x830 [libcfs]
[22120.862821]  [&amp;lt;ffffffffa06059c9&amp;gt;] nrs_orr_stop+0x69/0x270 [ptlrpc]
[22120.863589]  [&amp;lt;ffffffffa05fddd9&amp;gt;] nrs_policy_stop0+0x39/0x1c0 [ptlrpc]
[22120.864315]  [&amp;lt;ffffffffa05fe748&amp;gt;] nrs_policy_stop_primary.isra.9+0x78/0x1f0 [ptlrpc]
[22120.865614]  [&amp;lt;ffffffffa05ffa84&amp;gt;] nrs_policy_start_locked+0x624/0x670 [ptlrpc]
[22120.866922]  [&amp;lt;ffffffffa05ffbfb&amp;gt;] nrs_policy_ctl+0x12b/0x2b0 [ptlrpc]
[22120.872716]  [&amp;lt;ffffffffa06021ef&amp;gt;] ptlrpc_nrs_policy_control+0x10f/0x2d0 [ptlrpc]
[22120.874257]  [&amp;lt;ffffffffa05e4705&amp;gt;] ptlrpc_lprocfs_nrs_seq_write+0x3a5/0x560 [ptlrpc]
[22120.875521]  [&amp;lt;ffffffff8125d3cd&amp;gt;] proc_reg_write+0x3d/0x80
[22120.876212]  [&amp;lt;ffffffff811ed36d&amp;gt;] vfs_write+0xbd/0x1e0
[22120.900486]  [&amp;lt;ffffffff811fe3dd&amp;gt;] ? putname+0x3d/0x60
[22120.901959]  [&amp;lt;ffffffff811ede34&amp;gt;] SyS_write+0x84/0xf0
[22120.920647]  [&amp;lt;ffffffff8170fc49&amp;gt;] system_call_fastpath+0x16/0x1b
[22120.921334] 
[22120.921903] Kernel panic - not syncing: LBUG
[22120.922521] CPU: 9 PID: 12741 Comm: lctl Tainted: P        W  OE  ------------   3.10.0-debug #2
[22120.923760] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[22120.924463]  ffffffffa020bed2 00000000ca53a485 ffff88008057bc70 ffffffff816fd3e4
[22120.925713]  ffff88008057bcf0 ffffffff816f8c34 ffffffff00000008 ffff88008057bd00
[22120.927552]  ffff88008057bca0 00000000ca53a485 00000000ca53a485 ffff88033e52d948
[22120.929142] Call Trace:
[22120.929738]  [&amp;lt;ffffffff816fd3e4&amp;gt;] dump_stack+0x19/0x1b
[22120.930405]  [&amp;lt;ffffffff816f8c34&amp;gt;] panic+0xd8/0x1e7
[22120.931066]  [&amp;lt;ffffffffa01ec874&amp;gt;] lbug_with_loc+0x64/0xb0 [libcfs]
[22120.931861]  [&amp;lt;ffffffffa06055cb&amp;gt;] nrs_trr_hop_exit+0xfb/0x130 [ptlrpc]
[22120.932566]  [&amp;lt;ffffffffa0200052&amp;gt;] cfs_hash_putref+0x1e2/0x500 [libcfs]
[22120.933266]  [&amp;lt;ffffffffa0204b66&amp;gt;] ? cfs_binheap_destroy+0x396/0x830 [libcfs]
[22120.934002]  [&amp;lt;ffffffffa06059c9&amp;gt;] nrs_orr_stop+0x69/0x270 [ptlrpc]
[22120.934708]  [&amp;lt;ffffffffa05fddd9&amp;gt;] nrs_policy_stop0+0x39/0x1c0 [ptlrpc]
[22120.935433]  [&amp;lt;ffffffffa05fe748&amp;gt;] nrs_policy_stop_primary.isra.9+0x78/0x1f0 [ptlrpc]
[22120.936713]  [&amp;lt;ffffffffa05ffa84&amp;gt;] nrs_policy_start_locked+0x624/0x670 [ptlrpc]
[22120.937994]  [&amp;lt;ffffffffa05ffbfb&amp;gt;] nrs_policy_ctl+0x12b/0x2b0 [ptlrpc]
[22120.938714]  [&amp;lt;ffffffffa06021ef&amp;gt;] ptlrpc_nrs_policy_control+0x10f/0x2d0 [ptlrpc]
[22120.939994]  [&amp;lt;ffffffffa05e4705&amp;gt;] ptlrpc_lprocfs_nrs_seq_write+0x3a5/0x560 [ptlrpc]
[22120.941251]  [&amp;lt;ffffffff8125d3cd&amp;gt;] proc_reg_write+0x3d/0x80
[22120.941916]  [&amp;lt;ffffffff811ed36d&amp;gt;] vfs_write+0xbd/0x1e0
[22120.942587]  [&amp;lt;ffffffff811fe3dd&amp;gt;] ? putname+0x3d/0x60
[22120.943243]  [&amp;lt;ffffffff811ede34&amp;gt;] SyS_write+0x84/0xf0
[22120.943899]  [&amp;lt;ffffffff8170fc49&amp;gt;] system_call_fastpath+0x16/0x1b
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Please take a look at it.&lt;/p&gt;</comment>
                            <comment id="256704" author="arshad512" created="Sun, 20 Oct 2019 14:00:28 +0000"  >&lt;p&gt;Another instance. &lt;a href=&quot;http://testing.linuxhacker.ru:3333/lustre-reports/3782/results.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://testing.linuxhacker.ru:3333/lustre-reports/3782/results.html&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="257845" author="adilger" created="Wed, 6 Nov 2019 19:19:18 +0000"  >&lt;p&gt;+1 on master in sanityn.sh test_77d &lt;a href=&quot;https://testing.whamcloud.com/test_sets/580c04d6-f963-11e9-a0ba-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/580c04d6-f963-11e9-a0ba-52540065bddc&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="72864">LU-16253</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="27870" name="lu6849.txt" size="44209" author="green" created="Sat, 29 Jul 2017 18:45:54 +0000"/>
                    </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|hzxi5z:</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>