<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:12:14 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-14724] Kernel crash when setting NRS TBF policy</title>
                <link>https://jira.whamcloud.com/browse/LU-14724</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I was using a simple script to starting different types of TBF to check how the performance changes. But got following crash:&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;[ 1227.167592] ------------[ cut here ]------------
[ 1227.169778] WARNING: CPU: 0 PID: 8312 at lib/list_debug.c:29 __list_add+0x65/0xc0
[ 1227.172968] list_add corruption. next-&amp;gt;prev should be prev (ffff9a3576864b18), but was ffff9a3536545410. (next=ffff9a3535dfa818).
[ 1227.177552] Modules linked in: osp(OE) mdd(OE) lod(OE) mdt(OE) lfsck(OE) mgs(OE) mgc(OE) osd_ldiskfs(OE) ldiskfs(OE) lquota(OE) fid(OE) fld(OE) ksocklnd(OE) ptlrpc(OE) mbcache jbd2 obdclass(OE) lnet(OE) libcfs(OE) crc_t10dif crct10dif_generic sunrpc cirrus ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops iosf_mbi crc32_pclmul drm ppdev ghash_clmulni_intel cryptd joydev pcspkr i2c_piix4 drm_panel_orientation_quirks virtio_balloon parport_pc parport ip_tables xfs libcrc32c ata_generic pata_acpi virtio_net virtio_blk ata_piix libata crct10dif_pclmul crct10dif_common crc32c_intel serio_raw virtio_pci virtio_ring virtio
[ 1227.212638] CPU: 0 PID: 8312 Comm: lctl Kdump: loaded Tainted: G           OE  ------------   3.10.0-957.27.2.el7_lustre.ddn1.x86_64 #1
[ 1227.222441] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[ 1227.226826] Call Trace:
[ 1227.230063]  [&amp;lt;ffffffff96365147&amp;gt;] dump_stack+0x19/0x1b
[ 1227.233960]  [&amp;lt;ffffffff95c98848&amp;gt;] __warn+0xd8/0x100
[ 1227.237733]  [&amp;lt;ffffffff95c988cf&amp;gt;] warn_slowpath_fmt+0x5f/0x80
[ 1227.241797]  [&amp;lt;ffffffff95dea874&amp;gt;] ? handle_pte_fault+0x2f4/0xd10
[ 1227.245918]  [&amp;lt;ffffffff95f96ca5&amp;gt;] __list_add+0x65/0xc0
[ 1227.249896]  [&amp;lt;ffffffffc091b2c3&amp;gt;] nrs_tbf_ctl+0x433/0x580 [ptlrpc]
[ 1227.253730]  [&amp;lt;ffffffffc0909af9&amp;gt;] nrs_policy_ctl+0x119/0x2c0 [ptlrpc]
[ 1227.257688]  [&amp;lt;ffffffffc090c27f&amp;gt;] ptlrpc_nrs_policy_control+0x10f/0x2d0 [ptlrpc]
[ 1227.261892]  [&amp;lt;ffffffffc091a805&amp;gt;] ptlrpc_lprocfs_nrs_tbf_rule_seq_write+0x9a5/0x1030 [ptlrpc]
[ 1227.266550]  [&amp;lt;ffffffff95e42700&amp;gt;] vfs_write+0xc0/0x1f0
[ 1227.270192]  [&amp;lt;ffffffff95e4351f&amp;gt;] SyS_write+0x7f/0xf0
[ 1227.273826]  [&amp;lt;ffffffff96377ddb&amp;gt;] system_call_fastpath+0x22/0x27
[ 1227.277613] ---[ end trace 7bf73ec94c8b9c7f ]---
[ 1227.280879] ------------[ cut here ]------------
[ 1227.284118] WARNING: CPU: 0 PID: 8312 at lib/list_debug.c:36 __list_add+0x8a/0xc0
[ 1227.288315] list_add double add: new=ffff9a3576864b18, prev=ffff9a3576864b18, next=ffff9a3535dfa818.
[ 1227.292960] Modules linked in: osp(OE) mdd(OE) lod(OE) mdt(OE) lfsck(OE) mgs(OE) mgc(OE) osd_ldiskfs(OE) ldiskfs(OE) lquota(OE) fid(OE) fld(OE) ksocklnd(OE) ptlrpc(OE) mbcache jbd2 obdclass(OE) lnet(OE) libcfs(OE) crc_t10dif crct10dif_generic sunrpc cirrus ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops iosf_mbi crc32_pclmul drm ppdev ghash_clmulni_intel cryptd joydev pcspkr i2c_piix4 drm_panel_orientation_quirks virtio_balloon parport_pc parport ip_tables xfs libcrc32c ata_generic pata_acpi virtio_net virtio_blk ata_piix libata crct10dif_pclmul crct10dif_common crc32c_intel serio_raw virtio_pci virtio_ring virtio
[ 1227.323006] CPU: 0 PID: 8312 Comm: lctl Kdump: loaded Tainted: G        W  OE  ------------   3.10.0-957.27.2.el7_lustre.ddn1.x86_64 #1
[ 1227.330409] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[ 1227.333879] Call Trace:
[ 1227.336297]  [&amp;lt;ffffffff96365147&amp;gt;] dump_stack+0x19/0x1b
[ 1227.339376]  [&amp;lt;ffffffff95c98848&amp;gt;] __warn+0xd8/0x100
[ 1227.342292]  [&amp;lt;ffffffff95c988cf&amp;gt;] warn_slowpath_fmt+0x5f/0x80
[ 1227.345366]  [&amp;lt;ffffffff95dea874&amp;gt;] ? handle_pte_fault+0x2f4/0xd10
[ 1227.348480]  [&amp;lt;ffffffff95f96cca&amp;gt;] __list_add+0x8a/0xc0
[ 1227.351379]  [&amp;lt;ffffffffc091b2c3&amp;gt;] nrs_tbf_ctl+0x433/0x580 [ptlrpc]
[ 1227.354469]  [&amp;lt;ffffffffc0909af9&amp;gt;] nrs_policy_ctl+0x119/0x2c0 [ptlrpc]
[ 1227.357642]  [&amp;lt;ffffffffc090c27f&amp;gt;] ptlrpc_nrs_policy_control+0x10f/0x2d0 [ptlrpc]
[ 1227.361078]  [&amp;lt;ffffffffc091a805&amp;gt;] ptlrpc_lprocfs_nrs_tbf_rule_seq_write+0x9a5/0x1030 [ptlrpc]
[ 1227.364632]  [&amp;lt;ffffffff95e42700&amp;gt;] vfs_write+0xc0/0x1f0
[ 1227.367915]  [&amp;lt;ffffffff95e4351f&amp;gt;] SyS_write+0x7f/0xf0
[ 1227.371199]  [&amp;lt;ffffffff96377ddb&amp;gt;] system_call_fastpath+0x22/0x27
[ 1227.374733] ---[ end trace 7bf73ec94c8b9c80 ]---
[ 1227.377751] ------------[ cut here ]------------
[ 1227.380740] WARNING: CPU: 0 PID: 8312 at lib/list_debug.c:29 __list_add+0x65/0xc0
[ 1227.384566] list_add corruption. next-&amp;gt;prev should be prev (ffff9a3576864a18), but was ffff9a357b3cb010. (next=ffff9a3535dfa518).
[ 1227.391426] Modules linked in: osp(OE) mdd(OE) lod(OE) mdt(OE) lfsck(OE) mgs(OE) mgc(OE) osd_ldiskfs(OE) ldiskfs(OE) lquota(OE) fid(OE) fld(OE) ksocklnd(OE) ptlrpc(OE) mbcache jbd2 obdclass(OE) lnet(OE) libcfs(OE) crc_t10dif crct10dif_generic sunrpc cirrus ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops iosf_mbi crc32_pclmul drm ppdev ghash_clmulni_intel cryptd joydev pcspkr i2c_piix4 drm_panel_orientation_quirks virtio_balloon parport_pc parport ip_tables xfs libcrc32c ata_generic pata_acpi virtio_net virtio_blk ata_piix libata crct10dif_pclmul crct10dif_common crc32c_intel serio_raw virtio_pci virtio_ring virtio
[ 1227.416905] CPU: 0 PID: 8312 Comm: lctl Kdump: loaded Tainted: G        W  OE  ------------   3.10.0-957.27.2.el7_lustre.ddn1.x86_64 #1
[ 1227.422865] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[ 1227.425817] Call Trace:
[ 1227.428091]  [&amp;lt;ffffffff96365147&amp;gt;] dump_stack+0x19/0x1b
[ 1227.430940]  [&amp;lt;ffffffff95c98848&amp;gt;] __warn+0xd8/0x100
[ 1227.433708]  [&amp;lt;ffffffff95c988cf&amp;gt;] warn_slowpath_fmt+0x5f/0x80
[ 1227.436657]  [&amp;lt;ffffffff95dea874&amp;gt;] ? handle_pte_fault+0x2f4/0xd10
[ 1227.439639]  [&amp;lt;ffffffff95f96ca5&amp;gt;] __list_add+0x65/0xc0
[ 1227.442494]  [&amp;lt;ffffffffc091b2c3&amp;gt;] nrs_tbf_ctl+0x433/0x580 [ptlrpc]
[ 1227.445569]  [&amp;lt;ffffffffc0909af9&amp;gt;] nrs_policy_ctl+0x119/0x2c0 [ptlrpc]
[ 1227.448743]  [&amp;lt;ffffffffc090c22d&amp;gt;] ptlrpc_nrs_policy_control+0xbd/0x2d0 [ptlrpc]
[ 1227.452066]  [&amp;lt;ffffffffc091a805&amp;gt;] ptlrpc_lprocfs_nrs_tbf_rule_seq_write+0x9a5/0x1030 [ptlrpc]
[ 1227.455594]  [&amp;lt;ffffffff95e42700&amp;gt;] vfs_write+0xc0/0x1f0
[ 1227.458393]  [&amp;lt;ffffffff95e4351f&amp;gt;] SyS_write+0x7f/0xf0
[ 1227.461229]  [&amp;lt;ffffffff96377ddb&amp;gt;] system_call_fastpath+0x22/0x27
[ 1227.464742] ---[ end trace 7bf73ec94c8b9c81 ]---
[ 1227.467819] ------------[ cut here ]------------
[ 1227.470848] WARNING: CPU: 0 PID: 8312 at lib/list_debug.c:36 __list_add+0x8a/0xc0
[ 1227.474738] list_add double add: new=ffff9a3576864a18, prev=ffff9a3576864a18, next=ffff9a3535dfa518.
[ 1227.479284] Modules linked in: osp(OE) mdd(OE) lod(OE) mdt(OE) lfsck(OE) mgs(OE) mgc(OE) osd_ldiskfs(OE) ldiskfs(OE) lquota(OE) fid(OE) fld(OE) ksocklnd(OE) ptlrpc(OE) mbcache jbd2 obdclass(OE) lnet(OE) libcfs(OE) crc_t10dif crct10dif_generic sunrpc cirrus ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops iosf_mbi crc32_pclmul drm ppdev ghash_clmulni_intel cryptd joydev pcspkr i2c_piix4 drm_panel_orientation_quirks virtio_balloon parport_pc parport ip_tables xfs libcrc32c ata_generic pata_acpi virtio_net virtio_blk ata_piix libata crct10dif_pclmul crct10dif_common crc32c_intel serio_raw virtio_pci virtio_ring virtio
[ 1227.509176] CPU: 0 PID: 8312 Comm: lctl Kdump: loaded Tainted: G        W  OE  ------------   3.10.0-957.27.2.el7_lustre.ddn1.x86_64 #1
[ 1227.516423] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[ 1227.519942] Call Trace:
[ 1227.522420]  [&amp;lt;ffffffff96365147&amp;gt;] dump_stack+0x19/0x1b
[ 1227.525517]  [&amp;lt;ffffffff95c98848&amp;gt;] __warn+0xd8/0x100
[ 1227.528534]  [&amp;lt;ffffffff95c988cf&amp;gt;] warn_slowpath_fmt+0x5f/0x80
[ 1227.531673]  [&amp;lt;ffffffff95dea874&amp;gt;] ? handle_pte_fault+0x2f4/0xd10
[ 1227.534916]  [&amp;lt;ffffffff95f96cca&amp;gt;] __list_add+0x8a/0xc0
[ 1227.537959]  [&amp;lt;ffffffffc091b2c3&amp;gt;] nrs_tbf_ctl+0x433/0x580 [ptlrpc]
[ 1227.541268]  [&amp;lt;ffffffffc0909af9&amp;gt;] nrs_policy_ctl+0x119/0x2c0 [ptlrpc]
[ 1227.544551]  [&amp;lt;ffffffffc090c22d&amp;gt;] ptlrpc_nrs_policy_control+0xbd/0x2d0 [ptlrpc]
[ 1227.547998]  [&amp;lt;ffffffffc091a805&amp;gt;] ptlrpc_lprocfs_nrs_tbf_rule_seq_write+0x9a5/0x1030 [ptlrpc]
[ 1227.551691]  [&amp;lt;ffffffff95e42700&amp;gt;] vfs_write+0xc0/0x1f0
[ 1227.554551]  [&amp;lt;ffffffff95e4351f&amp;gt;] SyS_write+0x7f/0xf0
[ 1227.557286]  [&amp;lt;ffffffff96377ddb&amp;gt;] system_call_fastpath+0x22/0x27
[ 1227.560224] ---[ end trace 7bf73ec94c8b9c82 ]---
[ 1257.728282] ------------[ cut here ]------------
[ 1257.732804] WARNING: CPU: 0 PID: 8496 at lib/list_debug.c:59 __list_del_entry+0xa1/0xd0
[ 1257.738365] list_del corruption. prev-&amp;gt;next should be ffff9a3535dfa818, but was ffff9a3576864b18
[ 1257.743840] Modules linked in: osp(OE) mdd(OE) lod(OE) mdt(OE) lfsck(OE) mgs(OE) mgc(OE) osd_ldiskfs(OE) ldiskfs(OE) lquota(OE) fid(OE) fld(OE) ksocklnd(OE) ptlrpc(OE) mbcache jbd2 obdclass(OE) lnet(OE) libcfs(OE) crc_t10dif crct10dif_generic sunrpc cirrus ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops iosf_mbi crc32_pclmul drm ppdev ghash_clmulni_intel cryptd joydev pcspkr i2c_piix4 drm_panel_orientation_quirks virtio_balloon parport_pc parport ip_tables xfs libcrc32c ata_generic pata_acpi virtio_net virtio_blk ata_piix libata crct10dif_pclmul crct10dif_common crc32c_intel serio_raw virtio_pci virtio_ring virtio
[ 1257.777458] CPU: 0 PID: 8496 Comm: lctl Kdump: loaded Tainted: G        W  OE  ------------   3.10.0-957.27.2.el7_lustre.ddn1.x86_64 #1
[ 1257.784986] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[ 1257.788640] Call Trace:
[ 1257.791381]  [&amp;lt;ffffffff96365147&amp;gt;] dump_stack+0x19/0x1b
[ 1257.794802]  [&amp;lt;ffffffff95c98848&amp;gt;] __warn+0xd8/0x100
[ 1257.797962]  [&amp;lt;ffffffff95c988cf&amp;gt;] warn_slowpath_fmt+0x5f/0x80
[ 1257.801135]  [&amp;lt;ffffffff95f96da1&amp;gt;] __list_del_entry+0xa1/0xd0
[ 1257.804190]  [&amp;lt;ffffffffc091b19e&amp;gt;] nrs_tbf_ctl+0x30e/0x580 [ptlrpc]
[ 1257.807269]  [&amp;lt;ffffffffc0909af9&amp;gt;] nrs_policy_ctl+0x119/0x2c0 [ptlrpc]
[ 1257.810451]  [&amp;lt;ffffffffc090c27f&amp;gt;] ptlrpc_nrs_policy_control+0x10f/0x2d0 [ptlrpc]
[ 1257.813840]  [&amp;lt;ffffffffc091a805&amp;gt;] ptlrpc_lprocfs_nrs_tbf_rule_seq_write+0x9a5/0x1030 [ptlrpc]
[ 1257.817437]  [&amp;lt;ffffffff95e42700&amp;gt;] vfs_write+0xc0/0x1f0
[ 1257.820276]  [&amp;lt;ffffffff95e4351f&amp;gt;] SyS_write+0x7f/0xf0
[ 1257.823071]  [&amp;lt;ffffffff96377ddb&amp;gt;] system_call_fastpath+0x22/0x27
[ 1257.826456] ---[ end trace 7bf73ec94c8b9c83 ]---
[ 1257.829223] ------------[ cut here ]------------
[ 1257.832312] WARNING: CPU: 0 PID: 8496 at lib/list_debug.c:59 __list_del_entry+0xa1/0xd0
[ 1257.836504] list_del corruption. prev-&amp;gt;next should be ffff9a3535dfa518, but was ffff9a3576864a18
[ 1257.840931] Modules linked in: osp(OE) mdd(OE) lod(OE) mdt(OE) lfsck(OE) mgs(OE) mgc(OE) osd_ldiskfs(OE) ldiskfs(OE) lquota(OE) fid(OE) fld(OE) ksocklnd(OE) ptlrpc(OE) mbcache jbd2 obdclass(OE) lnet(OE) libcfs(OE) crc_t10dif crct10dif_generic sunrpc cirrus ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops iosf_mbi crc32_pclmul drm ppdev ghash_clmulni_intel cryptd joydev pcspkr i2c_piix4 drm_panel_orientation_quirks virtio_balloon parport_pc parport ip_tables xfs libcrc32c ata_generic pata_acpi virtio_net virtio_blk ata_piix libata crct10dif_pclmul crct10dif_common crc32c_intel serio_raw virtio_pci virtio_ring virtio
[ 1257.869996] CPU: 0 PID: 8496 Comm: lctl Kdump: loaded Tainted: G        W  OE  ------------   3.10.0-957.27.2.el7_lustre.ddn1.x86_64 #1
[ 1257.877025] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[ 1257.880482] Call Trace:
[ 1257.882843]  [&amp;lt;ffffffff96365147&amp;gt;] dump_stack+0x19/0x1b
[ 1257.885960]  [&amp;lt;ffffffff95c98848&amp;gt;] __warn+0xd8/0x100
[ 1257.888990]  [&amp;lt;ffffffff95c988cf&amp;gt;] warn_slowpath_fmt+0x5f/0x80
[ 1257.892268]  [&amp;lt;ffffffff95f96da1&amp;gt;] __list_del_entry+0xa1/0xd0
[ 1257.895832]  [&amp;lt;ffffffffc091b19e&amp;gt;] nrs_tbf_ctl+0x30e/0x580 [ptlrpc]
[ 1257.901397]  [&amp;lt;ffffffffc0909af9&amp;gt;] nrs_policy_ctl+0x119/0x2c0 [ptlrpc]
[ 1257.906565]  [&amp;lt;ffffffffc090c22d&amp;gt;] ptlrpc_nrs_policy_control+0xbd/0x2d0 [ptlrpc]
[ 1257.911435]  [&amp;lt;ffffffffc091a805&amp;gt;] ptlrpc_lprocfs_nrs_tbf_rule_seq_write+0x9a5/0x1030 [ptlrpc]
[ 1257.916663]  [&amp;lt;ffffffff95e42700&amp;gt;] vfs_write+0xc0/0x1f0
[ 1257.920614]  [&amp;lt;ffffffff95e4351f&amp;gt;] SyS_write+0x7f/0xf0
[ 1257.924491]  [&amp;lt;ffffffff96377ddb&amp;gt;] system_call_fastpath+0x22/0x27
[ 1257.928491] ---[ end trace 7bf73ec94c8b9c84 ]---
[ 1259.206242] BUG: unable to handle kernel NULL pointer dereference at 0000000000000028
[ 1259.211189] IP: [&amp;lt;ffffffffc054c328&amp;gt;] cfs_match_nid+0x48/0xd0 [lnet]
[ 1259.215625] PGD 0 
[ 1259.218265] Oops: 0000 [#1] SMP 
[ 1259.221311] Modules linked in: osp(OE) mdd(OE) lod(OE) mdt(OE) lfsck(OE) mgs(OE) mgc(OE) osd_ldiskfs(OE) ldiskfs(OE) lquota(OE) fid(OE) fld(OE) ksocklnd(OE) ptlrpc(OE) mbcache jbd2 obdclass(OE) lnet(OE) libcfs(OE) crc_t10dif crct10dif_generic sunrpc cirrus ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops iosf_mbi crc32_pclmul drm ppdev ghash_clmulni_intel cryptd joydev pcspkr i2c_piix4 drm_panel_orientation_quirks virtio_balloon parport_pc parport ip_tables xfs libcrc32c ata_generic pata_acpi virtio_net virtio_blk ata_piix libata crct10dif_pclmul crct10dif_common crc32c_intel serio_raw virtio_pci virtio_ring virtio
[ 1259.248355] CPU: 0 PID: 1413 Comm: mdt00_001 Kdump: loaded Tainted: G        W  OE  ------------   3.10.0-957.27.2.el7_lustre.ddn1.x86_64 #1
[ 1259.256061] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[ 1259.259755] task: ffff9a357a2cc100 ti: ffff9a3579e10000 task.ti: ffff9a3579e10000
[ 1259.264015] RIP: 0010:[&amp;lt;ffffffffc054c328&amp;gt;]  [&amp;lt;ffffffffc054c328&amp;gt;] cfs_match_nid+0x48/0xd0 [lnet]
[ 1259.268745] RSP: 0018:ffff9a3579e13c40  EFLAGS: 00010217
[ 1259.272250] RAX: ffffffffc029d970 RBX: ffff9a3535dfa528 RCX: 0000000000000000
[ 1259.276331] RDX: 0000000000000001 RSI: ffff9a3535dfa528 RDI: 000200000a0001dd
[ 1259.280306] RBP: ffff9a3579e13c78 R08: 0000000000000002 R09: 0000000000000000
[ 1259.284372] R10: ffffffffc0659fe0 R11: ffff9a357b10f060 R12: 0000000000000002
[ 1259.288421] R13: ffff9a35768b8200 R14: ffff9a357b3cb020 R15: 0000000000000000
[ 1259.292487] FS:  0000000000000000(0000) GS:ffff9a357fc00000(0000) knlGS:0000000000000000
[ 1259.296743] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1259.300290] CR2: 0000000000000028 CR3: 00000000366c4000 CR4: 00000000001606f0
[ 1259.304279] Call Trace:
[ 1259.306816]  [&amp;lt;ffffffffc0912169&amp;gt;] nrs_tbf_nid_rule_match+0x19/0x20 [ptlrpc]
[ 1259.310751]  [&amp;lt;ffffffffc0911d7c&amp;gt;] nrs_tbf_rule_match+0x6c/0xd0 [ptlrpc]
[ 1259.314523]  [&amp;lt;ffffffffc09155a7&amp;gt;] nrs_tbf_res_get+0xb7/0x510 [ptlrpc]
[ 1259.318206]  [&amp;lt;ffffffffc0907992&amp;gt;] nrs_resource_get+0x82/0x100 [ptlrpc]
[ 1259.322038]  [&amp;lt;ffffffffc0907f10&amp;gt;] nrs_resource_get_safe+0x80/0xf0 [ptlrpc]
[ 1259.325951]  [&amp;lt;ffffffffc090ba73&amp;gt;] ptlrpc_nrs_req_initialize+0x83/0x100 [ptlrpc]
[ 1259.329934]  [&amp;lt;ffffffffc08d69e1&amp;gt;] ptlrpc_server_handle_req_in+0x751/0xd60 [ptlrpc]
[ 1259.333991]  [&amp;lt;ffffffffc08dab1d&amp;gt;] ptlrpc_main+0xaad/0x1460 [ptlrpc]
[ 1259.337474]  [&amp;lt;ffffffff95cd1ad0&amp;gt;] ? finish_task_switch+0x50/0x1c0
[ 1259.341009]  [&amp;lt;ffffffffc08da070&amp;gt;] ? ptlrpc_register_service+0xf80/0xf80 [ptlrpc]
[ 1259.344963]  [&amp;lt;ffffffff95cc2e81&amp;gt;] kthread+0xd1/0xe0
[ 1259.348089]  [&amp;lt;ffffffff95cc2db0&amp;gt;] ? insert_kthread_work+0x40/0x40
[ 1259.351584]  [&amp;lt;ffffffff96377c37&amp;gt;] ret_from_fork_nospec_begin+0x21/0x21
[ 1259.355185]  [&amp;lt;ffffffff95cc2db0&amp;gt;] ? insert_kthread_work+0x40/0x40
[ 1259.358637] Code: c1 ec 10 0f b7 c0 48 89 f3 48 83 ec 10 4c 8b 3e 48 89 7d c8 89 45 d0 49 39 f7 75 0f eb 7d 0f 1f 44 00 00 4d 8b 3f 49 39 df 74 70 &amp;lt;49&amp;gt; 8b 47 28 44 39 20 75 ef 8b 55 d0 41 39 57 30 75 e6 41 8b 57 
[ 1259.369540] RIP  [&amp;lt;ffffffffc054c328&amp;gt;] cfs_match_nid+0x48/0xd0 [lnet]
[ 1259.373156]  RSP &amp;lt;ffff9a3579e13c40&amp;gt;
[ 1259.375776] CR2: 0000000000000028

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="64374">LU-14724</key>
            <summary>Kernel crash when setting NRS TBF policy</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="qian_wc">Qian Yingjin</assignee>
                                    <reporter username="lixi_wc">Li Xi</reporter>
                        <labels>
                    </labels>
                <created>Mon, 24 May 2021 12:04:59 +0000</created>
                <updated>Mon, 27 Jun 2022 02:12:02 +0000</updated>
                            <resolved>Fri, 17 Sep 2021 14:30:18 +0000</resolved>
                                                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="302326" author="lixi_wc" created="Mon, 24 May 2021 12:05:50 +0000"  >&lt;p&gt;Another crash on another MDT:&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;[ 1565.214951] ------------[ cut here ]------------
