<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:27:31 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-2707] blockdev_attach can trigger LBUG</title>
                <link>https://jira.whamcloud.com/browse/LU-2707</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The script below generates a LBUG:&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;#!/bin/bash
/usr/lib64/lustre/tests/llmount.sh

dd &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt;=/dev/zero of=/mnt/lustre/virtualfs bs=1024 count=30720

&lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; i in $(seq 5); &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt;
	lctl blockdev_attach /mnt/lustre/virtualfs /dev/virtblock
	dd &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt;=/dev/zero of=/dev/virtblock  bs=1024 count=30720
	lctl blockdev_detach /dev/virtblock
done
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;# ~/blocktest.sh 
30720+0 records in
30720+0 records out
31457280 bytes (31 MB) copied, 1.88009 s, 16.7 MB/s

Message from syslogd@lmaster-124 at Jan 29 18:11:05 ...
 kernel:LustreError: 3077:0:(osc_page.c:432:osc_page_delete()) ASSERTION( 0 ) failed: 

Message from syslogd@lmaster-124 at Jan 29 18:11:05 ...
 kernel:LustreError: 3077:0:(osc_page.c:432:osc_page_delete()) LBUG
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;Lustre: 3077:0:(lloop.c:719:lloop_ioctl()) Enter llop_ioctl
LustreError: 3077:0:(osc_cache.c:2378:osc_teardown_async_page()) extent ffff880067dc4e58@{[7650 -&amp;gt; 7679/7679], [2|0|-|cache|wi|ffff88006c24dde8], [122880|30|+|-|ffff88006bddfcb8|256|(null)]} trunc at 7650.
LustreError: 3077:0:(osc_page.c:431:osc_page_delete()) page@ffff880060422900[2 ffff88006bfe0f78:7650 ^(null)_ffff880060422840 4 0 1 (null) (null) 0x0]
LustreError: 3077:0:(osc_page.c:431:osc_page_delete()) page@ffff880060422840[2 ffff88006d122f18:7650 ^ffff880060422900_(null) 4 0 1 (null) (null) 0x0]
LustreError: 3077:0:(osc_page.c:431:osc_page_delete()) vvp-page@ffff88006041c5a0(0:0:0) vm@ffffea0001524a40 20000000000075 4:0 0 7650 lru
LustreError: 3077:0:(osc_page.c:431:osc_page_delete()) lov-page@ffff880060415e28
LustreError: 3077:0:(osc_page.c:431:osc_page_delete()) osc-page@ffff880060421810: 1&amp;lt; 0x845fed 258 0 + - &amp;gt; 2&amp;lt; 31334400 0 4096 0x0 0x520 | (null) ffff88006bc2ea60 ffff88006c24dde8 &amp;gt; 3&amp;lt; + ffff88006c6e5540 0 0 0 &amp;gt; 4&amp;lt; 0 0 8 33431552 - | - - + - &amp;gt; 5&amp;lt; - - + - | 0 - | 30 - -&amp;gt;
LustreError: 3077:0:(osc_page.c:431:osc_page_delete()) end page@ffff880060422900
LustreError: 3077:0:(osc_page.c:431:osc_page_delete()) Trying to teardown failed: -16
LustreError: 3077:0:(osc_page.c:432:osc_page_delete()) ASSERTION( 0 ) failed: 
LustreError: 3077:0:(osc_page.c:432:osc_page_delete()) LBUG
Pid: 3077, comm: lctl

