<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:40:35 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-4201] Test failure sanityn test_51b: file size is 4096, should be 1024</title>
                <link>https://jira.whamcloud.com/browse/LU-4201</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for Nathaniel Clark &amp;lt;nathaniel.l.clark@intel.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;http://maloo.whamcloud.com/test_sets/dbf3795a-4447-11e3-9bd9-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://maloo.whamcloud.com/test_sets/dbf3795a-4447-11e3-9bd9-52540035b04c&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The sub-test test_51b failed with the following error:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;== sanityn test 51b: layout lock: glimpse should be able to restart if layout changed == 12:45:37 (1383421537)&lt;br/&gt;
file size is 4096, should be 1024&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Info required for matching: sanityn 51b&lt;/p&gt;</description>
                <environment></environment>
        <key id="21828">LU-4201</key>
            <summary>Test failure sanityn test_51b: file size is 4096, should be 1024</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="utopiabound">Nathaniel Clark</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                            <label>zfs</label>
                    </labels>
                <created>Mon, 4 Nov 2013 14:32:15 +0000</created>
                <updated>Mon, 3 Mar 2014 14:16:28 +0000</updated>
                            <resolved>Tue, 17 Dec 2013 15:35:14 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="72434" author="adilger" created="Wed, 27 Nov 2013 20:17:22 +0000"  >&lt;p&gt;Looks like some kind of i_size/glimpse corruption if it is returning 4096 for the size?&lt;/p&gt;</comment>
                            <comment id="72851" author="utopiabound" created="Wed, 4 Dec 2013 20:51:03 +0000"  >&lt;p&gt;client debug_log:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;00000080:00200000:0.0:1386141829.191212:0:30848:0:(file.c:1042:ll_merge_lvb()) [0x200002b10:0xa4:0x0] updating i_size 0
