<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:27:39 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-2723] a client hangs forever in osc_extent_wait() on directio</title>
                <link>https://jira.whamcloud.com/browse/LU-2723</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;PID: 6774 TASK: ffff8803fc62e0c0 CPU: 1 COMMAND: &quot;fsx-linux-aio&quot;&lt;br/&gt;
#0 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de9334e8&amp;#93;&lt;/span&gt; schedule at ffffffff8141e405&lt;br/&gt;
#1 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de9335c0&amp;#93;&lt;/span&gt; cfs_waitq_wait at ffffffffa01a66ee &lt;span class=&quot;error&quot;&gt;&amp;#91;libcfs&amp;#93;&lt;/span&gt;&lt;br/&gt;
#2 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de9335d0&amp;#93;&lt;/span&gt; osc_extent_wait at ffffffffa0725aec &lt;span class=&quot;error&quot;&gt;&amp;#91;osc&amp;#93;&lt;/span&gt;&lt;br/&gt;
#3 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de933740&amp;#93;&lt;/span&gt; osc_cache_wait_range at ffffffffa0726167 &lt;span class=&quot;error&quot;&gt;&amp;#91;osc&amp;#93;&lt;/span&gt;&lt;br/&gt;
#4 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de9338d0&amp;#93;&lt;/span&gt; osc_io_fsync_end at ffffffffa0717a79 &lt;span class=&quot;error&quot;&gt;&amp;#91;osc&amp;#93;&lt;/span&gt;&lt;br/&gt;
#5 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de933910&amp;#93;&lt;/span&gt; cl_io_end at ffffffffa03048b2 &lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;&lt;br/&gt;
#6 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de933940&amp;#93;&lt;/span&gt; lov_io_end_wrapper at ffffffffa07c26f9 &lt;span class=&quot;error&quot;&gt;&amp;#91;lov&amp;#93;&lt;/span&gt;&lt;br/&gt;
#7 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de933960&amp;#93;&lt;/span&gt; lov_io_fsync_end at ffffffffa07c407b &lt;span class=&quot;error&quot;&gt;&amp;#91;lov&amp;#93;&lt;/span&gt;&lt;br/&gt;
#8 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de933990&amp;#93;&lt;/span&gt; cl_io_end at ffffffffa03048b2 &lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;&lt;br/&gt;
#9 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de9339c0&amp;#93;&lt;/span&gt; cl_io_loop at ffffffffa0308c4a &lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;&lt;br/&gt;
#10 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de9339f0&amp;#93;&lt;/span&gt; cl_sync_file_range at ffffffffa08aacbb &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
#11 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de933a60&amp;#93;&lt;/span&gt; ll_writepages at ffffffffa08d0164 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
#12 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de933aa0&amp;#93;&lt;/span&gt; do_writepages at ffffffff810cd631&lt;br/&gt;
#13 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de933ab0&amp;#93;&lt;/span&gt; __filemap_fdatawrite_range at ffffffff810c5b65&lt;br/&gt;
#14 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de933b10&amp;#93;&lt;/span&gt; filemap_write_and_wait_range at ffffffff810c5bca&lt;br/&gt;
#15 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de933b40&amp;#93;&lt;/span&gt; generic_file_buffered_write at ffffffff810c5e23&lt;br/&gt;
#16 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de933c10&amp;#93;&lt;/span&gt; __generic_file_aio_write at ffffffff810c6d37&lt;br/&gt;
#17 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de933cc0&amp;#93;&lt;/span&gt; generic_file_aio_write at ffffffff810c6e42&lt;br/&gt;
#18 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de933d00&amp;#93;&lt;/span&gt; vvp_io_write_start at ffffffffa08fd4f6 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
#19 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de933d40&amp;#93;&lt;/span&gt; cl_io_start at ffffffffa0304a1a &lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;&lt;br/&gt;
#20 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de933d70&amp;#93;&lt;/span&gt; cl_io_loop at ffffffffa0308c3c &lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;&lt;br/&gt;
#21 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de933da0&amp;#93;&lt;/span&gt; ll_file_io_generic at ffffffffa08a9cc5 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
#22 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de933e10&amp;#93;&lt;/span&gt; ll_file_aio_write at ffffffffa08aa01b &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
#23 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de933e60&amp;#93;&lt;/span&gt; aio_rw_vect_retry at ffffffff811426d4&lt;br/&gt;
#24 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de933e90&amp;#93;&lt;/span&gt; aio_run_iocb at ffffffff81143ffa&lt;br/&gt;
#25 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de933ec0&amp;#93;&lt;/span&gt; sys_io_submit at ffffffff81144e38&lt;br/&gt;
#26 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff8803de933f80&amp;#93;&lt;/span&gt; system_call_fastpath at ffffffff8100305b&lt;br/&gt;
RIP: 00007f7f5d49a6f7 RSP: 00007fff771a51a8 RFLAGS: 00010217&lt;br/&gt;
RAX: 00000000000000d1 RBX: ffffffff8100305b RCX: 00000000000000e2&lt;br/&gt;
RDX: 00007fff771a5150 RSI: 0000000000000001 RDI: 00007f7f5d8b0000&lt;br/&gt;
RBP: 0000000000001000 R8: 0000000000000000 R9: 0000000000000003&lt;br/&gt;
R10: 000000000000000f R11: 0000000000000202 R12: 00007fff771a5600&lt;br/&gt;
R13: 0000000000404658 R14: 0000000000001000 R15: 0000000000001000&lt;br/&gt;
ORIG_RAX: 00000000000000d1 CS: 0033 SS: 002b&lt;/p&gt;</description>
                <environment></environment>
        <key id="17382">LU-2723</key>
            <summary>a client hangs forever in osc_extent_wait() on directio</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="wc-triage">WC Triage</assignee>
                                    <reporter username="vitaly_fertman">Vitaly Fertman</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Thu, 31 Jan 2013 07:46:10 +0000</created>
                <updated>Tue, 23 Apr 2013 16:46:56 +0000</updated>
                            <resolved>Tue, 5 Feb 2013 12:33:43 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="51527" author="vitaly_fertman" created="Thu, 31 Jan 2013 07:48:00 +0000"  >&lt;p&gt;If dio overlaps with mapped region, first overlapped pages are sent by generic_file_direct_write-&amp;gt;filemap_write_and_wait_range-&amp;gt;writepages. After that the dio pages are sent by write_begin/write_end, writepages.&lt;br/&gt;
However, write_end-&amp;gt;osc_page_cache_add does not release extent because the IO is not considered as synchronous. as the result, the following writepages-&amp;gt;osc_cache_writeback_range() does not send pages are the extent is still ACTIVE and osc_cache_wait_range() hangs forever.&lt;/p&gt;</comment>
                            <comment id="51530" author="vitaly_fertman" created="Thu, 31 Jan 2013 08:16:01 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/5224&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/5224&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="51798" author="pjones" created="Tue, 5 Feb 2013 12:33:43 +0000"  >&lt;p&gt;Landed for 2.4&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="17222">LU-2643</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|hzvibj:</customfieldvalue>

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