<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:09:14 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-14380] Make statahead better support Breadth First Search (BFS) or Depth First Search (DFS)</title>
                <link>https://jira.whamcloud.com/browse/LU-14380</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Batching processing can obtain boost performance. &lt;br/&gt;
However, in some file system tree, each level may contain less than 100 entries, but with high depth.&lt;br/&gt;
It can do statahead according to Breadth First Search (BFS) or Depth First Search (DFS) access pattern once detect, each time statahead a subtree with more than 1 level, collect enough statahead entries, send the batching RPC via bulk I/O, to improve the tree walking performance.&lt;/p&gt;


&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
BFS_Traverse(DIR, Q) {
	Q.enqueue(DIR);
	&lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt; |Q| &amp;gt; 0 &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt;
		dir = Q.dequeue()
		opendir(dir);
		&lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt; dent = readdir(dir) != NULL &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt;
			stat(dent); process(dent);
			&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; dent is a directory &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt;
				Q.enqueue(dent);
			end &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt;
		end &lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt;
		closedir(dir);
	end &lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt;
}
DFS_Traverse(dir) {
	openddir(dir);
	&lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt; (dent = readdir(dir) != NULL) &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt;
		&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; dent is a file then
			stat(dent); process(dent);
		&lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;code-comment&quot;&gt;/* a directory */&lt;/span&gt;
			DFS_Traverse(dent)
		end &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt;
	end &lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt;
	closedir(dir);
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="62550">LU-14380</key>
            <summary>Make statahead better support Breadth First Search (BFS) or Depth First Search (DFS)</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="qian_wc">Qian Yingjin</assignee>
                                    <reporter username="qian_wc">Qian Yingjin</reporter>
                        <labels>
                    </labels>
                <created>Thu, 28 Jan 2021 09:12:48 +0000</created>
                <updated>Sat, 5 Nov 2022 01:02:32 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="291314" author="gerrit" created="Fri, 5 Feb 2021 07:25:14 +0000"  >&lt;p&gt;Yingjin Qian (qian@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/41422&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/41422&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14380&quot; title=&quot;Make statahead better support Breadth First Search (BFS) or Depth First Search (DFS)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14380&quot;&gt;LU-14380&lt;/a&gt; statahead: refine per process statahead control&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 2e6ba7c009ac74dcdc89b22533592db4229ada73&lt;/p&gt;</comment>
                            <comment id="292372" author="gerrit" created="Fri, 19 Feb 2021 05:35:51 +0000"  >&lt;p&gt;Yingjin Qian (qian@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/41692&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/41692&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14380&quot; title=&quot;Make statahead better support Breadth First Search (BFS) or Depth First Search (DFS)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14380&quot;&gt;LU-14380&lt;/a&gt; statahead: make statahead better support DFS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4300683c82b1f6ce7afd9355f157dc929b7d6d31&lt;/p&gt;</comment>
                            <comment id="295564" author="gerrit" created="Sat, 20 Mar 2021 02:52:24 +0000"  >&lt;p&gt;Yingjin Qian (qian@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/42115&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/42115&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14380&quot; title=&quot;Make statahead better support Breadth First Search (BFS) or Depth First Search (DFS)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14380&quot;&gt;LU-14380&lt;/a&gt; statahead: Breadth First Search algo for statahead&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 0f03bca9cdf4d011f3a5d564c565a437818cc80e&lt;/p&gt;</comment>
                            <comment id="297220" author="gerrit" created="Tue, 30 Mar 2021 12:48:58 +0000"  >&lt;p&gt;Yingjin Qian (qian@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/43170&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/43170&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14380&quot; title=&quot;Make statahead better support Breadth First Search (BFS) or Depth First Search (DFS)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14380&quot;&gt;LU-14380&lt;/a&gt; statahead: clean up misc debug code&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f113be1941c5b18b65e94d5c364b9d69e49151c3&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>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="39642">LU-8582</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="10131">LU-23</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|i01klj:</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>