<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:31:50 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-3201] lmv_locate_mds() must check return of lmv_find_target()</title>
                <link>https://jira.whamcloud.com/browse/LU-3201</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;lmv_locate_mds() calls lmv_find_target() and dereferences the result but does not check for an ERR_PTR().&lt;/p&gt;</description>
                <environment></environment>
        <key id="18479">LU-3201</key>
            <summary>lmv_locate_mds() must check return of lmv_find_target()</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="1">Fixed</resolution>
                                        <assignee username="jhammond">John Hammond</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>lmv</label>
                    </labels>
                <created>Mon, 22 Apr 2013 18:33:07 +0000</created>
                <updated>Thu, 25 Apr 2013 16:10:55 +0000</updated>
                            <resolved>Thu, 25 Apr 2013 16:10:55 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="56721" author="jhammond" created="Mon, 22 Apr 2013 18:55:12 +0000"  >&lt;p&gt;Please see &lt;a href=&quot;http://review.whamcloud.com/6116&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/6116&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="56815" author="jhammond" created="Tue, 23 Apr 2013 14:12:13 +0000"  >&lt;p&gt;Should have mentioned before but this causes an easily reproducible Oops running racer with DNE:&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;# MDSCOUNT=2 MOUNT_2=y llmount.sh
# sh ./lustre/tests/racer.sh
&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: DEBUG MARKER: == racer test 1: racer on clients: m DURATION=300 == 09:04:48 (1366725888)
Lustre: ctl-lustre-MDT0000: super-sequence allocation rc = 0 [0x0000000280000400-0x00000002c0000400):0:mdt
Lustre: cli-ctl-lustre-MDT0000-osp-MDT0001: Allocated super-sequence [0x00000002c0000400-0x0000000300000400):1:mdt]
LustreError: 18097:0:(fld_handler.c:158:fld_server_lookup()) srv-lustre-MDT0000: FLD cache range [0x0000000280000400-0x00000002c0000400):0:mdt does not matchrequested flag ffff8801: rc = -5
LustreError: 19895:0:(lmv_fld.c:78:lmv_fld_lookup()) Error while looking for mds number. Seq 0x280000400, err = -5
BUG: unable to handle kernel NULL pointer dereference at 000000000000002b
IP: [&amp;lt;ffffffffa0578c72&amp;gt;] lmv_locate_mds+0x92/0xb0 [lmv]
PGD 16eb72067 PUD 17abf1067 PMD 0 
Oops: 0000 [#1] SMP 
last sysfs file: /sys/devices/system/cpu/possible
CPU 1 
Modules linked in: lustre(U) ofd(U) osp(U) lod(U) ost(U) mdt(U) osd_ldiskfs(U) fsfilt_ldiskfs(U) ldiskfs(U) mdd(U) mgs(U) lquota(U) obdecho(U) mgc(U) lov(U) osc(U) mdc(U) lmv(U) fid(U) fld(U) ptlrpc(U) obdclass(U) lvfs(U) ksocklnd(U) lnet(U) libcfs(U) exportfs jbd sha512_generic sha256_generic autofs4 nfs lockd fscache nfs_acl auth_rpcgss sunrpc ipv6 zfs(P)(U) zcommon(P)(U) znvpair(P)(U) zavl(P)(U) zunicode(P)(U) spl(U) zlib_deflate microcode virtio_balloon virtio_net i2c_piix4 i2c_core ext4 mbcache jbd2 virtio_blk pata_acpi ata_generic ata_piix virtio_pci virtio_ring virtio dm_mirror dm_region_hash dm_log dm_mod [last unloaded: libcfs]

Pid: 19895, comm: mv Tainted: P           ---------------    2.6.32-279.19.1.el6_lustre_gcov.x86_64 #1 Bochs Bochs
RIP: 0010:[&amp;lt;ffffffffa0578c72&amp;gt;]  [&amp;lt;ffffffffa0578c72&amp;gt;] lmv_locate_mds+0x92/0xb0 [lmv]
RSP: 0018:ffff88017ea459d8  EFLAGS: 00010282
RAX: fffffffffffffffb RBX: ffff88019931e800 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88018ce1b940
RBP: ffff88017ea459f8 R08: ffffffff81c01b00 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffff88016babe600
R13: ffff88017d5a6c00 R14: 0000000000000001 R15: ffff88014e83a4c0
FS:  00007f2a796d07a0(0000) GS:ffff880028300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 000000000000002b CR3: 000000016eb6f000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process mv (pid: 19895, threadinfo ffff88017ea44000, task ffff88017ea43500)
Stack:
 0000000000000095 0000000000000080 ffff88016babe600 ffff88019931e2f8
&amp;lt;d&amp;gt; ffff88017ea45a78 ffffffffa058cdc9 ffffffffffffffff ffffffffa0aa727b
&amp;lt;d&amp;gt; 0000000051769500 ffff88018ce1b8c0 ffff880100000030 ffff88017ea45b28
Call Trace:
 [&amp;lt;ffffffffa058cdc9&amp;gt;] lmv_intent_lookup+0x59/0x770 [lmv]
 [&amp;lt;ffffffffa0aa727b&amp;gt;] ? cfs_set_ptldebug_header+0x2b/0xc0 [libcfs]
 [&amp;lt;ffffffffa058e0ba&amp;gt;] lmv_intent_lock+0x31a/0x370 [lmv]
 [&amp;lt;ffffffffa0ee88d0&amp;gt;] ? ll_md_blocking_ast+0x0/0x750 [lustre]
 [&amp;lt;ffffffffa0ee799e&amp;gt;] ? ll_i2gids+0x2e/0xd0 [lustre]
 [&amp;lt;ffffffffa0ece3ca&amp;gt;] ? ll_prep_md_op_data+0xfa/0x3a0 [lustre]
 [&amp;lt;ffffffffa0eecf21&amp;gt;] ll_lookup_it+0x3a1/0xbf0 [lustre]
 [&amp;lt;ffffffffa0ee88d0&amp;gt;] ? ll_md_blocking_ast+0x0/0x750 [lustre]
 [&amp;lt;ffffffffa0eed7fc&amp;gt;] ll_lookup_nd+0x8c/0x430 [lustre]
 [&amp;lt;ffffffff81190087&amp;gt;] ? d_alloc+0x137/0x1b0
 [&amp;lt;ffffffff81185d45&amp;gt;] do_lookup+0x1a5/0x230
 [&amp;lt;ffffffff81186604&amp;gt;] __link_path_walk+0x734/0x1030
 [&amp;lt;ffffffff8113c307&amp;gt;] ? handle_pte_fault+0xf7/0xb50
 [&amp;lt;ffffffff8118718a&amp;gt;] path_walk+0x6a/0xe0
 [&amp;lt;ffffffff8118735b&amp;gt;] do_path_lookup+0x5b/0xa0
 [&amp;lt;ffffffff81187fc7&amp;gt;] user_path_at+0x57/0xa0
 [&amp;lt;ffffffff8126a2e1&amp;gt;] ? cpumask_any_but+0x31/0x50
 [&amp;lt;ffffffff8117cccc&amp;gt;] vfs_fstatat+0x3c/0x80
 [&amp;lt;ffffffff8117ce3b&amp;gt;] vfs_stat+0x1b/0x20
 [&amp;lt;ffffffff8117ce64&amp;gt;] sys_newstat+0x24/0x50
 [&amp;lt;ffffffff810d3d27&amp;gt;] ? audit_syscall_entry+0x1d7/0x200
 [&amp;lt;ffffffff8100b072&amp;gt;] system_call_fastpath+0x16/0x1b
Code: 01 48 83 c2 08 39 cf 7f e8 8b 34 25 30 00 00 00 31 c0 41 89 74 24 40 48 83 c4 10 5b 41 5c 
LustreError: 18096:0:(fld_handler.c:158:fld_server_lookup()) srv-lustre-MDT0000: FLD cache range [0x0000000280000400-0x00000002c0000400):0:mdt does not matchrequested flag ffff8801: rc = -5
c9 c3 66 0f 1f 84 00 00 00 00 00 48 98 &amp;lt;8b&amp;gt; 70 30 41 89 74 24 40 48 83 c4 10 5b 41 5c c9 c3 0f 1f 44 00 
RIP  [&amp;lt;ffffffffa0578c72&amp;gt;] lmv_locate_mds+0x92/0xb0 [lmv]
 RSP &amp;lt;ffff88017ea459d8&amp;gt;
CR2: 000000000000002b
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="57052" author="jhammond" created="Thu, 25 Apr 2013 16:10:55 +0000"  >&lt;p&gt;Patch landed to master.&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|hzvonz:</customfieldvalue>

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