[ 1565.221179] WARNING: CPU: 0 PID: 13300 at lib/list_debug.c:29 __list_add+0x65/0xc0
[ 1565.228134] list_add corruption. next-&amp;gt;prev should be prev (ffff8e50398c0e18), but was ffff8e5039ff6110. (next=ffff8e503ab82f18).
[ 1565.240741] Modules linked in: osp(OE) mdd(OE) lod(OE) mdt(OE) lfsck(OE) mgc(OE) osd_ldiskfs(OE) lquota(OE) ldiskfs(OE) mbcache jbd2 lustre(OE) lmv(OE) mdc(OE) osc(OE) lov(OE) fid(OE) fld(OE) ksocklnd(OE) ptlrpc(OE) obdclass(OE) lnet(OE) libcfs(OE) crc_t10dif crct10dif_generic sunrpc cirrus ttm drm_kms_helper iosf_mbi crc32_pclmul syscopyarea sysfillrect sysimgblt fb_sys_fops ppdev drm ghash_clmulni_intel joydev cryptd pcspkr virtio_balloon drm_panel_orientation_quirks i2c_piix4 parport_pc parport ip_tables xfs libcrc32c ata_generic pata_acpi virtio_blk virtio_net ata_piix crct10dif_pclmul crct10dif_common libata crc32c_intel serio_raw virtio_pci virtio_ring virtio
[ 1565.281554] CPU: 0 PID: 13300 Comm: lctl Kdump: loaded Tainted: G           OE  ------------   3.10.0-957.27.2.el7_lustre.ddn1.x86_64 #1
[ 1565.290772] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[ 1565.295060] Call Trace:
[ 1565.298501]  [&amp;lt;ffffffff95565147&amp;gt;] dump_stack+0x19/0x1b
[ 1565.302598]  [&amp;lt;ffffffff94e98848&amp;gt;] __warn+0xd8/0x100
[ 1565.306471]  [&amp;lt;ffffffff94e988cf&amp;gt;] warn_slowpath_fmt+0x5f/0x80
[ 1565.310716]  [&amp;lt;ffffffffc087724c&amp;gt;] ? ptlrpc_lprocfs_nrs_tbf_rule_seq_write+0x3ec/0x1030 [ptlrpc]
[ 1565.315335]  [&amp;lt;ffffffff95196ca5&amp;gt;] __list_add+0x65/0xc0
[ 1565.319064]  [&amp;lt;ffffffffc08782c3&amp;gt;] nrs_tbf_ctl+0x433/0x580 [ptlrpc]
[ 1565.323485]  [&amp;lt;ffffffffc0866af9&amp;gt;] nrs_policy_ctl+0x119/0x2c0 [ptlrpc]
[ 1565.327993]  [&amp;lt;ffffffffc086927f&amp;gt;] ptlrpc_nrs_policy_control+0x10f/0x2d0 [ptlrpc]
[ 1565.332718]  [&amp;lt;ffffffffc0877805&amp;gt;] ptlrpc_lprocfs_nrs_tbf_rule_seq_write+0x9a5/0x1030 [ptlrpc]
[ 1565.337725]  [&amp;lt;ffffffff95042700&amp;gt;] vfs_write+0xc0/0x1f0
[ 1565.341479]  [&amp;lt;ffffffff9504351f&amp;gt;] SyS_write+0x7f/0xf0
[ 1565.344740]  [&amp;lt;ffffffff95577ddb&amp;gt;] system_call_fastpath+0x22/0x27
[ 1565.348476] ---[ end trace 5e55684a67664b6b ]---
[ 1565.352181] ------------[ cut here ]------------
[ 1565.355756] WARNING: CPU: 0 PID: 13300 at lib/list_debug.c:36 __list_add+0x8a/0xc0
[ 1565.360491] list_add double add: new=ffff8e50398c0e18, prev=ffff8e50398c0e18, next=ffff8e503ab82f18.
[ 1565.365595] Modules linked in: osp(OE) mdd(OE) lod(OE) mdt(OE) lfsck(OE) mgc(OE) osd_ldiskfs(OE) lquota(OE) ldiskfs(OE) mbcache jbd2 lustre(OE) lmv(OE) mdc(OE) osc(OE) lov(OE) fid(OE) fld(OE) ksocklnd(OE) ptlrpc(OE) obdclass(OE) lnet(OE) libcfs(OE) crc_t10dif crct10dif_generic sunrpc cirrus ttm drm_kms_helper iosf_mbi crc32_pclmul syscopyarea sysfillrect sysimgblt fb_sys_fops ppdev drm ghash_clmulni_intel joydev cryptd pcspkr virtio_balloon drm_panel_orientation_quirks i2c_piix4 parport_pc parport ip_tables xfs libcrc32c ata_generic pata_acpi virtio_blk virtio_net ata_piix crct10dif_pclmul crct10dif_common libata crc32c_intel serio_raw virtio_pci virtio_ring virtio
[ 1565.398289] CPU: 0 PID: 13300 Comm: lctl Kdump: loaded Tainted: G        W  OE  ------------   3.10.0-957.27.2.el7_lustre.ddn1.x86_64 #1
[ 1565.406004] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[ 1565.409791] Call Trace:
[ 1565.412503]  [&amp;lt;ffffffff95565147&amp;gt;] dump_stack+0x19/0x1b
[ 1565.416049]  [&amp;lt;ffffffff94e98848&amp;gt;] __warn+0xd8/0x100
[ 1565.419307]  [&amp;lt;ffffffff94e988cf&amp;gt;] warn_slowpath_fmt+0x5f/0x80
[ 1565.422814]  [&amp;lt;ffffffffc087724c&amp;gt;] ? ptlrpc_lprocfs_nrs_tbf_rule_seq_write+0x3ec/0x1030 [ptlrpc]
[ 1565.426988]  [&amp;lt;ffffffff95196cca&amp;gt;] __list_add+0x8a/0xc0
[ 1565.430066]  [&amp;lt;ffffffffc08782c3&amp;gt;] nrs_tbf_ctl+0x433/0x580 [ptlrpc]
[ 1565.433358]  [&amp;lt;ffffffffc0866af9&amp;gt;] nrs_policy_ctl+0x119/0x2c0 [ptlrpc]
[ 1565.436626]  [&amp;lt;ffffffffc086927f&amp;gt;] ptlrpc_nrs_policy_control+0x10f/0x2d0 [ptlrpc]
[ 1565.440073]  [&amp;lt;ffffffffc0877805&amp;gt;] ptlrpc_lprocfs_nrs_tbf_rule_seq_write+0x9a5/0x1030 [ptlrpc]
[ 1565.443662]  [&amp;lt;ffffffff95042700&amp;gt;] vfs_write+0xc0/0x1f0
[ 1565.446527]  [&amp;lt;ffffffff9504351f&amp;gt;] SyS_write+0x7f/0xf0
[ 1565.449358]  [&amp;lt;ffffffff95577ddb&amp;gt;] system_call_fastpath+0x22/0x27
[ 1565.452321] ---[ end trace 5e55684a67664b6c ]---
[ 1565.454939] ------------[ cut here ]------------
[ 1565.457505] WARNING: CPU: 0 PID: 13300 at lib/list_debug.c:29 __list_add+0x65/0xc0
[ 1565.460684] list_add corruption. next-&amp;gt;prev should be prev (ffff8e50398c0818), but was ffff8e4ff65ec210. (next=ffff8e503ab82518).
[ 1565.466212] Modules linked in: osp(OE) mdd(OE) lod(OE) mdt(OE) lfsck(OE) mgc(OE) osd_ldiskfs(OE) lquota(OE) ldiskfs(OE) mbcache jbd2 lustre(OE) lmv(OE) mdc(OE) osc(OE) lov(OE) fid(OE) fld(OE) ksocklnd(OE) ptlrpc(OE) obdclass(OE) lnet(OE) libcfs(OE) crc_t10dif crct10dif_generic sunrpc cirrus ttm drm_kms_helper iosf_mbi crc32_pclmul syscopyarea sysfillrect sysimgblt fb_sys_fops ppdev drm ghash_clmulni_intel joydev cryptd pcspkr virtio_balloon drm_panel_orientation_quirks i2c_piix4 parport_pc parport ip_tables xfs libcrc32c ata_generic pata_acpi virtio_blk virtio_net ata_piix crct10dif_pclmul crct10dif_common libata crc32c_intel serio_raw virtio_pci virtio_ring virtio
[ 1565.493553] CPU: 0 PID: 13300 Comm: lctl Kdump: loaded Tainted: G        W  OE  ------------   3.10.0-957.27.2.el7_lustre.ddn1.x86_64 #1
[ 1565.501159] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[ 1565.504808] Call Trace:
[ 1565.507362]  [&amp;lt;ffffffff95565147&amp;gt;] dump_stack+0x19/0x1b
[ 1565.510777]  [&amp;lt;ffffffff94e98848&amp;gt;] __warn+0xd8/0x100
[ 1565.514126]  [&amp;lt;ffffffff94e988cf&amp;gt;] warn_slowpath_fmt+0x5f/0x80
[ 1565.517788]  [&amp;lt;ffffffffc087724c&amp;gt;] ? ptlrpc_lprocfs_nrs_tbf_rule_seq_write+0x3ec/0x1030 [ptlrpc]
[ 1565.522371]  [&amp;lt;ffffffff95196ca5&amp;gt;] __list_add+0x65/0xc0
[ 1565.525777]  [&amp;lt;ffffffffc08782c3&amp;gt;] nrs_tbf_ctl+0x433/0x580 [ptlrpc]
[ 1565.529504]  [&amp;lt;ffffffffc0866af9&amp;gt;] nrs_policy_ctl+0x119/0x2c0 [ptlrpc]
[ 1565.533196]  [&amp;lt;ffffffffc086922d&amp;gt;] ptlrpc_nrs_policy_control+0xbd/0x2d0 [ptlrpc]
[ 1565.537432]  [&amp;lt;ffffffffc0877805&amp;gt;] ptlrpc_lprocfs_nrs_tbf_rule_seq_write+0x9a5/0x1030 [ptlrpc]
[ 1565.542160]  [&amp;lt;ffffffff95042700&amp;gt;] vfs_write+0xc0/0x1f0
[ 1565.545567]  [&amp;lt;ffffffff9504351f&amp;gt;] SyS_write+0x7f/0xf0
[ 1565.548887]  [&amp;lt;ffffffff95577ddb&amp;gt;] system_call_fastpath+0x22/0x27
[ 1565.552486] ---[ end trace 5e55684a67664b6d ]---
[ 1565.556345] ------------[ cut here ]------------
[ 1565.559416] WARNING: CPU: 0 PID: 13300 at lib/list_debug.c:36 __list_add+0x8a/0xc0
[ 1565.563366] list_add double add: new=ffff8e50398c0818, prev=ffff8e50398c0818, next=ffff8e503ab82518.
[ 1565.567794] Modules linked in: osp(OE) mdd(OE) lod(OE) mdt(OE) lfsck(OE) mgc(OE) osd_ldiskfs(OE) lquota(OE) ldiskfs(OE) mbcache jbd2 lustre(OE) lmv(OE) mdc(OE) osc(OE) lov(OE) fid(OE) fld(OE) ksocklnd(OE) ptlrpc(OE) obdclass(OE) lnet(OE) libcfs(OE) crc_t10dif crct10dif_generic sunrpc cirrus ttm drm_kms_helper iosf_mbi crc32_pclmul syscopyarea sysfillrect sysimgblt fb_sys_fops ppdev drm ghash_clmulni_intel joydev cryptd pcspkr virtio_balloon drm_panel_orientation_quirks i2c_piix4 parport_pc parport ip_tables xfs libcrc32c ata_generic pata_acpi virtio_blk virtio_net ata_piix crct10dif_pclmul crct10dif_common libata crc32c_intel serio_raw virtio_pci virtio_ring virtio
[ 1565.594763] CPU: 0 PID: 13300 Comm: lctl Kdump: loaded Tainted: G        W  OE  ------------   3.10.0-957.27.2.el7_lustre.ddn1.x86_64 #1
[ 1565.600997] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[ 1565.604002] Call Trace:
[ 1565.606287]  [&amp;lt;ffffffff95565147&amp;gt;] dump_stack+0x19/0x1b
[ 1565.609156]  [&amp;lt;ffffffff94e98848&amp;gt;] __warn+0xd8/0x100
[ 1565.611946]  [&amp;lt;ffffffff94e988cf&amp;gt;] warn_slowpath_fmt+0x5f/0x80
[ 1565.614962]  [&amp;lt;ffffffffc087724c&amp;gt;] ? ptlrpc_lprocfs_nrs_tbf_rule_seq_write+0x3ec/0x1030 [ptlrpc]
[ 1565.618577]  [&amp;lt;ffffffff95196cca&amp;gt;] __list_add+0x8a/0xc0
[ 1565.621495]  [&amp;lt;ffffffffc08782c3&amp;gt;] nrs_tbf_ctl+0x433/0x580 [ptlrpc]
[ 1565.624628]  [&amp;lt;ffffffffc0866af9&amp;gt;] nrs_policy_ctl+0x119/0x2c0 [ptlrpc]
[ 1565.627787]  [&amp;lt;ffffffffc086922d&amp;gt;] ptlrpc_nrs_policy_control+0xbd/0x2d0 [ptlrpc]
[ 1565.631160]  [&amp;lt;ffffffffc0877805&amp;gt;] ptlrpc_lprocfs_nrs_tbf_rule_seq_write+0x9a5/0x1030 [ptlrpc]
[ 1565.634742]  [&amp;lt;ffffffff95042700&amp;gt;] vfs_write+0xc0/0x1f0
[ 1565.637570]  [&amp;lt;ffffffff9504351f&amp;gt;] SyS_write+0x7f/0xf0
[ 1565.640359]  [&amp;lt;ffffffff95577ddb&amp;gt;] system_call_fastpath+0x22/0x27
[ 1565.643294] ---[ end trace 5e55684a67664b6e ]---
[ 1595.581246] ------------[ cut here ]------------
[ 1595.586173] WARNING: CPU: 0 PID: 13443 at lib/list_debug.c:59 __list_del_entry+0xa1/0xd0
[ 1595.592200] list_del corruption. prev-&amp;gt;next should be ffff8e503ab82f18, but was ffff8e50398c0e18
[ 1595.598089] Modules linked in: osp(OE) mdd(OE) lod(OE) mdt(OE) lfsck(OE) mgc(OE) osd_ldiskfs(OE) lquota(OE) ldiskfs(OE) mbcache jbd2 lustre(OE) lmv(OE) mdc(OE) osc(OE) lov(OE) fid(OE) fld(OE) ksocklnd(OE) ptlrpc(OE) obdclass(OE) lnet(OE) libcfs(OE) crc_t10dif crct10dif_generic sunrpc cirrus ttm drm_kms_helper iosf_mbi crc32_pclmul syscopyarea sysfillrect sysimgblt fb_sys_fops ppdev drm ghash_clmulni_intel joydev cryptd pcspkr virtio_balloon drm_panel_orientation_quirks i2c_piix4 parport_pc parport ip_tables xfs libcrc32c ata_generic pata_acpi virtio_blk virtio_net ata_piix crct10dif_pclmul crct10dif_common libata crc32c_intel serio_raw virtio_pci virtio_ring virtio
[ 1595.636079] CPU: 0 PID: 13443 Comm: lctl Kdump: loaded Tainted: G        W  OE  ------------   3.10.0-957.27.2.el7_lustre.ddn1.x86_64 #1
[ 1595.644034] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[ 1595.647910] Call Trace:
[ 1595.650830]  [&amp;lt;ffffffff95565147&amp;gt;] dump_stack+0x19/0x1b
[ 1595.654445]  [&amp;lt;ffffffff94e98848&amp;gt;] __warn+0xd8/0x100
[ 1595.657941]  [&amp;lt;ffffffff94e988cf&amp;gt;] warn_slowpath_fmt+0x5f/0x80
[ 1595.661557]  [&amp;lt;ffffffff95196da1&amp;gt;] __list_del_entry+0xa1/0xd0
[ 1595.665201]  [&amp;lt;ffffffffc087819e&amp;gt;] nrs_tbf_ctl+0x30e/0x580 [ptlrpc]
[ 1595.668992]  [&amp;lt;ffffffffc0866af9&amp;gt;] nrs_policy_ctl+0x119/0x2c0 [ptlrpc]
[ 1595.673091]  [&amp;lt;ffffffffc086927f&amp;gt;] ptlrpc_nrs_policy_control+0x10f/0x2d0 [ptlrpc]
[ 1595.677170]  [&amp;lt;ffffffffc0877805&amp;gt;] ptlrpc_lprocfs_nrs_tbf_rule_seq_write+0x9a5/0x1030 [ptlrpc]
[ 1595.681520]  [&amp;lt;ffffffff95042700&amp;gt;] vfs_write+0xc0/0x1f0
[ 1595.685171]  [&amp;lt;ffffffff9504351f&amp;gt;] SyS_write+0x7f/0xf0
[ 1595.688739]  [&amp;lt;ffffffff95577ddb&amp;gt;] system_call_fastpath+0x22/0x27
[ 1595.692521] ---[ end trace 5e55684a67664b6f ]---
[ 1595.695824] ------------[ cut here ]------------
[ 1595.698981] WARNING: CPU: 0 PID: 13443 at lib/list_debug.c:59 __list_del_entry+0xa1/0xd0
[ 1595.703309] list_del corruption. prev-&amp;gt;next should be ffff8e503ab82518, but was ffff8e50398c0818
[ 1595.707759] Modules linked in: osp(OE) mdd(OE) lod(OE) mdt(OE) lfsck(OE) mgc(OE) osd_ldiskfs(OE) lquota(OE) ldiskfs(OE) mbcache jbd2 lustre(OE) lmv(OE) mdc(OE) osc(OE) lov(OE) fid(OE) fld(OE) ksocklnd(OE) ptlrpc(OE) obdclass(OE) lnet(OE) libcfs(OE) crc_t10dif crct10dif_generic sunrpc cirrus ttm drm_kms_helper iosf_mbi crc32_pclmul syscopyarea sysfillrect sysimgblt fb_sys_fops ppdev drm ghash_clmulni_intel joydev cryptd pcspkr virtio_balloon drm_panel_orientation_quirks i2c_piix4 parport_pc parport ip_tables xfs libcrc32c ata_generic pata_acpi virtio_blk virtio_net ata_piix crct10dif_pclmul crct10dif_common libata crc32c_intel serio_raw virtio_pci virtio_ring virtio
[ 1595.738345] CPU: 0 PID: 13443 Comm: lctl Kdump: loaded Tainted: G        W  OE  ------------   3.10.0-957.27.2.el7_lustre.ddn1.x86_64 #1
[ 1595.745448] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[ 1595.748932] Call Trace:
[ 1595.751361]  [&amp;lt;ffffffff95565147&amp;gt;] dump_stack+0x19/0x1b
[ 1595.754438]  [&amp;lt;ffffffff94e98848&amp;gt;] __warn+0xd8/0x100
[ 1595.757350]  [&amp;lt;ffffffff94e988cf&amp;gt;] warn_slowpath_fmt+0x5f/0x80
[ 1595.760570]  [&amp;lt;ffffffff95196da1&amp;gt;] __list_del_entry+0xa1/0xd0
[ 1595.763697]  [&amp;lt;ffffffffc087819e&amp;gt;] nrs_tbf_ctl+0x30e/0x580 [ptlrpc]
[ 1595.767014]  [&amp;lt;ffffffffc0866af9&amp;gt;] nrs_policy_ctl+0x119/0x2c0 [ptlrpc]
[ 1595.770351]  [&amp;lt;ffffffffc086922d&amp;gt;] ptlrpc_nrs_policy_control+0xbd/0x2d0 [ptlrpc]
[ 1595.773820]  [&amp;lt;ffffffffc0877805&amp;gt;] ptlrpc_lprocfs_nrs_tbf_rule_seq_write+0x9a5/0x1030 [ptlrpc]
[ 1595.777472]  [&amp;lt;ffffffff95042700&amp;gt;] vfs_write+0xc0/0x1f0
[ 1595.780332]  [&amp;lt;ffffffff9504351f&amp;gt;] SyS_write+0x7f/0xf0
[ 1595.783133]  [&amp;lt;ffffffff95577ddb&amp;gt;] system_call_fastpath+0x22/0x27
[ 1595.786068] ---[ end trace 5e55684a67664b70 ]---
[ 1596.990479] BUG: unable to handle kernel NULL pointer dereference at 0000000000000028
[ 1596.995855] IP: [&amp;lt;ffffffffc0457328&amp;gt;] cfs_match_nid+0x48/0xd0 [lnet]
[ 1597.000313] PGD 8000000035084067 PUD 79bd8067 PMD 0 
[ 1597.004324] Oops: 0000 [#1] SMP 
[ 1597.007632] Modules linked in: osp(OE) mdd(OE) lod(OE) mdt(OE) lfsck(OE) mgc(OE) osd_ldiskfs(OE) lquota(OE) ldiskfs(OE) mbcache jbd2 lustre(OE) lmv(OE) mdc(OE) osc(OE) lov(OE) fid(OE) fld(OE) ksocklnd(OE) ptlrpc(OE) obdclass(OE) lnet(OE) libcfs(OE) crc_t10dif crct10dif_generic sunrpc cirrus ttm drm_kms_helper iosf_mbi crc32_pclmul syscopyarea sysfillrect sysimgblt fb_sys_fops ppdev drm ghash_clmulni_intel joydev cryptd pcspkr virtio_balloon drm_panel_orientation_quirks i2c_piix4 parport_pc parport ip_tables xfs libcrc32c ata_generic pata_acpi virtio_blk virtio_net ata_piix crct10dif_pclmul crct10dif_common libata crc32c_intel serio_raw virtio_pci virtio_ring virtio
[ 1597.041311] CPU: 0 PID: 7673 Comm: mdt00_001 Kdump: loaded Tainted: G        W  OE  ------------   3.10.0-957.27.2.el7_lustre.ddn1.x86_64 #1
[ 1597.049108] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[ 1597.052462] task: ffff8e5037f71040 ti: ffff8e501c22c000 task.ti: ffff8e501c22c000
[ 1597.056292] RIP: 0010:[&amp;lt;ffffffffc0457328&amp;gt;]  [&amp;lt;ffffffffc0457328&amp;gt;] cfs_match_nid+0x48/0xd0 [lnet]
[ 1597.060387] RSP: 0018:ffff8e501c22fc40  EFLAGS: 00010217
[ 1597.064005] RAX: ffffffff9541b420 RBX: ffff8e503ab82528 RCX: 0000000000000000
[ 1597.068236] RDX: 0000000000000001 RSI: ffff8e503ab82528 RDI: 000200000a0001eb
[ 1597.072364] RBP: ffff8e501c22fc78 R08: 0000000000000002 R09: 0000000000000000
[ 1597.076485] R10: ffffffffc0564fe0 R11: ffff8e501b163240 R12: 0000000000000002
[ 1597.080530] R13: ffff8e503bda6c00 R14: ffff8e4ff65ec220 R15: 0000000000000000
[ 1597.084545] FS:  0000000000000000(0000) GS:ffff8e503fc00000(0000) knlGS:0000000000000000
[ 1597.088822] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1597.092386] CR2: 0000000000000028 CR3: 000000007be48000 CR4: 00000000001606f0
[ 1597.096769] Call Trace:
[ 1597.099744]  [&amp;lt;ffffffffc086f169&amp;gt;] nrs_tbf_nid_rule_match+0x19/0x20 [ptlrpc]
[ 1597.103989]  [&amp;lt;ffffffffc086ed7c&amp;gt;] nrs_tbf_rule_match+0x6c/0xd0 [ptlrpc]
[ 1597.108283]  [&amp;lt;ffffffffc08725a7&amp;gt;] nrs_tbf_res_get+0xb7/0x510 [ptlrpc]
[ 1597.112474]  [&amp;lt;ffffffffc0864992&amp;gt;] nrs_resource_get+0x82/0x100 [ptlrpc]
[ 1597.116594]  [&amp;lt;ffffffffc0864f10&amp;gt;] nrs_resource_get_safe+0x80/0xf0 [ptlrpc]
[ 1597.120613]  [&amp;lt;ffffffffc0868a73&amp;gt;] ptlrpc_nrs_req_initialize+0x83/0x100 [ptlrpc]
[ 1597.124721]  [&amp;lt;ffffffffc08339e1&amp;gt;] ptlrpc_server_handle_req_in+0x751/0xd60 [ptlrpc]
[ 1597.128740]  [&amp;lt;ffffffffc0837b1d&amp;gt;] ptlrpc_main+0xaad/0x1460 [ptlrpc]
[ 1597.132249]  [&amp;lt;ffffffff94ed1ad0&amp;gt;] ? finish_task_switch+0x50/0x1c0
[ 1597.135701]  [&amp;lt;ffffffffc0837070&amp;gt;] ? ptlrpc_register_service+0xf80/0xf80 [ptlrpc]
[ 1597.139454]  [&amp;lt;ffffffff94ec2e81&amp;gt;] kthread+0xd1/0xe0
[ 1597.142406]  [&amp;lt;ffffffff94ec2db0&amp;gt;] ? insert_kthread_work+0x40/0x40
[ 1597.145706]  [&amp;lt;ffffffff95577c37&amp;gt;] ret_from_fork_nospec_begin+0x21/0x21
[ 1597.148740]  [&amp;lt;ffffffff94ec2db0&amp;gt;] ? insert_kthread_work+0x40/0x40
[ 1597.151607] Code: c1 ec 10 0f b7 c0 48 89 f3 48 83 ec 10 4c 8b 3e 48 89 7d c8 89 45 d0 49 39 f7 75 0f eb 7d 0f 1f 44 00 00 4d 8b 3f 49 39 df 74 70 &amp;lt;49&amp;gt; 8b 47 28 44 39 20 75 ef 8b 55 d0 41 39 57 30 75 e6 41 8b 57 
[ 1597.160777] RIP  [&amp;lt;ffffffffc0457328&amp;gt;] cfs_match_nid+0x48/0xd0 [lnet]
[ 1597.163897]  RSP &amp;lt;ffff8e501c22fc40&amp;gt;
[ 1597.166228] CR2: 0000000000000028
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="302330" author="lixi_wc" created="Mon, 24 May 2021 12:12:11 +0000"  >&lt;p&gt;The process of trigger the problem is:&lt;/p&gt;