00000020:00010000:0.0:1386141829.191216:0:30848:0:(cl_lock.c:151:cl_lock_trace0()) wait lock: ffff88007d3353d8@(2 ffff880037908080 1 3 0 1 1 0)(ffff88007d1ba1e8/0/1) at cl_wait():1541
00000080:00200000:0.0:1386141829.191225:0:30848:0:(vvp_io.c:817:vvp_io_write_start()) write: [0, 1024)
00000080:00200000:0.0:1386141829.191230:0:30848:0:(xattr.c:452:ll_getxattr()) VFS Op:inode=[0x200002b10:0xa4:0x0](ffff88006be951b8), xattr security.capability
00000080:00200000:0.0:1386141829.191234:0:30848:0:(xattr.c:293:ll_getxattr_common()) VFS Op:inode=[0x200002b10:0xa4:0x0](ffff88006be951b8)
00000080:00200000:0.0:1386141829.191242:0:30848:0:(rw26.c:563:ll_write_begin()) Writing 0 of 0 to 1024 bytes
00000080:00200000:0.0:1386141829.191279:0:30848:0:(rw26.c:686:ll_write_end()) page@ffff88007014a400[3 ffff88006ce7ad78:0 ^(null)_ffff88007015ba00 1 0 1 ffff88006ec02088 (null) 0x0]
00000080:00200000:0.0:1386141829.191283:0:30848:0:(rw26.c:686:ll_write_end()) page@ffff88007015ba00[1 ffff88006f3eadc0:0 ^ffff88007014a400_(null) 1 0 1 ffff88007a03f0b0 (null) 0x0]
00000080:00200000:0.0:1386141829.191288:0:30848:0:(rw26.c:686:ll_write_end()) vvp-page@ffff88007014a4b0(0:0:0) vm@ffffea00017c1d30 2000000000080d 3:0 ffff88007014a400 0 lru
00000080:00200000:0.0:1386141829.191290:0:30848:0:(rw26.c:686:ll_write_end()) lov-page@ffff88007014a500
00000080:00200000:0.0:1386141829.191299:0:30848:0:(rw26.c:686:ll_write_end()) osc-page@ffff88007015bad8: 1&amp;lt; 0x845fed 0 0 - - &amp;gt; 2&amp;lt; 0 0 0 0x0 0x100 | (null) ffff88007ba9f618 ffff88007be00658 &amp;gt; 3&amp;lt; - (null) 0 0 0 &amp;gt; 4&amp;lt; 0 0 8 0 - | - - - - &amp;gt; 5&amp;lt; - - - - | 0 - | 0 - -&amp;gt;
00000080:00200000:0.0:1386141829.191301:0:30848:0:(rw26.c:686:ll_write_end()) end page@ffff88007014a400
00000080:00200000:0.0:1386141829.191302:0:30848:0:(rw26.c:686:ll_write_end()) queued page: 1.
00000080:00200000:0.0:1386141829.191305:0:30848:0:(vvp_io.c:727:vvp_io_write_commit()) commit async pages: 1, from 0, to 1024
...
00000080:00200000:0.0:1386141829.682137:0:30848:0:(file.c:1042:ll_merge_lvb()) [0x200002b10:0xa4:0x0] updating i_size 4096
00000080:00200000:0.0:1386141829.682141:0:30848:0:(vvp_io.c:831:vvp_io_write_start()) write: nob 1024, result: 1024
...
00000100:00100000:1.0:1386141830.186238:0:3477:0:(service.c:1925:ptlrpc_server_handle_req_in()) got req x1453467811029384
00000100:00080000:1.0:1386141830.186244:0:3477:0:(service.c:1084:ptlrpc_update_export_timer()) updating export LOV_OSC_UUID at 1386141830 exp ffff88006e627000
00000100:00100000:1.0:1386141830.186259:0:3477:0:(nrs_fifo.c:182:nrs_fifo_req_get()) NRS start fifo request from 12345-10.10.17.196@tcp, seq: 2104
00000100:00100000:1.0:1386141830.186264:0:3477:0:(service.c:2068:ptlrpc_server_handle_request()) Handling RPC pname:cluuid+ref:pid:xid:nid:opc ldlm_cb01_000:LOV_OSC_UUID+4:31958:x1453467811029384:12345-10.10.17.196@tcp:106
00010000:00010000:1.0:1386141830.186273:0:3477:0:(ldlm_lockd.c:1841:ldlm_handle_gl_callback()) ### client glimpse AST callback handler ns: lustre-OST0000-osc-ffff88003767c800 lock: ffff88007d515500/0x9dfdb35531fe83b6 lrc: 3/0,0 mode: PW/PW res: [0x581f:0x0:0x0].0 rrc: 1 type: EXT [0-&amp;gt;18446744073709551615] (req 0-&amp;gt;4095) flags: 0x20000000000 nid: local remote: 0xa186550ff6a5c654 expref: -99 pid: 30848 timeout: 0 lvb_type: 1
00000020:00010000:1.0:1386141830.186297:0:3477:0:(cl_object.c:298:cl_object_glimpse()) header@ffff88006ce7acf8[0x0, 3, [0x200002b10:0xa4:0x0] hash]
00000020:00010000:1.0:1386141830.186299:0:3477:0:(cl_object.c:298:cl_object_glimpse()) size: 4096 mtime: 1386141828 atime: 1386141828 ctime: 1386141828 blocks: 1
00000020:00010000:1.0:1386141830.186303:0:3477:0:(cl_object.c:298:cl_object_glimpse()) header@ffff88006f3ead40[0x0, 3, [0x100000000:0x581f:0x0] hash]
00000020:00010000:1.0:1386141830.186305:0:3477:0:(cl_object.c:298:cl_object_glimpse()) size: 4096 mtime: 1386141828 atime: 1386141828 ctime: 1386141828 blocks: 1
00000100:00100000:1.0:1386141830.186330:0:3477:0:(service.c:2119:ptlrpc_server_handle_request()) Handled RPC pname:cluuid+ref:pid:xid:nid:opc ldlm_cb01_000:LOV_OSC_UUID+4:31958:x1453467811029384:12345-10.10.17.196@tcp:106 Request procesed in 66us (118us total) trans 0 rc 0/0
00000100:00100000:1.0:1386141830.186336:0:3477:0:(nrs_fifo.c:244:nrs_fifo_req_stop()) NRS stop fifo request from 12345-10.10.17.196@tcp, seq: 2104
...
00000080:00200000:0.0:1386141830.187693:0:30845:0:(file.c:1042:ll_merge_lvb()) [0x200002b10:0xa4:0x0] updating i_size 4096
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="72986" author="utopiabound" created="Fri, 6 Dec 2013 15:56:16 +0000"  >&lt;p&gt;I believe this bas been fixed by &lt;a href=&quot;http://review.whamcloud.com/7893&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7893&lt;/a&gt; (&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3321&quot; title=&quot;2.x single thread/process throughput degraded from 1.8&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3321&quot;&gt;&lt;del&gt;LU-3321&lt;/del&gt;&lt;/a&gt;) by Jinshan&lt;/p&gt;</comment>
                            <comment id="73121" author="adilger" created="Mon, 9 Dec 2013 19:47:59 +0000"  >&lt;p&gt;It looks like this bug is not fixed by the &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3321&quot; title=&quot;2.x single thread/process throughput degraded from 1.8&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3321&quot;&gt;&lt;del&gt;LU-3321&lt;/del&gt;&lt;/a&gt; patch, since there are still failures seen with that patch applied:&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/82292a72-6103-11e3-9f9b-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/82292a72-6103-11e3-9f9b-52540035b04c&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The test run for &lt;a href=&quot;http://review.whamcloud.com/#/c/8507/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8507/1&lt;/a&gt; is based on &lt;a href=&quot;http://review.whamcloud.com/#/c/7383/33&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7383/33&lt;/a&gt;, which is based on &quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4283&quot; title=&quot;auster run with the &amp;quot;-s&amp;quot; flag does not run SLOW tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4283&quot;&gt;&lt;del&gt;LU-4283&lt;/del&gt;&lt;/a&gt; test: auster &quot;-s&quot; flag does not run SLOW tests&quot; (&lt;a href=&quot;http://review.whamcloud.com/8351&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/8351&lt;/a&gt; commit v2_5_52_0-14-gb0f4543), but the 7893 patch was landed back on 2013-12-02 as commit v2_5_51_0-97-g4fcbd1a.&lt;/p&gt;


