<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:13:16 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-14843] Allow parallel dio under a group lock (and possibly locked in general?)</title>
                <link>https://jira.whamcloud.com/browse/LU-14843</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Today, we do not do parallel DIO when we are operating in locked mode, which happens either if there is a conflict with buffered i/o on the same node (rare, probably not very important), or when we are working under a group lock.&#160; This second one is important because migrate is done with DIO under a group lock.&lt;/p&gt;

&lt;p&gt;There is no fundamental reason we can&apos;t do parallel DIO under a group lock (AIO is harder).&#160; The problem is that where we wait (up in ll_file_io_generic) is &lt;b&gt;after&lt;/b&gt; we have finished with the client side locking.&#160; This means that when there is an LDLM lock on the client, we release the associated OSC locks (and potentially the LDLM lock as well) &lt;b&gt;before i/o has completed&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;This is deliberate and appropriate for the case where there is no LDLM lock - we do not want to unnecessarily hold client side locks, etc, and it&apos;s cleaner to wait at the top level.&lt;/p&gt;

&lt;p&gt;There is a solution available to allow parallel DIO in the locked case - We can wait in ll_direct_IO_impl after issuing the last part of the i/o.&#160; The only problem is determining exactly when that is.&#160; (This will allow AIO as well, but the AIO will be forced to synchronous.)&lt;/p&gt;

&lt;p&gt;This ticket is to give me a reminder of the issue and a place to put the patch for it when I get to it.&lt;/p&gt;</description>
                <environment></environment>
        <key id="65190">LU-14843</key>
            <summary>Allow parallel dio under a group lock (and possibly locked in general?)</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="paf0186">Patrick Farrell</assignee>
                                    <reporter username="paf0186">Patrick Farrell</reporter>
                        <labels>
                    </labels>
                <created>Mon, 12 Jul 2021 18:04:51 +0000</created>
                <updated>Wed, 10 May 2023 17:55:36 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="306991" author="paf0186" created="Mon, 12 Jul 2021 18:06:24 +0000"  >&lt;p&gt;This patch is going to be an adjustment atop &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14805&quot; title=&quot;Do not do parallel DIO except when lockless&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14805&quot;&gt;&lt;del&gt;LU-14805&lt;/del&gt;&lt;/a&gt;, but since &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14805&quot; title=&quot;Do not do parallel DIO except when lockless&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14805&quot;&gt;&lt;del&gt;LU-14805&lt;/del&gt;&lt;/a&gt; is already working, I&apos;d like to get it landed and handle this separately.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="64954">LU-14805</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|i01z2n:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>