<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:29:47 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-16762] sanity 123ad fails on a local setup</title>
                <link>https://jira.whamcloud.com/browse/LU-16762</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;this test is introduced in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14139&quot; title=&quot; batched statahead processing&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14139&quot;&gt;&lt;del&gt;LU-14139&lt;/del&gt;&lt;/a&gt; statahead: add test for batch statahead processing&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;
== sanity test 123ad: Verify batching statahead works correctly ========================================================== 09:48:12 (1682243292)

batching: statahead_max=32 statahead_batch_max=32
mdc.lustre-MDT0000-mdc-ffff94639828b000.batch_stats=0
mdc.lustre-MDT0001-mdc-ffff94639828b000.batch_stats=0
llite.lustre-ffff94639828b000.statahead_max=32
llite.lustre-ffff94639828b000.statahead_batch_max=32
seq.cli-lustre-OST0000-&lt;span class=&quot;code-keyword&quot;&gt;super&lt;/span&gt;.width=0x1ffffff
seq.cli-lustre-OST0001-&lt;span class=&quot;code-keyword&quot;&gt;super&lt;/span&gt;.width=0x1ffffff
bochs
mdc.lustre-MDT0000-mdc-ffff94639828b000.batch_stats=0
mdc.lustre-MDT0001-mdc-ffff94639828b000.batch_stats=0
striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity
total: 100 open/close in 0.21 seconds: 470.99 ops/second
llite.lustre-ffff94639828b000.statahead_max=0
101

real	0m0.176s
user	0m0.000s
sys	0m0.085s
ls -l 100 files without statahead: 0 sec
llite.lustre-ffff94639828b000.statahead_max=32
32
101

real	0m0.226s
user	0m0.022s
sys	0m0.135s
ls -l 100 files with statahead: 1 sec
statahead total: 32
statahead wrong: 7
agl total: 32
hit_total: 886
miss_total: 322
statahead was stopped, maybe too many locks held!
total: 900 open/close in 1.80 seconds: 499.58 ops/second
llite.lustre-ffff94639828b000.statahead_max=0
1001

real	0m0.870s
user	0m0.008s
sys	0m0.374s
ls -l 1000 files without statahead: 0 sec
llite.lustre-ffff94639828b000.statahead_max=32
32
1001

real	0m1.147s
user	0m0.077s
sys	0m0.396s
ls -l 1000 files with statahead: 1 sec
statahead total: 33
statahead wrong: 8
agl total: 33
hit_total: 886
miss_total: 335
statahead was stopped, maybe too many locks held!
 - open/close 5164 (time 1682243309.81 total 10.01 last 515.66)
total: 9000 open/close in 18.85 seconds: 477.41 ops/second
llite.lustre-ffff94639828b000.statahead_max=0
10001

real	0m14.353s
user	0m0.235s
sys	0m6.314s
ls -l 10000 files without statahead: 15 sec
llite.lustre-ffff94639828b000.statahead_max=32
32
10001

real	0m12.395s
user	0m0.193s
sys	0m5.184s
ls -l 10000 files with statahead: 13 sec
statahead total: 34
statahead wrong: 9
agl total: 34
hit_total: 1054
miss_total: 375
statahead was stopped, maybe too many locks held!
ls -l done
rm -r /mnt/lustre/d123ad.sanity/: 18 seconds
rm done
statahead total: 34
statahead wrong: 9
agl total: 34
hit_total: 1054
miss_total: 375
mdc.lustre-MDT0000-mdc-ffff94639828b000.batch_stats=
snapshot_time:            1682243365.822393085 secs.nsecs
start_time:               1682243292.581304155 secs.nsecs
elapsed_time:             73.241088930 secs.nsecs
subreqs per batch   batches   % cum %
1:		         4  40  40
2:		         1  10  50
4:		         0   0  50
8:		         0   0  50
16:		         3  30  80
32:		         2  20 100
mdc.lustre-MDT0001-mdc-ffff94639828b000.batch_stats=
snapshot_time:            1682243365.827668934 secs.nsecs
start_time:               1682243292.581363839 secs.nsecs
elapsed_time:             73.246305095 secs.nsecs
subreqs per batch   batches   % cum %
1:		         3  33  33
2:		         0   0  33
4:		         0   0  33
8:		         1  11  44
16:		         5  55 100
 - open/close 5281 (time 1682243376.01 total 10.00 last 528.07)
