<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:22:19 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-2094] LBUG in osc_req_attr_set along write path</title>
                <link>https://jira.whamcloud.com/browse/LU-2094</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;LBUG reported in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1650&quot; title=&quot;crash of lustre clients in osc_req_attr_set() routine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1650&quot;&gt;&lt;del&gt;LU-1650&lt;/del&gt;&lt;/a&gt; brings down client nodes. But the LBUG occurs on a write path rather than a read path. This is the occurrence reported by Michael McKay - 17/Sep/12 in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1650&quot; title=&quot;crash of lustre clients in osc_req_attr_set() routine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1650&quot;&gt;&lt;del&gt;LU-1650&lt;/del&gt;&lt;/a&gt;.&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;&amp;gt; 2012-04-20T22:00:48.036542-05:00 c0-0c0s5n1 LustreError: 7196:0:(osc_io.c:698:osc_req_attr_set()) lock@ffff8803f4522358[3 2 0 1 1 00000006] P(0):[0, 18446744073709551615]@[0x100000000:0x4b1f5c0:0x0] {
&amp;gt; 2012-04-20T22:00:48.065914-05:00 c0-0c0s5n1 LustreError: 7196:0:(osc_io.c:698:osc_req_attr_set())     lovsub@ffff8803f525e4e0: [0 ffff880404198470 P(0):[0, 18446744073709551615]@[0x23d979800:0x1:0x0]]
&amp;gt; 2012-04-20T22:00:48.065973-05:00 c0-0c0s5n1 LustreError: 7196:0:(osc_io.c:698:osc_req_attr_set())     osc@ffff8803f4a3ab50: (null) 00001000 0x85ead42e54740750 1 (null) size: 0 mtime: 0 atime: 0 ctime: 0 blocks: 0
&amp;gt; 2012-04-20T22:00:48.065987-05:00 c0-0c0s5n1 LustreError: 7196:0:(osc_io.c:698:osc_req_attr_set()) } lock@ffff8803f4522358
&amp;gt; 2012-04-20T22:00:48.095709-05:00 c0-0c0s5n1 LustreError: 7196:0:(osc_io.c:698:osc_req_attr_set()) no cover page!
&amp;gt; 2012-04-20T22:00:48.199435-05:00 c0-0c0s5n1 LustreError: 7196:0:(osc_io.c:698:osc_req_attr_set()) lock@ffff8803f4522dd8[1 1 0 1 1 00000000] W(2):[0, 0]@[0x100000000:0x4b1f5c0:0x0] {
&amp;gt; 2012-04-20T22:00:48.199467-05:00 c0-0c0s5n1 LustreError: 7196:0:(osc_io.c:698:osc_req_attr_set())     lovsub@ffff8803f7d0a4e0: [0 ffff8807e9ae1a88 W(2):[0, 18446744073709551615]@[0x23d979800:0x1:0x0]]
&amp;gt; 2012-04-20T22:00:48.199478-05:00 c0-0c0s5n1 LustreError: 7196:0:(osc_io.c:698:osc_req_attr_set())     osc@ffff8803f5c37b50: (null) 00000000 0x0 0 (null) size: 0 mtime: 0 atime: 0 ctime: 0 blocks: 0
&amp;gt; 2012-04-20T22:00:48.199489-05:00 c0-0c0s5n1 LustreError: 7196:0:(osc_io.c:698:osc_req_attr_set()) } lock@ffff8803f4522dd8
&amp;gt; 2012-04-20T22:00:48.199500-05:00 c0-0c0s5n1 LustreError: 7196:0:(osc_io.c:698:osc_req_attr_set()) no cover page!
&amp;gt; 2012-04-20T22:00:48.199509-05:00 c0-0c0s5n1 LustreError: 7196:0:(osc_io.c:700:osc_req_attr_set()) page@ffff8803f4901680[3 ffff8807eb639b08:0 ^(null)_ffff8803f49015c0 2 0 1 (null) ffff8807e9b9c380 0x0]
&amp;gt; 2012-04-20T22:00:48.199523-05:00 c0-0c0s5n1 LustreError: 7196:0:(osc_io.c:700:osc_req_attr_set()) page@ffff8803f49015c0[1 ffff8807ea301b58:0 ^ffff8803f4901680_(null) 2 0 1 (null) (null) 0x0]
&amp;gt; 2012-04-20T22:00:48.199543-05:00 c0-0c0s5n1 LustreError: 7196:0:(osc_io.c:700:osc_req_attr_set()) vvp-page@ffff8803f7438f50(0:0:0) vm@ffffea000dc16b30 200000000005019 4:0 ffff8803f4901680 0 lru
&amp;gt; 2012-04-20T22:00:48.199556-05:00 c0-0c0s5n1 LustreError: 7196:0:(osc_io.c:700:osc_req_attr_set()) lov-page@ffff8803f757d978
&amp;gt; 2012-04-20T22:00:48.199600-05:00 c0-0c0s5n1 LustreError: 7196:0:(osc_io.c:700:osc_req_attr_set()) osc-page@ffff8803f4b317a8: 1&amp;lt; 0x845fed 2 0 - - + &amp;gt; 2&amp;lt; 0 0 2016 0x3 0x420 | (null) ffff880401df2628 ffff8807e847c340 ffffffffa0516a20 ffff8803f4b317a8 &amp;gt; 3&amp;lt; + ffff8807ffdfe0c0 1 39 0 &amp;gt; 4&amp;lt; 0 0 8 33759232 - | - - - - &amp;gt; 5&amp;lt; - - - - | 0 - - | 0 - -&amp;gt;
&amp;gt; 2012-04-20T22:00:48.226323-05:00 c0-0c0s5n1 LustreError: 7196:0:(osc_io.c:700:osc_req_attr_set()) end page@ffff8803f49015c0
&amp;gt; 2012-04-20T22:00:48.226361-05:00 c0-0c0s5n1 LustreError: 7196:0:(osc_io.c:700:osc_req_attr_set()) dump uncover page!
&amp;gt; 2012-04-20T22:00:48.226372-05:00 c0-0c0s5n1 Pid: 7196, comm: flush-lustre-1
&amp;gt; 2012-04-20T22:00:48.226381-05:00 c0-0c0s5n1 Call Trace:
&amp;gt; 2012-04-20T22:00:48.226418-05:00 c0-0c0s5n1 [&amp;lt;ffffffff81007b11&amp;gt;] try_stack_unwind+0x1b1/0x200
&amp;gt; 2012-04-20T22:00:48.226432-05:00 c0-0c0s5n1 [&amp;lt;ffffffff81006420&amp;gt;] dump_trace+0x90/0x300
&amp;gt; 2012-04-20T22:00:48.255723-05:00 c0-0c0s5n1 [&amp;lt;ffffffffa014b8d2&amp;gt;] libcfs_debug_dumpstack+0x52/0x80 [libcfs]
&amp;gt; 2012-04-20T22:00:48.255753-05:00 c0-0c0s5n1 [&amp;lt;ffffffffa0514536&amp;gt;] osc_req_attr_set+0x206/0x2a0 [osc]
&amp;gt; 2012-04-20T22:00:48.255775-05:00 c0-0c0s5n1 [&amp;lt;ffffffffa024d0ae&amp;gt;] cl_req_attr_set+0xce/0x1f0 [obdclass]
&amp;gt; 2012-04-20T22:00:48.255786-05:00 c0-0c0s5n1 [&amp;lt;ffffffffa0501e77&amp;gt;] osc_send_oap_rpc+0xc67/0x1c50 [osc]
&amp;gt; 2012-04-20T22:00:48.255817-05:00 c0-0c0s5n1 [&amp;lt;ffffffffa0503136&amp;gt;] osc_check_rpcs+0x2d6/0x470 [osc]
&amp;gt; 2012-04-20T22:00:48.255832-05:00 c0-0c0s5n1 [&amp;lt;ffffffffa0514bf0&amp;gt;] osc_io_submit+0x220/0x4d0 [osc]
&amp;gt; 2012-04-20T22:00:48.285929-05:00 c0-0c0s5n1 [&amp;lt;ffffffffa024d3d8&amp;gt;] cl_io_submit_rw+0x78/0x1a0 [obdclass]
&amp;gt; 2012-04-20T22:00:48.285958-05:00 c0-0c0s5n1 [&amp;lt;ffffffffa0575924&amp;gt;] lov_io_submit+0x254/0xb40 [lov]
&amp;gt; 2012-04-20T22:00:48.311494-05:00 c0-0c0s5n1 [&amp;lt;ffffffffa024d3d8&amp;gt;] cl_io_submit_rw+0x78/0x1a0 [obdclass]
&amp;gt; 2012-04-20T22:00:48.311524-05:00 c0-0c0s5n1 [&amp;lt;ffffffffa05e8424&amp;gt;] ll_writepage+0x2c4/0x480 [lustre]
&amp;gt; 2012-04-20T22:00:48.311557-05:00 c0-0c0s5n1 [&amp;lt;ffffffff810d0b22&amp;gt;] __writepage+0x12/0x50
&amp;gt; 2012-04-20T22:00:48.311580-05:00 c0-0c0s5n1 [&amp;lt;ffffffff810d1213&amp;gt;] write_cache_pages+0x1d3/0x3b0
&amp;gt; 2012-04-20T22:00:48.311592-05:00 c0-0c0s5n1 [&amp;lt;ffffffff810d140f&amp;gt;] generic_writepages+0x1f/0x30
&amp;gt; 2012-04-20T22:00:48.337108-05:00 c0-0c0s5n1 [&amp;lt;ffffffff810d143c&amp;gt;] do_writepages+0x1c/0x40
&amp;gt; 2012-04-20T22:00:48.337139-05:00 c0-0c0s5n1 [&amp;lt;ffffffff8112c422&amp;gt;] writeback_single_inode+0x92/0x2c0
&amp;gt; 2012-04-20T22:00:48.337195-05:00 c0-0c0s5n1 [&amp;lt;ffffffff8112cfca&amp;gt;] writeback_inodes_wb+0x26a/0x3e0
&amp;gt; 2012-04-20T22:00:48.337213-05:00 c0-0c0s5n1 [&amp;lt;ffffffff8112d2e0&amp;gt;] wb_writeback+0x1a0/0x260
&amp;gt; 2012-04-20T22:00:48.337259-05:00 c0-0c0s5n1 [&amp;lt;ffffffff8112d67c&amp;gt;] wb_do_writeback+0x1fc/0x210
&amp;gt; 2012-04-20T22:00:48.337274-05:00 c0-0c0s5n1 [&amp;lt;ffffffff8112d6cb&amp;gt;] bdi_writeback_task+0x3b/0xc0
&amp;gt; 2012-04-20T22:00:48.337286-05:00 c0-0c0s5n1 [&amp;lt;ffffffff810e2321&amp;gt;] bdi_start_fn+0x81/0xf0
&amp;gt; 2012-04-20T22:00:48.362673-05:00 c0-0c0s5n1 [&amp;lt;ffffffff81063dae&amp;gt;] kthread+0x8e/0xa0
&amp;gt; 2012-04-20T22:00:48.362703-05:00 c0-0c0s5n1 [&amp;lt;ffffffff81003d3a&amp;gt;] child_rip+0xa/0x20
&amp;gt; 2012-04-20T22:00:48.362745-05:00 c0-0c0s5n1 LustreError: 7196:0:(osc_io.c:702:osc_req_attr_set()) LBUG

