<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:53:55 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-12587] DIO fallback to Buffer IO unexpectedly</title>
                <link>https://jira.whamcloud.com/browse/LU-12587</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;It is possible that DirectIO might fallback to Buffer IO in some cases, but following&lt;br/&gt;
DIO fallback to Buffer IO very easily:&lt;/p&gt;

&lt;p&gt;dd if=/dev/zero of=data bs=1M count=1&lt;br/&gt;
dd iff=/dev/zero of=data bs=1M count=1 oflag=direct conv=notrunc&lt;/p&gt;
</description>
                <environment></environment>
        <key id="56487">LU-12587</key>
            <summary>DIO fallback to Buffer IO unexpectedly</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="4" iconUrl="https://jira.whamcloud.com/images/icons/statuses/reopened.png" description="This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.">Reopened</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="paf0186">Patrick Farrell</assignee>
                                    <reporter username="wshilong">Wang Shilong</reporter>
                        <labels>
                            <label>always_except</label>
                    </labels>
                <created>Thu, 25 Jul 2019 06:57:20 +0000</created>
                <updated>Fri, 21 Oct 2022 18:39:41 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="252005" author="gerrit" created="Thu, 25 Jul 2019 06:58:09 +0000"  >&lt;p&gt;Wang Shilong (wshilong@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35610&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35610&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12587&quot; title=&quot;DIO fallback to Buffer IO unexpectedly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12587&quot;&gt;LU-12587&lt;/a&gt; llite: don&apos;t check vmpage refcount in ll_releasepage()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: eeb3f3884e0db092742daf88fc54422e207e5270&lt;/p&gt;</comment>
                            <comment id="252828" author="gerrit" created="Fri, 9 Aug 2019 04:39:48 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/35610/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35610/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12587&quot; title=&quot;DIO fallback to Buffer IO unexpectedly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12587&quot;&gt;LU-12587&lt;/a&gt; llite: don&apos;t check vmpage refcount in ll_releasepage()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e59f0c9a245f91ad929fd31dcbcbee88bf7a11df&lt;/p&gt;</comment>
                            <comment id="252876" author="pjones" created="Fri, 9 Aug 2019 15:08:35 +0000"  >&lt;p&gt;Landed for 2.13&lt;/p&gt;</comment>
                            <comment id="334175" author="paf0186" created="Mon, 9 May 2022 17:16:58 +0000"  >&lt;p&gt;This change introduced &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14541&quot; title=&quot;Memory reclaim caused a stale data read&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14541&quot;&gt;&lt;del&gt;LU-14541&lt;/del&gt;&lt;/a&gt;.&#160; The original check here is a bit off, so fixing this is not just a revert, but mostly.&#160; See &lt;a href=&quot;https://review.whamcloud.com/47262&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47262&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We will have to see if there&apos;s another way to handle this issue.&#160; It might be possible to do the flushing here (see &lt;a href=&quot;https://review.whamcloud.com/35610/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35610/&lt;/a&gt; ) inside Lustre rather than relying on the kernel to do it.&lt;/p&gt;

&lt;p&gt;eg, if we flushed pages before generic_file_direct_write:&lt;/p&gt;
&lt;div class=&apos;table-wrap&apos;&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;-&amp;gt;generic_file_direct_write()&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;-&amp;gt;filemap_write_and_wait_range()&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;-&amp;gt;invalidate_inode_pages2_range()&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;-&amp;gt;invalidate_complete_page2() If a page can not be invalidated, return 0 to fall back to buffered write.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;-&amp;gt;try_to_release_page()&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;-&amp;gt;ll_releasepage() return 0 becuase of vmpage count is 4 &amp;gt; 3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;-&amp;gt;generic_file_buffered_write&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;


&lt;p&gt;It may just be that Lustre can&apos;t release pages in the desired manner...&#160; This will require some more investigation.&lt;/p&gt;</comment>
                            <comment id="350507" author="adilger" created="Fri, 21 Oct 2022 18:39:41 +0000"  >&lt;p&gt;sanity test_277 is being skipped on master because of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14541&quot; title=&quot;Memory reclaim caused a stale data read&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14541&quot;&gt;&lt;del&gt;LU-14541&lt;/del&gt;&lt;/a&gt;, but it should really be referencing this ticket.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="63444">LU-14541</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="70132">LU-15815</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </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|i00k5j:</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>