&lt;p&gt;1. change the NRS policy to &quot;tbf&quot;, and create two rules of &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;&quot;opcode={ost_write},nid={192.168.*.*@tcp}&quot;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;2. change the rank of a rule&lt;br/&gt;
3. change the rate of a rule&lt;br/&gt;
4. stop the rule&lt;br/&gt;
5. change the NRS policy to &quot;tbf gid&quot;, create a rule of &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;&quot;gid={500}&quot;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;, repeat 2, 3, 4&lt;br/&gt;
6. change the NRS policy to &quot;tbf uid&quot;, create a rule of &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;&quot;uid={500}&quot;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;, repeat 2, 3, 4&lt;br/&gt;
7. change the NRS policy to &quot;tbf jobid&quot;, create a rule of &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;&quot;uid={dd.*}&quot;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;, repeat 2, 3, 4&lt;br/&gt;
8. change the NRS policy to &quot;tbf nid&quot;, create a rule of &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;&quot;nid={192.168.*.*@tcp}&quot;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;, repeat 2, 3, 4&lt;/p&gt;

&lt;p&gt;I am not sure whether the process can be reduce to simpler steps. But it seems quite easy to reproduce.&lt;/p&gt;</comment>
                            <comment id="302405" author="lixi_wc" created="Tue, 25 May 2021 08:12:20 +0000"  >&lt;p&gt;Steps to reproduce:&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;lctl set_param mds.MDS.mdt.nrs_policies=&quot;tbf nid&quot;;
