<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:35:56 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-17499] migrate vs lseek deadlock</title>
                <link>https://jira.whamcloud.com/browse/LU-17499</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;ll_migrate() takes a lock on the inode in the very beginning, then needs to get data&apos;s version via OST which enqueues an extent lock.&lt;br/&gt;
in turn ll_file_seek() grab an extent lock first, then wants to lock the inode in vvp_io_lseek_start().&lt;br/&gt;
I&apos;d think we should take inode&apos;s lock in the beginning of ll_file_seek(), but not an expert in this area.&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;
PID: 468416   TASK: ffff99380683c280  CPU: 3    COMMAND: &lt;span class=&quot;code-quote&quot;&gt;&quot;lfs&quot;&lt;/span&gt;
 #0 [ffff993802edb9a0] __schedule at ffffffff916f6ab6
    /tmp/kernel/kernel/sched/core.c: 3755
 #1 [ffff993802edb9f8] schedule at ffffffff916f7050
    /tmp/kernel/kernel/sched/core.c: 4602
 #2 [ffff993802edba10] schedule_timeout at ffffffff916fd3d0
    /tmp/kernel/kernel/time/timer.c: 1836
 #3 [ffff993802edbac8] wait_for_common at ffffffff916f7b0c
    /tmp/kernel/kernel/sched/completion.c: 86
 #4 [ffff993802edbb18] mdc_io_data_version_end at ffffffffc0b3e7ba [mdc]
    /home/lustre/master-test/lustre/mdc/mdc_dev.c: 1340
 #5 [ffff993802edbb30] cl_io_end at ffffffffc04897de [obdclass]
    /home/lustre/master-test/lustre/obdclass/cl_io.c: 529
 #6 [ffff993802edbb58] lov_io_end_wrapper at ffffffffc0ad43da [lov]
    /home/lustre/master-test/lustre/lov/lov_io.c: 1092
 #7 [ffff993802edbb70] lov_io_data_version_end at ffffffffc0ad4c32 [lov]
    /home/lustre/master-test/lustre/lov/lov_io.c: 1137
 #8 [ffff993802edbb90] cl_io_end at ffffffffc04897de [obdclass]
    /home/lustre/master-test/lustre/obdclass/cl_io.c: 529
 #9 [ffff993802edbbb8] cl_io_loop at ffffffffc048ded2 [obdclass]
    /home/lustre/master-test/lustre/obdclass/cl_io.c: 765
#10 [ffff993802edbbf0] ll_ioc_data_version at ffffffffc11c73ba [lustre]
    /home/lustre/master-test/lustre/llite/file.c: 3236
#11 [ffff993802edbc28] ll_migrate at ffffffffc11d6eff [lustre]
    /home/lustre/master-test/lustre/llite/file.c: 3269
#12 [ffff993802edbca8] ll_dir_ioctl at ffffffffc11bffb1 [lustre]
    /home/lustre/master-test/lustre/llite/dir.c: 2295
#13 [ffff993802edbe88] do_vfs_ioctl at ffffffff91273479
    /tmp/kernel/fs/ioctl.c: 48

PID: 468197   TASK: ffff99398a360680  CPU: 1    COMMAND: &lt;span class=&quot;code-quote&quot;&gt;&quot;lfs&quot;&lt;/span&gt;
 #0 [ffff99392f44fd28] __schedule at ffffffff916f6ab6
    /tmp/kernel/kernel/sched/core.c: 3755
 #1 [ffff99392f44fd80] schedule at ffffffff916f7050
    /tmp/kernel/kernel/sched/core.c: 4602
 #2 [ffff99392f44fd98] rwsem_down_write_slowpath at ffffffff9112c55a
    /tmp/kernel/./arch/x86/include/asm/current.h: 15
 #3 [ffff99392f44fe28] vvp_io_lseek_start at ffffffffc12286fd [lustre]
    /home/lustre/linux-4.18.0-477.15.1.el8_8/./arch/x86/include/asm/current.h: 15
 #4 [ffff99392f44fe50] cl_io_start at ffffffffc04896d5 [obdclass]
    /home/lustre/master-test/lustre/obdclass/cl_io.c: 507
 #5 [ffff99392f44fe78] cl_io_loop at ffffffffc048dec5 [obdclass]
    /home/lustre/master-test/lustre/obdclass/cl_io.c: 764
 #6 [ffff99392f44feb0] ll_file_seek at ffffffffc11d618d [lustre]
    /home/lustre/master-test/lustre/llite/file.c: 4729
 #7 [ffff99392f44ff08] ksys_lseek at ffffffff9125d48d
    /tmp/kernel/fs/read_write.c: 300