&lt;p&gt;Indeed, there are many sanityn test failures since 2013-12-02 even though one would expect that newly-submitted patches have been rebased to include this fix by now.&lt;/p&gt;</comment>
                            <comment id="73122" author="adilger" created="Mon, 9 Dec 2013 19:52:01 +0000"  >&lt;p&gt;Has any attempt been made to root cause this problem, by looking at when the bug first appeared, and then trying to isolate it to a patch that introduced this regression?  In some cases, this might be a much more efficient method of figuring out the source of the problem than trying to debug the defect from first principles.&lt;/p&gt;</comment>
                            <comment id="73136" author="utopiabound" created="Mon, 9 Dec 2013 21:57:34 +0000"  >&lt;p&gt;The earliest occurrence of this failure is actually on the above mentioned patch (&lt;a href=&quot;http://review.whamcloud.com/7893&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7893&lt;/a&gt;) on 2013-11-02, but it doesn&apos;t land until 2013-12-02.  There are several failures in early Nov, but they all seem to be version 7893 or patches that were dependent on it. and then failures start in earnest after it lands.  I was looking at the older version of the code and saw that 7893 updated where the bug should be, and made a mistake.&lt;/p&gt;</comment>
                            <comment id="73141" author="adilger" created="Mon, 9 Dec 2013 22:10:07 +0000"  >&lt;p&gt;Jinshan, it appears patch &lt;a href=&quot;http://review.whamcloud.com/7893&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7893&lt;/a&gt; introduced a regression in the ZFS testing.  My first guess is that this has nothing to do with ZFS, and is just a race condition that is larger because the ZFS IO performance is slower than ldiskfs.  At least I can&apos;t understand how a client-side change would introduce a bug in the ZFS code, unless it is handling the DLM/glimpse locking differently?&lt;/p&gt;

&lt;p&gt;Nathaniel, in the debug logs shown above, is the &quot;updating i_size 4096&quot; a result of a glimpse/DLM lock returned from the OST?  It is &lt;em&gt;possible&lt;/em&gt; that the osd-zfs code is not saving i_size to disk properly and/or replying to the glimpse lock incorrectly.&lt;/p&gt;</comment>
                            <comment id="73171" author="jay" created="Tue, 10 Dec 2013 03:53:58 +0000"  >&lt;p&gt;This should be the same problem as &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4358&quot; title=&quot;conf-sanity test_32c: sha1sum verification failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4358&quot;&gt;&lt;del&gt;LU-4358&lt;/del&gt;&lt;/a&gt;. I will take a look.&lt;/p&gt;</comment>
                            <comment id="73208" author="jay" created="Tue, 10 Dec 2013 17:31:43 +0000"  >&lt;p&gt;patch is at: &lt;a href=&quot;http://review.whamcloud.com/8531&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/8531&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="73680" author="utopiabound" created="Tue, 17 Dec 2013 15:35:14 +0000"  >&lt;p&gt;Patch landed to master&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="22376">LU-4358</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="18906">LU-3321</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22376">LU-4358</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|hzw7v3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>11420</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>