<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:25:19 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-16247] do open()+readahead for DoM files as batched operations</title>
                <link>https://jira.whamcloud.com/browse/LU-16247</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Lustre currently supported read on open() call for DoM files in single RPC (it will benefit the performance of mdtest read):&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://review.whamcloud.com/23011&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/23011&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10181&quot; title=&quot;DoM performance optimization&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10181&quot;&gt;&lt;del&gt;LU-10181&lt;/del&gt;&lt;/a&gt; mdt: read on open for DoM files&lt;/tt&gt;&quot;&lt;/p&gt;

&lt;p&gt;It is possible to do open()+readahead for DoM files as batched operations.&lt;/p&gt;

&lt;p&gt;But the client needs to know the file names of the open calls in advance and a open/read -ahead mechanism similar to statahead.&lt;/p&gt;

&lt;p&gt;This needs the file names of the open calls are predictable such as:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Get the file names via readdir() calls;&lt;/li&gt;
	&lt;li&gt;regularized file names such as mdtest.$rank.$i&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;For each open() + readahead request in the batched RPC,&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;the MDS will return MDS_INODELOCK_OPEN ibit lock to the client and cache this lock on the client lock namespace, thus the corresponding file handle protected by this lock can be also validly cached on the client and subsequent predictable open calls can open locally;&lt;/li&gt;
	&lt;li&gt;For the readahead data, it will store on the client page cache, and the subsequent read() calls can directly read data from page cache, does not need a extra RPC for file data.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="72841">LU-16247</key>
            <summary>do open()+readahead for DoM files as batched operations</summary>
                <type id="2" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11311&amp;avatarType=issuetype">New Feature</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="qian_wc">Qian Yingjin</assignee>
                                    <reporter username="qian_wc">Qian Yingjin</reporter>
                        <labels>
                    </labels>
                <created>Tue, 18 Oct 2022 07:50:51 +0000</created>
                <updated>Sat, 17 Dec 2022 14:45:47 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="350094" author="adilger" created="Wed, 19 Oct 2022 06:06:02 +0000"  >&lt;p&gt;This looks very interesting, and could potentially improve the small file performance significantly for &lt;tt&gt;mdtest-hard-read&lt;/tt&gt; workloads.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="61685">LU-14139</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|i0335b:</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>