<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:07:35 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-7287] osc_cache_shrink_scan() unsafe against concurrrent OSC device removal</title>
                <link>https://jira.whamcloud.com/browse/LU-7287</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In &lt;tt&gt;osc_cache_shrink_scan()&lt;/tt&gt; the OSC device selected as the anchor may be removed once the list is unlocked resulting in a infinite loop.&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;t:~# export MOUNT_2=y
t:~# export DEBUG_SIZE=1024
t:~# export PTLDEBUG=trace
t:~# llmount.sh
...
t:~# while true; do dd if=/dev/zero of=/mnt/lustre/$((RANDOM % 30)) bs=1M count=20; done &amp;amp;
t:~# while true; do echo 2 &amp;gt; /proc/sys/vm/drop_caches ; done &amp;amp;
t:~# while true; do umount /mnt/lustre2; mount t@tcp:/lustre /mnt/lustre2 -t lustre; 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;[  960.026008] BUG: soft lockup - CPU#0 stuck for 67s! [bash:20730]
[  960.026008] Modules linked in: ...
[  960.026008] irq event stamp: 0
[  960.026008] hardirqs last  enabled at (0): [&amp;lt;(null)&amp;gt;] (null)
[  960.026008] hardirqs last disabled at (0): [&amp;lt;ffffffff81072032&amp;gt;] copy_process+0x5e2/0x1660
[  960.026008] softirqs last  enabled at (0): [&amp;lt;ffffffff81072032&amp;gt;] copy_process+0x5e2/0x1660
[  960.026008] softirqs last disabled at (0): [&amp;lt;(null)&amp;gt;] (null)
[  960.026008] CPU 0
[  960.026008] Modules linked in: ...
[  960.026008]
[  960.026008] Pid: 20730, comm: bash Tainted: G        W  ---------------    2.6.32-431.29.2.el6.lustre.x86_64 #1 Bochs Bochs
[  960.026008] RIP: 0010:[&amp;lt;ffffffffa08f9425&amp;gt;]  [&amp;lt;ffffffffa08f9425&amp;gt;] libcfs_debug_vmsg2+0x455/0xbe0 [libcfs]
[  960.026008] RSP: 0018:ffff8800a4059ad8  EFLAGS: 00000246
[  960.026008] RAX: ffff8800bffdb347 RBX: ffff8800a4059c38 RCX: 0000000000000000
[  960.026008] RDX: ffff8800bffdb356 RSI: ffffffffa1016f4f RDI: ffff8800bffdb347
[  960.026008] RBP: ffffffff8100bc8e R08: 0000000000000000 R09: 0000000000000001
[  960.026008] R10: 0000000000000001 R11: 0000000000000000 R12: ffff8800a4059a98
[  960.026008] R13: 0000000000000002 R14: ffffffff812acb86 R15: ffff8800a4059ac8
[  960.026008] FS:  00007fe2c41f7700(0000) GS:ffff88002c000000(0000) knlGS:0000000000000000
[  960.026008] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  960.026008] CR2: 00000000004077c0 CR3: 00000000a4ddb000 CR4: 00000000000006f0
[  960.026008] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  960.026008] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  960.026008] Process bash (pid: 20730, threadinfo ffff8800a4058000, task ffff8800b2034740)
[  960.026008] Stack:
[  960.026008]  ffff8800a4059fd8 ffff8800a4059b68 ffffffffa10230c0 000000000000004a
[  960.026008] &amp;lt;d&amp;gt; ffff8800a4059fd8 ffff8800b2034740 ffffffffa102b7e0 000000000000004a
[  960.026008] &amp;lt;d&amp;gt; ffff88011c1ba2e0 0000000181555df2 ffffffffa1018bdf 0000000000000000
[  960.026008] Call Trace:
[  960.026008]  [&amp;lt;ffffffffa08f9bf1&amp;gt;] ? libcfs_debug_msg+0x41/0x50 [libcfs]
[  960.026008]  [&amp;lt;ffffffffa0ff84b4&amp;gt;] ? osc_lru_shrink+0x2f4/0x780 [osc]
[  960.026008]  [&amp;lt;ffffffffa0ff89dc&amp;gt;] ? osc_cache_shrink_scan+0x9c/0x190 [osc]
[  960.026008]  [&amp;lt;ffffffffa0ff89dc&amp;gt;] ? osc_cache_shrink_scan+0x9c/0x190 [osc]
[  960.026008]  [&amp;lt;ffffffffa0ff8a72&amp;gt;] ? osc_cache_shrink_scan+0x132/0x190 [osc]
[  960.026008]  [&amp;lt;ffffffffa0fe6a9e&amp;gt;] ? osc_cache_shrink+0x2e/0x50 [osc]
[  960.026008]  [&amp;lt;ffffffff8114c45d&amp;gt;] ? shrink_slab+0x13d/0x1c0
[  960.026008]  [&amp;lt;ffffffff811d25a4&amp;gt;] ? drop_caches_sysctl_handler+0x44/0x1c0
[  960.026008]  [&amp;lt;ffffffff8121a607&amp;gt;] ? proc_sys_call_handler+0x97/0xd0
[  960.026008]  [&amp;lt;ffffffff8121a654&amp;gt;] ? proc_sys_write+0x14/0x20
[  960.026008]  [&amp;lt;ffffffff811a2e48&amp;gt;] ? vfs_write+0xb8/0x1a0
[  960.026008]  [&amp;lt;ffffffff811a3821&amp;gt;] ? sys_write+0x51/0x90
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="32615">LU-7287</key>
            <summary>osc_cache_shrink_scan() unsafe against concurrrent OSC device removal</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="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="bobijam">Zhenyu Xu</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Tue, 13 Oct 2015 15:09:55 +0000</created>
                <updated>Sun, 30 Jan 2022 10:17:27 +0000</updated>
                                            <version>Lustre 2.8.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="130244" author="jgmitter" created="Tue, 13 Oct 2015 17:26:26 +0000"  >&lt;p&gt;Hi Bobijam,&lt;br/&gt;
Could you take a look at this one?&lt;br/&gt;
Thanks.&lt;br/&gt;
Joe&lt;/p&gt;</comment>
                            <comment id="130341" author="gerrit" created="Wed, 14 Oct 2015 05:29:52 +0000"  >&lt;p&gt;Bobi Jam (bobijam@hotmail.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/16814&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16814&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7287&quot; title=&quot;osc_cache_shrink_scan() unsafe against concurrrent OSC device removal&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7287&quot;&gt;LU-7287&lt;/a&gt; clio: osc_cache_shrink_scan() unsafe&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 53aad4d9f744f2e9fecffaf10075a53846bed05c&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|hzxqaf:</customfieldvalue>

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