total: 10000 open/close in 18.26 seconds: 547.71 ops/second
llite.lustre-ffff94639828b000.statahead_batch_max=0
llite.lustre-ffff94639828b000.statahead_stats=clear
mdc.lustre-MDT0000-mdc-ffff94639828b000.stats=clear
mdc.lustre-MDT0001-mdc-ffff94639828b000.stats=clear
10001

real	0m12.165s
user	0m0.156s
sys	0m4.960s
 sanity test_123ad: @@@@@@ FAIL: unbatched statahead hit count (0) is too low 
  Trace dump:
  = ./../tests/test-framework.sh:6579:error()
  = sanity.sh:13740:test_batch_statahead()
  = sanity.sh:13780:test_123ad()
  = ./../tests/test-framework.sh:6919:run_one()
  = ./../tests/test-framework.sh:6968:run_one_logged()
  = ./../tests/test-framework.sh:6805:run_test()
  = sanity.sh:13783:main()
Dumping lctl log to /tmp/ltest-logs/sanity.test_123ad.*.1682243399.log
Dumping logs only on local client.
seq.cli-lustre-OST0000-&lt;span class=&quot;code-keyword&quot;&gt;super&lt;/span&gt;.width=65536
seq.cli-lustre-OST0001-&lt;span class=&quot;code-keyword&quot;&gt;super&lt;/span&gt;.width=65536
llite.lustre-ffff94639828b000.statahead_batch_max=0
llite.lustre-ffff94639828b000.statahead_max=32
FAIL 123ad (125s)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="75675">LU-16762</key>
            <summary>sanity 123ad fails on a local setup</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="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="qian_wc">Qian Yingjin</assignee>
                                    <reporter username="bzzz">Alex Zhuravlev</reporter>
                        <labels>
                    </labels>
                <created>Sun, 23 Apr 2023 11:38:10 +0000</created>
                <updated>Wed, 20 Dec 2023 02:35:35 +0000</updated>
                            <resolved>Wed, 20 Dec 2023 02:35:35 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="370312" author="pjones" created="Sun, 23 Apr 2023 13:19:02 +0000"  >&lt;p&gt;Yingjin&lt;/p&gt;

