<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:01:16 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-13436] a virtio bug could crash lustre kernel</title>
                <link>https://jira.whamcloud.com/browse/LU-13436</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Got OSS crash several times below. I got same crash at mkfs time, but it hit only formating time, but it also happned when huge amount of files were deleted.&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;[ 3960.737559] ------------[ cut here ]------------
[ 3960.738188] kernel BUG at drivers/virtio/virtio_ring.c:278!
[ 3960.738774] invalid opcode: 0000 [#1] SMP 
[ 3960.739356] Modules linked in: binfmt_misc osd_ldiskfs(OE) lquota(OE) ldiskfs(OE) ksocklnd(OE) lustre(OE) lmv(OE) mdc(OE) osc(OE) lov(OE) fid(OE) fld(OE) ko2iblnd(OE) ptlrpc(OE) obdclass(OE) lnet(OE) libcfs(OE) virtio_scsi(OE) rdma_ucm(OE) ib_ucm(OE) rdma_cm(OE) iw_cm(OE) ib_ipoib(OE) ib_cm(OE) ib_umad(OE) mlx5_ib(OE) mlx4_en(OE) mlx4_ib(OE) ib_uverbs(OE) ib_core(OE) mlx4_core(OE) sunrpc iTCO_wdt iTCO_vendor_support ppdev nfit libnvdimm iosf_mbi crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd joydev lpc_ich i2c_i801 pcspkr parport_pc sg i6300esb parport ip_tables ext4 mbcache jbd2 sr_mod sd_mod cdrom crc_t10dif crct10dif_generic bochs_drm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm virtio_net virtio_blk ahci drm libahci mlx5_core(OE) libata
[ 3960.743320]  crct10dif_pclmul mlxfw(OE) crct10dif_common ptp crc32c_intel pps_core iavf devlink serio_raw virtio_pci virtio_ring mlx_compat(OE) virtio drm_panel_orientation_quirks dm_mirror dm_region_hash dm_log dm_mod [last unloaded: virtio_scsi]
[ 3960.745431] CPU: 18 PID: 2480 Comm: kworker/u40:1 Kdump: loaded Tainted: G           OE  ------------ T 3.10.0-1062.1.1.el7_lustre.ddn3.x86_64 #1
[ 3960.746900] Hardware name: DDN SFA400NVXE, BIOS rel-1.12.1-0-ga5cab58e9a3f-prebuilt.qemu.org 04/01/2014
[ 3960.747677] Workqueue: writeback bdi_writeback_workfn (flush-253:4)
[ 3960.748445] task: ffff978a23a2c1c0 ti: ffff976c25680000 task.ti: ffff976c25680000
[ 3960.749226] RIP: 0010:[&amp;lt;ffffffffc02533e2&amp;gt;]  [&amp;lt;ffffffffc02533e2&amp;gt;] virtqueue_add+0x4a2/0x4d0 [virtio_ring]
[ 3960.750017] RSP: 0018:ffff976c256834f0  EFLAGS: 00010097
[ 3960.750789] RAX: 0000000000001001 RBX: ffff978a60cc0000 RCX: 0000000000000003
[ 3960.751582] RDX: 0000000000001001 RSI: ffff976c25683610 RDI: ffff978a60cc0000
[ 3960.752374] RBP: ffff976c25683558 R08: 0000000000000001 R09: ffff976ffa9a4300
[ 3960.753169] R10: ffff9789f427b400 R11: ffff978a519a8e80 R12: ffff976c25683630
[ 3960.753950] R13: ffff976c25683630 R14: ffff976c25683610 R15: 0000000000000001
[ 3960.754734] FS:  0000000000000000(0000) GS:ffff978a69480000(0000) knlGS:0000000000000000
[ 3960.755535] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3960.756337] CR2: 00007f8446e64e70 CR3: 000000251ea9c000 CR4: 0000000000760fe0
[ 3960.757148] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 3960.757930] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 3960.758703] PKRU: 00000000
[ 3960.759459] Call Trace:
[ 3960.760227]  [&amp;lt;ffffffffc0253497&amp;gt;] virtqueue_add_sgs+0x87/0xa0 [virtio_ring]
[ 3960.761010]  [&amp;lt;ffffffffc04956aa&amp;gt;] virtscsi_add_cmd+0x17a/0x270 [virtio_scsi]
[ 3960.761779]  [&amp;lt;ffffffff873bef3e&amp;gt;] ? mempool_alloc+0x6e/0x170
[ 3960.762549]  [&amp;lt;ffffffffc04957d8&amp;gt;] virtscsi_kick_cmd+0x38/0xa0 [virtio_scsi]
[ 3960.763328]  [&amp;lt;ffffffffc0496c3d&amp;gt;] virtscsi_queuecommand+0x15d/0x370 [virtio_scsi]
[ 3960.764106]  [&amp;lt;ffffffffc0496efe&amp;gt;] virtscsi_queuecommand_multi+0x6e/0xd8 [virtio_scsi]
[ 3960.764878]  [&amp;lt;ffffffff876dcc90&amp;gt;] scsi_dispatch_cmd+0xb0/0x240
[ 3960.765657]  [&amp;lt;ffffffff876e59b5&amp;gt;] scsi_queue_rq+0x595/0x6e0
[ 3960.766435]  [&amp;lt;ffffffff8755ad05&amp;gt;] __blk_mq_try_issue_directly+0x135/0x1a0
[ 3960.767218]  [&amp;lt;ffffffff8755ad9d&amp;gt;] blk_mq_try_issue_directly+0x2d/0xb0
[ 3960.767994]  [&amp;lt;ffffffff8755b256&amp;gt;] blk_mq_make_request+0x436/0x630
[ 3960.768762]  [&amp;lt;ffffffff8754eff7&amp;gt;] generic_make_request+0x147/0x380
[ 3960.769535]  [&amp;lt;ffffffff8754f2a0&amp;gt;] submit_bio+0x70/0x150
[ 3960.770304]  [&amp;lt;ffffffff87486335&amp;gt;] ? bio_alloc_bioset+0x115/0x310
[ 3960.771069]  [&amp;lt;ffffffff87481d57&amp;gt;] _submit_bh+0x127/0x160
[ 3960.771828]  [&amp;lt;ffffffff87481fd2&amp;gt;] __block_write_full_page+0x162/0x390
[ 3960.772592]  [&amp;lt;ffffffff87487b10&amp;gt;] ? set_init_blocksize+0x90/0x90
[ 3960.773357]  [&amp;lt;ffffffff87487b10&amp;gt;] ? set_init_blocksize+0x90/0x90
[ 3960.774103]  [&amp;lt;ffffffff874823e8&amp;gt;] block_write_full_page+0xd8/0x100
[ 3960.774838]  [&amp;lt;ffffffff87488358&amp;gt;] blkdev_writepage+0x18/0x20
[ 3960.775561]  [&amp;lt;ffffffff873c6fd9&amp;gt;] __writepage+0x19/0x50
[ 3960.776273]  [&amp;lt;ffffffff873c7cec&amp;gt;] write_cache_pages+0x21c/0x470
[ 3960.776960]  [&amp;lt;ffffffff873c6fc0&amp;gt;] ? global_dirtyable_memory+0x70/0x70
[ 3960.777632]  [&amp;lt;ffffffff873c7f8d&amp;gt;] generic_writepages+0x4d/0x80
[ 3960.778293]  [&amp;lt;ffffffff8748831e&amp;gt;] blkdev_writepages+0xe/0x10
[ 3960.778929]  [&amp;lt;ffffffff873c8d31&amp;gt;] do_writepages+0x21/0x50
[ 3960.779544]  [&amp;lt;ffffffff874776d0&amp;gt;] __writeback_single_inode+0x40/0x260
[ 3960.780155]  [&amp;lt;ffffffff872c6185&amp;gt;] ? wake_up_bit+0x25/0x30
[ 3960.780735]  [&amp;lt;ffffffff87478264&amp;gt;] writeback_sb_inodes+0x1c4/0x430
[ 3960.781312]  [&amp;lt;ffffffff8747856f&amp;gt;] __writeback_inodes_wb+0x9f/0xd0
[ 3960.781863]  [&amp;lt;ffffffff87478a53&amp;gt;] wb_writeback+0x263/0x2f0
[ 3960.782404]  [&amp;lt;ffffffff8747954c&amp;gt;] bdi_writeback_workfn+0x1cc/0x460
[ 3960.782932]  [&amp;lt;ffffffff872bd0ff&amp;gt;] process_one_work+0x17f/0x440
[ 3960.783454]  [&amp;lt;ffffffff872be216&amp;gt;] worker_thread+0x126/0x3c0
[ 3960.783960]  [&amp;lt;ffffffff872be0f0&amp;gt;] ? manage_workers.isra.26+0x2a0/0x2a0
[ 3960.784461]  [&amp;lt;ffffffff872c50d1&amp;gt;] kthread+0xd1/0xe0
[ 3960.784951]  [&amp;lt;ffffffff872c5000&amp;gt;] ? insert_kthread_work+0x40/0x40
[ 3960.785450]  [&amp;lt;ffffffff8798cd37&amp;gt;] ret_from_fork_nospec_begin+0x21/0x21
[ 3960.785942]  [&amp;lt;ffffffff872c5000&amp;gt;] ? insert_kthread_work+0x40/0x40
[ 3960.786433] Code: ff e9 06 fd ff ff 48 89 d9 44 89 f2 48 c7 c6 3c 43 25 c0 48 c7 c7 78 50 25 c0 31 c0 e8 28 91 35 c7 8b 43 60 e9 19 ff ff ff 0f 0b &amp;lt;0f&amp;gt; 0b e8 ea 07 00 00 8b 55 ac 48 c7 c6 88 44 25 c0 48 c7 c7 a0 
[ 3960.787529] RIP  [&amp;lt;ffffffffc02533e2&amp;gt;] virtqueue_add+0x4a2/0x4d0 [virtio_ring]
[ 3960.788055]  RSP &amp;lt;ffff976c256834f0&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="58696">LU-13436</key>
            <summary>a virtio bug could crash lustre kernel</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="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="2">Won&apos;t Fix</resolution>
                                        <assignee username="wshilong">Wang Shilong</assignee>
                                    <reporter username="wshilong">Wang Shilong</reporter>
                        <labels>
                    </labels>
                <created>Wed, 8 Apr 2020 13:10:56 +0000</created>
                <updated>Fri, 30 Oct 2020 20:50:34 +0000</updated>
                            <resolved>Fri, 30 Oct 2020 20:50:34 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="267154" author="gerrit" created="Wed, 8 Apr 2020 13:12:24 +0000"  >&lt;p&gt;&lt;del&gt;Wang Shilong (wshilong@ddn.com) uploaded a new patch:&lt;/del&gt; &lt;a href=&quot;https://review.whamcloud.com/38178&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38178&lt;/a&gt;&lt;br/&gt;
&lt;del&gt;Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13436&quot; title=&quot;a virtio bug could crash lustre kernel&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13436&quot;&gt;&lt;del&gt;LU-13436&lt;/del&gt;&lt;/a&gt; kernel: backport a virtio bug to lustre kernel&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Project: fs/lustre-release&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Branch: master&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Current Patch Set: 1&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Commit: ac0802d687a2e6fe8e64ef1f0008e0d9400ddbdb&lt;/del&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </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|i00xgn:</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>