These messages are the result of executing this code path in osc_req_attr
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This bug occurs frequently during system regression testing, but we have no explicit reproducer. &lt;/p&gt;

&lt;p&gt;The dumps are too large to attach here, so I will put them on the Cray anonymous ftp server.&lt;/p&gt;

&lt;p&gt;2.1 Dump: ftp.cray.com:/outbound/LU1650.21.osc_req_attr_set.lbug.tgz&lt;br/&gt;
2.2 Dump: ftp.cray.com:/outbound/LU1650.22.osc_req_attr_set.lbug.tgz&lt;/p&gt;

&lt;p&gt;Let me know if you want other dumps or if you want me to look for other info in our collection of dumps. Note that dklogs are NOT available; performance issues require that debug tracing be kept to a minimum.&lt;/p&gt;</description>
                <environment>Seen on SLES11-SP1 with Lustre 2.1.1 and Lustre 2.2&lt;br/&gt;
Also seen on SLES11-SP2 with Lustre 2.2</environment>
        <key id="16260">LU-2094</key>
            <summary>LBUG in osc_req_attr_set along write path</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="3">Duplicate</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="amk">Ann Koehler</reporter>
                        <labels>
                    </labels>
                <created>Fri, 5 Oct 2012 12:33:31 +0000</created>
                <updated>Sat, 20 Oct 2012 20:14:03 +0000</updated>
                            <resolved>Sat, 20 Oct 2012 20:14:03 +0000</resolved>
                                    <version>Lustre 2.2.0</version>
                    <version>Lustre 2.1.1</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="46244" author="michael_mckay@xyratex.com" created="Tue, 9 Oct 2012 08:52:48 +0000"  >&lt;p&gt;This is the description of what I have seen from one of the cores&lt;br/&gt;