&lt;p&gt;Can you please advise?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="370313" author="qian_wc" created="Sun, 23 Apr 2023 14:14:04 +0000"  >&lt;p&gt;It seems that the stat-ahead does not trigger...&lt;br/&gt;
I will try it on my local env.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Qian&lt;/p&gt;
</comment>
                            <comment id="384909" author="arshad512" created="Wed, 6 Sep 2023 06:33:16 +0000"  >&lt;p&gt;+1 on Master (&lt;a href=&quot;https://testing.whamcloud.com/test_sets/4b7b1d2a-a093-4534-9338-e3ede0aa54de)&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/4b7b1d2a-a093-4534-9338-e3ede0aa54de)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;br/&gt;
== sanity test 123ad: Verify batching statahead works correctly ========================================================== 15:25:17 (1693927517)&lt;br/&gt;
...&amp;lt;snip&amp;gt;&lt;/p&gt;

&lt;p&gt;CMD: trevis-40vm1,trevis-40vm2,trevis-40vm3 /usr/sbin/lctl set_param debug=\&quot;trace inode super iotrace malloc cache info ioctl neterror net warning buffs other dentry nettrace page dlmtrace error emerg ha rpctrace vfstrace reada mmap config console quota sec lfsck hsm snapshot layout\&quot;&lt;br/&gt;
llite.lustre-ffff000045311000.statahead_batch_max=0&lt;br/&gt;
llite.lustre-ffff000045311000.statahead_stats=clear&lt;br/&gt;
mdc.lustre-MDT0000-mdc-ffff000045311000.stats=clear&lt;br/&gt;
mdc.lustre-MDT0001-mdc-ffff000045311000.stats=clear&lt;br/&gt;
mdc.lustre-MDT0002-mdc-ffff000045311000.stats=clear&lt;br/&gt;
mdc.lustre-MDT0003-mdc-ffff000045311000.stats=clear&lt;br/&gt;
10001&lt;/p&gt;

&lt;p&gt;real 0m24.957s&lt;br/&gt;
user 0m0.300s&lt;br/&gt;
sys 0m12.101s&lt;br/&gt;
llite.lustre-ffff000045311000.statahead_batch_max=32&lt;br/&gt;
llite.lustre-ffff000045311000.statahead_stats=clear&lt;br/&gt;
mdc.lustre-MDT0000-mdc-ffff000045311000.batch_stats=clear&lt;br/&gt;
mdc.lustre-MDT0001-mdc-ffff000045311000.batch_stats=clear&lt;br/&gt;
mdc.lustre-MDT0002-mdc-ffff000045311000.batch_stats=clear&lt;br/&gt;
mdc.lustre-MDT0003-mdc-ffff000045311000.batch_stats=clear&lt;br/&gt;
mdc.lustre-MDT0000-mdc-ffff000045311000.stats=clear&lt;br/&gt;
mdc.lustre-MDT0001-mdc-ffff000045311000.stats=clear&lt;br/&gt;
mdc.lustre-MDT0002-mdc-ffff000045311000.stats=clear&lt;br/&gt;
mdc.lustre-MDT0003-mdc-ffff000045311000.stats=clear&lt;br/&gt;
10001&lt;/p&gt;

&lt;p&gt;real 0m47.010s&lt;br/&gt;
user 0m0.283s&lt;br/&gt;
sys 0m14.385s&lt;br/&gt;
&lt;em&gt;&lt;b&gt;sanity test_123ad: @@@@@@ FAIL: batched statahead hit count (6940) is too low&lt;/b&gt;&lt;/em&gt; &lt;br/&gt;
Trace dump:&lt;br/&gt;
= /usr/lib64/lustre/tests/test-framework.sh:6674:error()&lt;br/&gt;
= /usr/lib64/lustre/tests/sanity.sh:14055:test_batch_statahead()&lt;br/&gt;
= /usr/lib64/lustre/tests/sanity.sh:14078:test_123ad()&lt;br/&gt;
= /usr/lib64/lustre/tests/test-framework.sh:7014:run_one()&lt;br/&gt;
= /usr/lib64/lustre/tests/test-framework.sh:7063:run_one_logged()&lt;br/&gt;
= /usr/lib64/lustre/tests/test-framework.sh:6900:run_test()&lt;br/&gt;
= /usr/lib64/lustre/tests/sanity.sh:14081:main()&lt;br/&gt;
&#160;&lt;/p&gt;</comment>
                            <comment id="385093" author="gerrit" created="Thu, 7 Sep 2023 08:40:11 +0000"  >&lt;p&gt;&quot;Qian Yingjin &amp;lt;qian@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/52302&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/52302&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16762&quot; title=&quot;sanity 123ad fails on a local setup&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16762&quot;&gt;&lt;del&gt;LU-16762&lt;/del&gt;&lt;/a&gt; statahead: wait until statahead thread quit&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 0ab5cc9b1f04d3c89167a1760e0eb88f58cd025c&lt;/p&gt;</comment>
                            <comment id="397534" author="gerrit" created="Wed, 20 Dec 2023 01:55:44 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/52302/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/52302/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16762&quot; title=&quot;sanity 123ad fails on a local setup&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16762&quot;&gt;&lt;del&gt;LU-16762&lt;/del&gt;&lt;/a&gt; statahead: wait until statahead thread quit&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 76eddbeeace4684507650652ce4fa343c2d14e1a&lt;/p&gt;</comment>
                            <comment id="397564" author="pjones" created="Wed, 20 Dec 2023 02:35:35 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                    </comments>
                    <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|i03jjr:</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>