lctl set_param mds.MDS.mdt.nrs_tbf_rule=&quot;start name nid={192.168.*.*@tcp} rate=10000&quot;;
lctl set_param mds.MDS.mdt.nrs_tbf_rule=&quot;start name1 nid={192.168.*.*@tcp} rate=10000&quot;;
lctl set_param mds.MDS.mdt.nrs_tbf_rule=&quot;change name1 rank=name&quot;;
lctl set_param mds.MDS.mdt.nrs_tbf_rule=&quot;stop name&quot;;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="303567" author="gerrit" created="Fri, 4 Jun 2021 09:39:47 +0000"  >&lt;p&gt;Yingjin Qian (qian@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/43925&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/43925&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14724&quot; title=&quot;Kernel crash when setting NRS TBF policy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14724&quot;&gt;&lt;del&gt;LU-14724&lt;/del&gt;&lt;/a&gt; nrs: TBF rule list broken when change rule rank&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: c78f39e9d997a6559f0f898d0e4db65105c3064e&lt;/p&gt;</comment>
                            <comment id="313169" author="gerrit" created="Fri, 17 Sep 2021 14:06:29 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/43925/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/43925/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14724&quot; title=&quot;Kernel crash when setting NRS TBF policy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14724&quot;&gt;&lt;del&gt;LU-14724&lt;/del&gt;&lt;/a&gt; nrs: TBF rule list broken when change rule rank&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e688f29275deeadc0ef4faa01f166986bade301f&lt;/p&gt;</comment>
                            <comment id="313194" author="pjones" created="Fri, 17 Sep 2021 14:30:18 +0000"  >&lt;p&gt;Landed for 2.15&lt;/p&gt;</comment>
                            <comment id="322065" author="gerrit" created="Fri, 7 Jan 2022 16:55:08 +0000"  >&lt;p&gt;&quot;Etienne AUJAMES &amp;lt;eaujames@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/46001&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46001&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14724&quot; title=&quot;Kernel crash when setting NRS TBF policy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14724&quot;&gt;&lt;del&gt;LU-14724&lt;/del&gt;&lt;/a&gt; nrs: TBF rule list broken when change rule rank&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f08df459cbba1052bcb1f54de57bff8a8ab2d483&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="64374">LU-14724</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="36056">LU-8006</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="64374">LU-14724</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|i01v7j:</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>