<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:36:26 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-3732] osd_io.c:320:osd_do_bio()) ASSERTION( iobuf-&gt;dr_rw == 0 ) failed: page_idx 4, block_idx 4, i 0</title>
                <link>https://jira.whamcloud.com/browse/LU-3732</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I don&apos;t have a simple reproducer but running trinity on a Lustre client mount will trigger this easily. I even turned off the weird and dangerous non-filesystem related stuff and I still see it.&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;LustreError: 3395:0:(osd_io.c:320:osd_do_bio()) ASSERTION( iobuf-&amp;gt;dr_rw == 0 ) failed: page_idx 4, block_idx 4, i 0
LustreError: 3395:0:(osd_io.c:320:osd_do_bio()) LBUG
Pid: 3395, comm: ll_ost_io01_001

Call Trace:
 [&amp;lt;ffffffffa04ec895&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
 [&amp;lt;ffffffffa04ece97&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
 [&amp;lt;ffffffffa0c7b228&amp;gt;] osd_do_bio+0x7f8/0x800 [osd_ldiskfs]
 [&amp;lt;ffffffffa0bf70bb&amp;gt;] ? __ldiskfs_handle_dirty_metadata+0x7b/0x100 [ldiskfs]
 [&amp;lt;ffffffffa0c2c348&amp;gt;] ? __ldiskfs_journal_stop+0x68/0xa0 [ldiskfs]
 [&amp;lt;ffffffffa0c7dbb8&amp;gt;] osd_write_commit+0x328/0x610 [osd_ldiskfs]
 [&amp;lt;ffffffffa0e7ac84&amp;gt;] ofd_commitrw_write+0x684/0x11b0 [ofd]
 [&amp;lt;ffffffffa0e7d9ed&amp;gt;] ofd_commitrw+0x5cd/0xbb0 [ofd]
 [&amp;lt;ffffffffa06397e5&amp;gt;] ? lprocfs_counter_add+0x125/0x182 [lvfs]
 [&amp;lt;ffffffffa0dbe1e8&amp;gt;] obd_commitrw+0x128/0x3d0 [ost]
 [&amp;lt;ffffffffa0dc82d1&amp;gt;] ost_brw_write+0xea1/0x15d0 [ost]
 [&amp;lt;ffffffff81282b36&amp;gt;] ? vsnprintf+0x336/0x5e0
 [&amp;lt;ffffffffa07e2310&amp;gt;] ? target_bulk_timeout+0x0/0xc0 [ptlrpc]
 [&amp;lt;ffffffffa0dce75e&amp;gt;] ost_handle+0x3a8e/0x4030 [ost]
 [&amp;lt;ffffffffa04f8d64&amp;gt;] ? libcfs_id2str+0x74/0xb0 [libcfs]
 [&amp;lt;ffffffffa0832598&amp;gt;] ptlrpc_server_handle_request+0x398/0xc60 [ptlrpc]
 [&amp;lt;ffffffffa04ed54e&amp;gt;] ? cfs_timer_arm+0xe/0x10 [libcfs]
 [&amp;lt;ffffffffa04fea6f&amp;gt;] ? lc_watchdog_touch+0x6f/0x170 [libcfs]
 [&amp;lt;ffffffffa08299a9&amp;gt;] ? ptlrpc_wait_event+0xa9/0x290 [ptlrpc]
 [&amp;lt;ffffffff81055ab3&amp;gt;] ? __wake_up+0x53/0x70
 [&amp;lt;ffffffffa083391d&amp;gt;] ptlrpc_main+0xabd/0x1700 [ptlrpc]
 [&amp;lt;ffffffffa0832e60&amp;gt;] ? ptlrpc_main+0x0/0x1700 [ptlrpc]
 [&amp;lt;ffffffff81096936&amp;gt;] kthread+0x96/0xa0
 [&amp;lt;ffffffff8100c0ca&amp;gt;] child_rip+0xa/0x20
 [&amp;lt;ffffffff810968a0&amp;gt;] ? kthread+0x0/0xa0
 [&amp;lt;ffffffff8100c0c0&amp;gt;] ? child_rip+0x0/0x20
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>Using current master 2.4.53-22-g295968f on CentOS 6.4 2.6.32-358.11.1.el6.lustre.x86_64.</environment>
        <key id="20280">LU-3732</key>
            <summary>osd_io.c:320:osd_do_bio()) ASSERTION( iobuf-&gt;dr_rw == 0 ) failed: page_idx 4, block_idx 4, i 0</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="3">Duplicate</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>osd-ldiskfs</label>
                            <label>trinity</label>
                    </labels>
                <created>Fri, 9 Aug 2013 22:25:59 +0000</created>
                <updated>Mon, 11 May 2015 18:27:54 +0000</updated>
                            <resolved>Mon, 11 May 2015 18:27:48 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="64275" author="jhammond" created="Wed, 14 Aug 2013 19:38:11 +0000"  >&lt;p&gt;Seems like an off-by-one-ish kind of error. Here is a simplified reproducer:&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;buf = malloc(4096);
fd = open(&quot;/mnt/lustre/Gena&quot;, O_WRONLY|O_CREAT);
pwrite(fd, buf, 4096, 0x7fffffffffff);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="64309" author="bzzz" created="Thu, 15 Aug 2013 04:27:12 +0000"  >&lt;p&gt;check my math please:&lt;/p&gt;

&lt;p&gt;(gdb) p (0x7fffffffffffULL / 4096) &amp;gt;&amp;gt; 32&lt;br/&gt;
$5 = 7&lt;/p&gt;

&lt;p&gt;while with ldiskfs:&lt;/p&gt;

&lt;p&gt;/*&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Maximum number of logical blocks in a file; ldiskfs_extent&apos;s ee_block is&lt;/li&gt;
	&lt;li&gt;__le32.&lt;br/&gt;
 */&lt;br/&gt;
#define EXT_MAX_BLOCKS	0xffffffff&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I guess someone (ldiskfs or fsfilt) should be checking the offset is in supported range.&lt;/p&gt;
</comment>
                            <comment id="64339" author="jhammond" created="Thu, 15 Aug 2013 14:46:31 +0000"  >&lt;p&gt;OK but there may be more than one supported range. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; Using an offset of 0x7ffffffff000 or 0x800000000000 is fine. However 0x7ffffffff001 triggers the same assertion.&lt;/p&gt;</comment>
                            <comment id="76735" author="hdoreau" created="Tue, 11 Feb 2014 16:03:30 +0000"  >&lt;p&gt;I stumbled upon this crash as well. Offset 0x7ffffffff000 does trigger it, but like for you 0x800000000000 works fine. It seems that ldiskfs_ext_new_extent_cb isn&apos;t even called when the crash occurs, leading to iobuf-&amp;gt;dr_blocks containing only zeroes. I have extensively traced it but am unsure how to fix it best.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="29631">LU-6489</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|hzvxn3:</customfieldvalue>

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