<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:50:24 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-5313] Oops in lod_dir_striping_create_internal()</title>
                <link>https://jira.whamcloud.com/browse/LU-5313</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In lod_ah_init() if OBD_ALLOC_PTR(lc-&amp;gt;ldo_dir_stripe) fails then we may oops later in lod_dir_striping_create_internal(). The deference is&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;       &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!LMVEA_DELETE_VALUES(lo-&amp;gt;ldo_stripenr,
                                 lo-&amp;gt;ldo_dir_stripe_offset)) {
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Recall that ldo_dir_stripe_offset is #defined to be ldo_dir_stripe-&amp;gt;ldsi_stripe_offset.&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;[  259.141386] IP: [&amp;lt;ffffffffa0d62743&amp;gt;] lod_dir_striping_create_internal+0x113/0x18d0 [lod]
[  259.141386] PGD 0 
[  259.141386] Oops: 0000 [#1] SMP 
[  259.141386] last sysfs file: /sys/devices/system/cpu/online
[  259.141386] CPU 6 
[  259.141386] Modules linked in: lustre(U) ofd(U) osp(U) lod(U) ost(U) mdt(U) mdd(U) mgs(U) nodemap(U) osd_ldiskfs(U) ldiskfs(U) exportfs lquota(U) lfsck(U) jbd obdecho(U) mgc(U) lov(U) osc(U) mdc(U) lmv(U) fid(U) fld(U) ptlrpc(U) obdclass(U) ksocklnd(U) lnet(U) sha512_generic sha256_generic libcfs(U) autofs4 nfs lockd fscache auth_rpcgss nfs_acl sunrpc ipv6 microcode virtio_balloon virtio_net i2c_piix4 i2c_core ext4 jbd2 mbcache virtio_blk virtio_pci virtio_ring virtio pata_acpi ata_generic ata_piix dm_mirror dm_region_hash dm_log dm_mod [last unloaded: speedstep_lib]
[  259.141386] 
[  259.141386] Pid: 3393, comm: mdt01_003 Not tainted 2.6.32-431.5.1.el6.lustre.x86_64 #1 Bochs Bochs
[  259.141386] RIP: 0010:[&amp;lt;ffffffffa0d62743&amp;gt;]  [&amp;lt;ffffffffa0d62743&amp;gt;] lod_dir_striping_create_internal+0x113/0x18d0 [lod]
[  259.141386] RSP: 0000:ffff8801fb1d78a0  EFLAGS: 00010246
[  259.141386] RAX: 0000000000000000 RBX: ffff8801e8ee9258 RCX: 0000000000000000
[  259.141386] RDX: 0000000000000000 RSI: ffffffffa0d6f620 RDI: ffff8802189addf8
[  259.141386] RBP: ffff8801fb1d79a0 R08: ffff8801ef0fcc50 R09: 0000000000000000
[  259.141386] R10: ffff8801ec2af2f0 R11: 0600000000000000 R12: ffff8801fd639ae8
[  259.141386] R13: ffff8801ef0fcc50 R14: ffff8802189addf8 R15: 0000000000000000
[  259.141386] FS:  0000000000000000(0000) GS:ffff880030400000(0000) knlGS:0000000000000000
[  259.141386] CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
[  259.141386] CR2: 0000000000000000 CR3: 0000000001a85000 CR4: 00000000000006e0
[  259.141386] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  259.141386] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  259.141386] Process mdt01_003 (pid: 3393, threadinfo ffff8801fb1d6000, task ffff8801fb1d48c0)
[  259.141386] Stack:
[  259.141386]  ffff8801fb1d7910 ffffffffa0457e8b ffff8801fb1d7910 ffff880218641818
[  259.141386] &amp;lt;d&amp;gt; ffffc90006053050 ffffc90006033000 ffffc90006033000 ffff8801000001da
[  259.141386] &amp;lt;d&amp;gt; ffff8802189addf8 ffff8801ec2af2f0 ffff8801f7f9bce8 ffff8801e9c38610
[  259.141386] Call Trace:
[  259.141386]  [&amp;lt;ffffffffa0457e8b&amp;gt;] ? lu_object_put+0x12b/0x330 [obdclass]
[  259.141386]  [&amp;lt;ffffffffa0d4a70a&amp;gt;] ? lod_load_striping_locked+0x23a/0x5d0 [lod]
[  259.141386]  [&amp;lt;ffffffffa0d644fa&amp;gt;] lod_xattr_set+0x26a/0x380 [lod]
[  259.141386]  [&amp;lt;ffffffffa0d555c4&amp;gt;] ? lod_index_insert+0x44/0xe0 [lod]
[  259.141386]  [&amp;lt;ffffffffa04758be&amp;gt;] ? lu_ucred_check+0xe/0x30 [obdclass]
[  259.141386]  [&amp;lt;ffffffffa0454738&amp;gt;] ? lu_env_refill+0x28/0x30 [obdclass]
[  259.141386]  [&amp;lt;ffffffffa08049b0&amp;gt;] mdo_xattr_set.clone.6+0x40/0xc0 [mdd]
[  259.141386]  [&amp;lt;ffffffffa080931b&amp;gt;] mdd_object_create+0x4ab/0x810 [mdd]
[  259.141386]  [&amp;lt;ffffffffa080b10c&amp;gt;] mdd_create+0xe3c/0x1870 [mdd]
[  259.141386]  [&amp;lt;ffffffffa0c0c8cd&amp;gt;] ? osd_attr_get+0x13d/0x180 [osd_ldiskfs]
[  259.141386]  [&amp;lt;ffffffffa0cb5877&amp;gt;] mdt_reint_create+0xbf7/0xd40 [mdt]
[  259.141386]  [&amp;lt;ffffffffa0c93fd5&amp;gt;] ? mdt_ucred+0x15/0x20 [mdt]
[  259.141386]  [&amp;lt;ffffffffa0cac76c&amp;gt;] ? mdt_root_squash+0x2c/0x3f0 [mdt]
[  259.141386]  [&amp;lt;ffffffffa06b4266&amp;gt;] ? __req_capsule_get+0x166/0x6e0 [ptlrpc]
[  259.141386]  [&amp;lt;ffffffffa068e01e&amp;gt;] ? lustre_pack_reply_flags+0xae/0x1f0 [ptlrpc]
[  259.141386]  [&amp;lt;ffffffffa0cb0601&amp;gt;] mdt_reint_rec+0x41/0xe0 [mdt]
[  259.141386]  [&amp;lt;ffffffffa0c9b9d3&amp;gt;] mdt_reint_internal+0x4c3/0x7c0 [mdt]
[  259.141386]  [&amp;lt;ffffffffa0c9c25b&amp;gt;] mdt_reint+0x6b/0x120 [mdt]
[  259.141386]  [&amp;lt;ffffffffa06ebc55&amp;gt;] tgt_request_handle+0x245/0xad0 [ptlrpc]
[  259.141386]  [&amp;lt;ffffffffa069ee21&amp;gt;] ptlrpc_main+0xcf1/0x1880 [ptlrpc]
[  259.141386]  [&amp;lt;ffffffffa069e130&amp;gt;] ? ptlrpc_main+0x0/0x1880 [ptlrpc]
[  259.141386]  [&amp;lt;ffffffff8109eab6&amp;gt;] kthread+0x96/0xa0
[  259.141386]  [&amp;lt;ffffffff8100c30a&amp;gt;] child_rip+0xa/0x20
[  259.141386]  [&amp;lt;ffffffff81554710&amp;gt;] ? _spin_unlock_irq+0x30/0x40
[  259.141386]  [&amp;lt;ffffffff8100bb10&amp;gt;] ? restore_args+0x0/0x30
[  259.141386]  [&amp;lt;ffffffff8109ea20&amp;gt;] ? kthread+0x0/0xa0
[  259.141386]  [&amp;lt;ffffffff8100c300&amp;gt;] ? child_rip+0x0/0x20
[  259.210640] Code: a4 08 00 00 48 c7 05 19 f3 01 00 00 00 00 00 c7 05 07 f3 01 00 01 00 00 00 e8 8a ce 56 ff 0f b7 53 40 66 85 d2 75 0d 48 8b 43 70 &amp;lt;83&amp;gt; 38 ff 0f 84 3d 01 00 00 41 83 7c 24 08 2f 49 8b 34 24 77 74 
[  259.210640] RIP  [&amp;lt;ffffffffa0d62743&amp;gt;] lod_dir_striping_create_internal+0x113/0x18d0 [lod]
[  259.210640]  RSP &amp;lt;ffff8801fb1d78a0&amp;gt;
[  259.210640] CR2: 0000000000000000
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This was found by memory allocation fault injection. There was also some discussion about removing ldo_dir_stripe.&lt;/p&gt;</description>
                <environment></environment>
        <key id="25505">LU-5313</key>
            <summary>Oops in lod_dir_striping_create_internal()</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="5">Cannot Reproduce</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>lod</label>
                            <label>malloc</label>
                    </labels>
                <created>Wed, 9 Jul 2014 18:55:43 +0000</created>
                <updated>Fri, 28 Feb 2020 00:03:18 +0000</updated>
                            <resolved>Fri, 28 Feb 2020 00:03:18 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="264205" author="adilger" created="Fri, 28 Feb 2020 00:03:18 +0000"  >&lt;p&gt;Close old bug that hasn&apos;t been seen in a long time.&lt;/p&gt;</comment>
                    </comments>
                    <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|hzwr07:</customfieldvalue>

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