PID: 7933     TASK: ffff993929c68980  CPU: 3    COMMAND: &lt;span class=&quot;code-quote&quot;&gt;&quot;mdt00_022&quot;&lt;/span&gt;
 #0 [ffff993971c03b20] __schedule at ffffffff916f6ab6
    /tmp/kernel/kernel/sched/core.c: 3755
 #1 [ffff993971c03b78] schedule at ffffffff916f7050
    /tmp/kernel/kernel/sched/core.c: 4602
 #2 [ffff993971c03b90] ldlm_completion_ast at ffffffffc07f8e7c [ptlrpc]
    /home/lustre/master-test/lustre/ptlrpc/../../lustre/ldlm/ldlm_request.c: 332
 #3 [ffff993971c03c08] ldlm_cli_enqueue_local at ffffffffc07f672a [ptlrpc]
    /home/lustre/master-test/lustre/ptlrpc/../../lustre/ldlm/ldlm_request.c: 536
 #4 [ffff993971c03c78] tgt_mdt_data_lock at ffffffffc08441a8 [ptlrpc]
    /home/lustre/master-test/libcfs/include/libcfs/libcfs_debug.h: 120
 #5 [ffff993971c03d20] mdt_data_version_get at ffffffffc0fb7cc9 [mdt]
    /home/lustre/master-test/lustre/mdt/mdt_io.c: 1649
 #6 [ffff993971c03d70] mdt_getattr at ffffffffc0f6ab40 [mdt]
    /home/lustre/master-test/libcfs/include/libcfs/libcfs_debug.h: 120
 #7 [ffff993971c03da0] tgt_request_handle at ffffffffc08495cc [ptlrpc]
    /home/lustre/master-test/lustre/include/lu_target.h: 654
 #8 [ffff993971c03e18] ptlrpc_main at ffffffffc079da91 [ptlrpc]
    /home/lustre/master-test/lustre/include/lustre_net.h: 2421
 #9 [ffff993971c03f10] kthread at ffffffff9110383e
    /tmp/kernel/kernel/kthread.c: 354
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="80601">LU-17499</key>
            <summary>migrate vs lseek deadlock</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="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="wc-triage">WC Triage</assignee>
                                    <reporter username="bzzz">Alex Zhuravlev</reporter>
                        <labels>
                    </labels>
                <created>Fri, 2 Feb 2024 09:10:10 +0000</created>
                <updated>Sun, 4 Feb 2024 14:11:05 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="402346" author="bzzz" created="Fri, 2 Feb 2024 09:14:20 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=bobijam&quot; class=&quot;user-hover&quot; rel=&quot;bobijam&quot;&gt;bobijam&lt;/a&gt; what&apos;s your opinion?&lt;/p&gt;</comment>
                            <comment id="402415" author="adilger" created="Fri, 2 Feb 2024 16:43:11 +0000"  >&lt;p&gt;Hmm, I think I&apos;ve seen this in racer as well?  Hung threads on the clients with migrate active on some threads.  Please have a look through the &lt;a href=&quot;https://testing.whamcloud.com/search?horizon=518400&amp;amp;status%5B%5D=TIMEOUT&amp;amp;test_set_script_id=9ab2e9f8-6aec-11e0-b32b-52540025f9af&amp;amp;sub_test_script_id=12c874f8-c308-11e0-9a20-52540025f9af&amp;amp;source=sub_tests#redirect&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;recent racer test_1 timeouts&lt;/a&gt; to confirm, then we may have an easy reproducer, and fixing this may also reduce our test errors. &lt;/p&gt;</comment>
                            <comment id="402569" author="bzzz" created="Sun, 4 Feb 2024 14:11:05 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=adilger&quot; class=&quot;user-hover&quot; rel=&quot;adilger&quot;&gt;adilger&lt;/a&gt; these two reports have the same symptom as in the descriptions:&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/sub_tests/f08ac5b3-d083-4b9c-87e1-6f752b3c95ef&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/sub_tests/f08ac5b3-d083-4b9c-87e1-6f752b3c95ef&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/sub_tests/735b8dc8-c37a-417f-a215-b5233d0f7606&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/sub_tests/735b8dc8-c37a-417f-a215-b5233d0f7606&lt;/a&gt;&lt;br/&gt;
others have another root cause &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&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|i04a2f:</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>