&amp;gt; 2012-04-20T22:00:48.362745-05:00 c0-0c0s5n1 LustreError: 7196:0:(osc_io.c:702:osc_req_attr_set()) LBUG&lt;br/&gt;
In this case the object has 2 locks:&lt;br/&gt;
LOCK1: is a CLM_PHANTOM lock for the whole file that is being Cancelled&lt;br/&gt;
LOCK2: is a WRITE lock for the index that this write request wants, but is currently in the CLS_QUEUING state and is blocked on LOCK1 while its being cancelled.&lt;/p&gt;

&lt;p&gt;From this information we can see that we are currently writing out an inode even though we do not have a write/read lock for this object. The CLM_PHANTOM lock is being cancelled at this point in time. This is most likely a case of trying to write something out without ever getting a write lock first, or we have an extra release the write lock.&lt;/p&gt;
</comment>
                            <comment id="46813" author="jay" created="Sat, 20 Oct 2012 20:14:03 +0000"  >&lt;p&gt;duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2170&quot; title=&quot;osc_extent_merge()) ASSERTION( cur-&amp;gt;oe_osclock == victim-&amp;gt;oe_osclock) while running racer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2170&quot;&gt;&lt;del&gt;LU-2170&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="16355">LU-2172</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzv57j:</customfieldvalue>

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