<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:35:24 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-17433] async hybrid writes</title>
                <link>https://jira.whamcloud.com/browse/LU-17433</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This is a ticket to capture a few thoughts and a patch which implements a small part of what&apos;s required here, because it was on my mind.&#160; This will come after hybrid IO and is not to be done soon, but there should still be a place to track it.&lt;/p&gt;

&lt;p&gt;Notes:&lt;/p&gt;

&lt;p&gt;So for unaligned writes, it can be async.&lt;/p&gt;

&lt;p&gt;1. Basically, this will act like AIO. &#160;You&apos;ll have to do the cleanup after the fact.&lt;br/&gt;
So it will change the reference counting for these.&lt;br/&gt;
2. You&apos;ll need to use dlmlocks - otherwise the async IO isn&apos;t safe.&lt;br/&gt;
This will have to be integrated carefully with hybrid - depending on when the choice is made, etc.&lt;br/&gt;
3. You&apos;ll need to do the locking - both the range lock and the dlmlocks will need to be held and destroyed only when the last IO cleans up.&lt;br/&gt;
Range locks are required to protect against write re-ordering from this client. &#160;This is an issue with AIO but AIO gets special rules.&lt;/p&gt;


&lt;p&gt;So to summarize:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Only applies to switched hybrid IO, since it violates the sync expectation from DIO&lt;/li&gt;
	&lt;li&gt;Need to record dlmlocks&lt;/li&gt;
	&lt;li&gt;Need range lock&lt;/li&gt;
	&lt;li&gt;Need to change reference counting so it works like AIO (have to sort out precisely what that means)&lt;/li&gt;
	&lt;li&gt;Need to clean up dlmlocks and range lock as IO completes&lt;/li&gt;
	&lt;li&gt;Probably makes sense to associate dlmlocks with sub DIO - each SDIO will use a single dlmlock and we can have it release the dlmlock when it&apos;s complete&lt;/li&gt;
	&lt;li&gt;Range lock will be released by the top level DIO&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="80054">LU-17433</key>
            <summary>async hybrid writes</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>Tue, 16 Jan 2024 21:54:41 +0000</created>
                <updated>Tue, 16 Jan 2024 22:30:09 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="399942" author="gerrit" created="Tue, 16 Jan 2024 22:11:49 +0000"  >&lt;p&gt;&quot;Patrick Farrell &amp;lt;pfarrell@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/53688&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/53688&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17433&quot; title=&quot;async hybrid writes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17433&quot;&gt;LU-17433&lt;/a&gt; llite: move dio range locking to DIO&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 6a3e2292ded7838a2b3dd7db8878eb6a78d7960d&lt;/p&gt;</comment>
                            <comment id="399944" author="gerrit" created="Tue, 16 Jan 2024 22:30:09 +0000"  >&lt;p&gt;&quot;Patrick Farrell &amp;lt;pfarrell@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/53689&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/53689&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17433&quot; title=&quot;async hybrid writes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17433&quot;&gt;LU-17433&lt;/a&gt; clio: add and put ref on dlmlock for sdio&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: ef0bc8267cad26626339687d2c57831e3da75ddc&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="60017">LU-13802</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="60032">LU-13805</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|i047tj:</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>