Call Trace:
 [&amp;lt;ffffffffa0349905&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
 [&amp;lt;ffffffffa0349f07&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
 [&amp;lt;ffffffffa09051a1&amp;gt;] osc_page_delete+0x311/0x320 [osc]
 [&amp;lt;ffffffffa0524445&amp;gt;] cl_page_delete0+0xc5/0x4e0 [obdclass]
 [&amp;lt;ffffffffa05248a2&amp;gt;] cl_page_delete+0x42/0x120 [obdclass]
 [&amp;lt;ffffffffa0e9ee6d&amp;gt;] ll_invalidatepage+0x8d/0x160 [lustre]
 [&amp;lt;ffffffff8112bc85&amp;gt;] do_invalidatepage+0x25/0x30
 [&amp;lt;ffffffff8112bea2&amp;gt;] truncate_inode_page+0xa2/0xc0
 [&amp;lt;ffffffff8112c1c0&amp;gt;] truncate_inode_pages_range+0x160/0x480
 [&amp;lt;ffffffff81274a0a&amp;gt;] ? kobject_get+0x1a/0x30
 [&amp;lt;ffffffff8112c4f5&amp;gt;] truncate_inode_pages+0x15/0x20
 [&amp;lt;ffffffffa0f63c5f&amp;gt;] lloop_ioctl+0x5af/0x770 [llite_lloop]
 [&amp;lt;ffffffffa0e5b427&amp;gt;] ll_iocontrol_call+0x87/0xd0 [lustre]
 [&amp;lt;ffffffffa0e6ca65&amp;gt;] ll_file_ioctl+0x3d5/0x1230 [lustre]
 [&amp;lt;ffffffff8106f5d6&amp;gt;] ? wait_consider_task+0x7e6/0xb20
 [&amp;lt;ffffffff8118e4f2&amp;gt;] vfs_ioctl+0x22/0xa0
 [&amp;lt;ffffffff8106fa8f&amp;gt;] ? do_wait+0x17f/0x240
 [&amp;lt;ffffffff8118e9ba&amp;gt;] do_vfs_ioctl+0x3aa/0x580
 [&amp;lt;ffffffff8118ec11&amp;gt;] sys_ioctl+0x81/0xa0
 [&amp;lt;ffffffff8100b0f2&amp;gt;] system_call_fastpath+0x16/0x1b

Kernel panic - not syncing: LBUG
Pid: 3077, comm: lctl Not tainted 2.6.32-279.14.1.el6_lustre.x86_64 #1
Call Trace:
 [&amp;lt;ffffffff814fdcba&amp;gt;] ? panic+0xa0/0x168
 [&amp;lt;ffffffffa0349f5b&amp;gt;] ? lbug_with_loc+0x9b/0xb0 [libcfs]
 [&amp;lt;ffffffffa09051a1&amp;gt;] ? osc_page_delete+0x311/0x320 [osc]
 [&amp;lt;ffffffffa0524445&amp;gt;] ? cl_page_delete0+0xc5/0x4e0 [obdclass]
 [&amp;lt;ffffffffa05248a2&amp;gt;] ? cl_page_delete+0x42/0x120 [obdclass]
 [&amp;lt;ffffffffa0e9ee6d&amp;gt;] ? ll_invalidatepage+0x8d/0x160 [lustre]
 [&amp;lt;ffffffff8112bc85&amp;gt;] ? do_invalidatepage+0x25/0x30
 [&amp;lt;ffffffff8112bea2&amp;gt;] ? truncate_inode_page+0xa2/0xc0
 [&amp;lt;ffffffff8112c1c0&amp;gt;] ? truncate_inode_pages_range+0x160/0x480
 [&amp;lt;ffffffff81274a0a&amp;gt;] ? kobject_get+0x1a/0x30
 [&amp;lt;ffffffff8112c4f5&amp;gt;] ? truncate_inode_pages+0x15/0x20
 [&amp;lt;ffffffffa0f63c5f&amp;gt;] ? lloop_ioctl+0x5af/0x770 [llite_lloop]
 [&amp;lt;ffffffffa0e5b427&amp;gt;] ? ll_iocontrol_call+0x87/0xd0 [lustre]
 [&amp;lt;ffffffffa0e6ca65&amp;gt;] ? ll_file_ioctl+0x3d5/0x1230 [lustre]
 [&amp;lt;ffffffff8106f5d6&amp;gt;] ? wait_consider_task+0x7e6/0xb20
 [&amp;lt;ffffffff8118e4f2&amp;gt;] ? vfs_ioctl+0x22/0xa0
 [&amp;lt;ffffffff8106fa8f&amp;gt;] ? do_wait+0x17f/0x240
 [&amp;lt;ffffffff8118e9ba&amp;gt;] ? do_vfs_ioctl+0x3aa/0x580
 [&amp;lt;ffffffff8118ec11&amp;gt;] ? sys_ioctl+0x81/0xa0
 [&amp;lt;ffffffff8100b0f2&amp;gt;] ? system_call_fastpath+0x16/0x1b
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="17359">LU-2707</key>
            <summary>blockdev_attach can trigger LBUG</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="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="10200">Won&apos;t Do</resolution>
                                        <assignee username="simmonsja">James A Simmons</assignee>
                                    <reporter username="rhenwood">Richard Henwood</reporter>
                        <labels>
                    </labels>
                <created>Tue, 29 Jan 2013 19:15:36 +0000</created>
                <updated>Tue, 10 Jan 2017 17:19:06 +0000</updated>
                            <resolved>Tue, 10 Jan 2017 17:19:06 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="51458" author="rhenwood" created="Wed, 30 Jan 2013 10:03:03 +0000"  >&lt;p&gt;it seems a simpler reproducer is available for this:&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;# /usr/lib64/lustre/tests/llmount.sh
# dd if=/dev/zero of=/mnt/lustre/virtualfs bs=1024 count=30720
# lctl blockdev_attach /mnt/lustre/virtualfs /dev/virtblock
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="180289" author="simmonsja" created="Tue, 10 Jan 2017 17:19:06 +0000"  >&lt;p&gt;llite_lloop is no longer supported so lets close this ticket.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="11156">LU-409</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="30006">LU-6585</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|hzvgfz:</customfieldvalue>

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