<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:16:12 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-8284] i_size updates from BRW writes are not atomic</title>
                <link>https://jira.whamcloud.com/browse/LU-8284</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;There is a race window in osd_write_commit() between i_size_read() check and i_size_write(). A test case showing the issue and a fix will be uploaded shortly.&lt;/p&gt;</description>
                <environment></environment>
        <key id="37607">LU-8284</key>
            <summary>i_size updates from BRW writes are not atomic</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="bobijam">Zhenyu Xu</assignee>
                                    <reporter username="panda">Andrew Perepechko</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Wed, 15 Jun 2016 17:52:13 +0000</created>
                <updated>Tue, 13 Sep 2016 20:11:24 +0000</updated>
                            <resolved>Tue, 13 Sep 2016 20:11:24 +0000</resolved>
                                    <version>Lustre 2.10.0</version>
                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="155818" author="gerrit" created="Wed, 15 Jun 2016 17:55:14 +0000"  >&lt;p&gt;Andrew Perepechko (andrew.perepechko@seagate.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/20815&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/20815&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8284&quot; title=&quot;i_size updates from BRW writes are not atomic&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8284&quot;&gt;&lt;del&gt;LU-8284&lt;/del&gt;&lt;/a&gt; tests: i_size updates from BRW writes are not atomic&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: a621d7a64378b1765c33e95b8cfc4dacb9afeec0&lt;/p&gt;</comment>
                            <comment id="155819" author="panda" created="Wed, 15 Jun 2016 17:57:51 +0000"  >&lt;p&gt;The test case cannot be properly integrated with the fix because it would require sleeping under spinlock or some other meaningless operation simply for the sake of having a test case.&lt;/p&gt;

&lt;p&gt;The test case is uploaded only for the purpose of showing there is an issue with the current code and it is not supposed to be landed.&lt;/p&gt;</comment>
                            <comment id="155820" author="gerrit" created="Wed, 15 Jun 2016 18:05:01 +0000"  >&lt;p&gt;Andrew Perepechko (andrew.perepechko@seagate.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/20816&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/20816&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8284&quot; title=&quot;i_size updates from BRW writes are not atomic&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8284&quot;&gt;&lt;del&gt;LU-8284&lt;/del&gt;&lt;/a&gt; osd-ldiskfs: i_size updates from BRW should be atomic&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: b4ae906fb5021736384b98c211882577a77bb665&lt;/p&gt;</comment>
                            <comment id="155822" author="panda" created="Wed, 15 Jun 2016 18:21:28 +0000"  >&lt;p&gt;That&apos;s how the issue is reproduced locally with the above test case:&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;[root@panda-testbox tests]# REFORMAT=yes ONLY=258 bash sanity.sh
Logging to shared log directory: /tmp/test_logs/1466023647
Client: Lustre version: 2.8.54_60_g2a55f34
MDS: Lustre version: 2.8.54_60_g2a55f34
OSS: Lustre version: 2.8.54_60_g2a55f34
Stopping clients: panda-testbox /mnt/lustre (opts:)
Stopping clients: panda-testbox /mnt/lustre2 (opts:)
Loading modules from /mnt/nfs/xyratex/lustre-release/lustre
detected 4 online CPUs by sysfs
Force libcfs to create 2 CPU partitions
debug=vfstrace rpctrace dlmtrace neterror ha config                   ioctl super lfsck
subsystem_debug=all -lnet -lnd -pinger
gss/krb5 is not supported
Formatting mgs, mds, osts
Format mds1: /dev/mapper/vg_livecd-mdt
Format ost1: /dev/mapper/vg_livecd-ost1
Format ost2: /dev/mapper/vg_livecd-ost2
Format ost3: /dev/mapper/vg_livecd-ost3
Checking servers environments
Checking clients panda-testbox environments
Loading modules from /mnt/nfs/xyratex/lustre-release/lustre
detected 4 online CPUs by sysfs
Force libcfs to create 2 CPU partitions
debug=vfstrace rpctrace dlmtrace neterror ha config                   ioctl super lfsck
subsystem_debug=all -lnet -lnd -pinger
gss/krb5 is not supported
Setup mgs, mdt, osts
Starting mds1:   /dev/mapper/vg_livecd-mdt /mnt/lustre-mds1
Started lustre-MDT0000
Starting ost1:   /dev/mapper/vg_livecd-ost1 /mnt/lustre-ost1
Started lustre-OST0000
Starting ost2:   /dev/mapper/vg_livecd-ost2 /mnt/lustre-ost2
Started lustre-OST0001
Starting ost3:   /dev/mapper/vg_livecd-ost3 /mnt/lustre-ost3
Started lustre-OST0002
Starting client: panda-testbox:  -o user_xattr,flock panda-testbox@tcp:/lustre /mnt/lustre
Starting client panda-testbox:  -o user_xattr,flock panda-testbox@tcp:/lustre /mnt/lustre
Started clients panda-testbox: 
panda-testbox@tcp:/lustre on /mnt/lustre type lustre (rw,user_xattr,flock)
Using TIMEOUT=20
seting jobstats to procname_uid
Setting lustre.sys.jobid_var from disable to procname_uid
warning: &apos;lctl conf_param&apos; is deprecated, use &apos;lctl set_param -P&apos; instead
Waiting 90 secs for update
Updated after 3s: wanted &apos;procname_uid&apos; got &apos;procname_uid&apos;
disable quota as required
osd-ldiskfs.track_declares_assert=1
running as uid/gid/euid/egid 500/500/500/500, groups:
 [touch] [/mnt/lustre/d0_runas_test/f10215]
excepting tests: 76 101g 42a 42b 42c 42d 45 68b
skipping tests SLOW=no: 24D 27m 64b 68 71 115 300o
preparing for tests involving mounts
mke2fs 1.42.13.wc4 (28-Nov-2015)

debug=-1
resend_count is set to 4 4 4
resend_count is set to 4 4 4
resend_count is set to 4 4 4
resend_count is set to 4 4 4
resend_count is set to 4 4 4


== sanity test 258: i_size updates from BRW should be atomic == 00:48:16 (1466023696)
2+0 records in
2+0 records out
2097152 bytes (2.1 MB) copied, 1.09159 s, 1.9 MB/s
fail_loc=0x80000237
2+0 records in
2+0 records out
2097152 bytes (2.1 MB) copied, 0.387469 s, 5.4 MB/s
cmp: EOF on /mnt/lustre/f258.sanity
 sanity test_258: @@@@@@ FAIL: files differ 
  Trace dump:
  = /mnt/nfs/xyratex/lustre-release/lustre/tests/test-framework.sh:4780:error()
  = sanity.sh:13995:test_258()
  = /mnt/nfs/xyratex/lustre-release/lustre/tests/test-framework.sh:5045:run_one()
  = /mnt/nfs/xyratex/lustre-release/lustre/tests/test-framework.sh:5084:run_one_logged()
  = /mnt/nfs/xyratex/lustre-release/lustre/tests/test-framework.sh:4882:run_test()
  = sanity.sh:14000:main()
Dumping lctl log to /tmp/test_logs/1466023647/sanity.test_258.*.1466023700.log
Dumping logs only on local client.
Resetting fail_loc on all nodes...done.
FAIL 258 (6s)
== sanity test complete, duration 55 sec == 00:48:22 (1466023702)
sanity: FAIL: test_258 files differ
Stopping clients: panda-testbox /mnt/lustre (opts:-f)
Stopping client panda-testbox /mnt/lustre opts:-f
Stopping clients: panda-testbox /mnt/lustre2 (opts:-f)
Stopping /mnt/lustre-mds1 (opts:-f) on panda-testbox
Stopping /mnt/lustre-ost1 (opts:-f) on panda-testbox
Stopping /mnt/lustre-ost2 (opts:-f) on panda-testbox
Stopping /mnt/lustre-ost3 (opts:-f) on panda-testbox
waited 0 for 10 ST ost OSS OSS_uuid 0
modules unloaded.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="158413" author="gerrit" created="Mon, 11 Jul 2016 23:53:39 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/20816/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/20816/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8284&quot; title=&quot;i_size updates from BRW writes are not atomic&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8284&quot;&gt;&lt;del&gt;LU-8284&lt;/del&gt;&lt;/a&gt; osd-ldiskfs: i_size updates from BRW should be atomic&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 98f2f46d51a4d4bdb12df2cf7b4f2b2c4fbbd735&lt;/p&gt;</comment>
                            <comment id="158672" author="jgmitter" created="Wed, 13 Jul 2016 18:36:39 +0000"  >&lt;p&gt;Patch landed to master for 2.9.0&lt;/p&gt;</comment>
                            <comment id="163006" author="gerrit" created="Wed, 24 Aug 2016 15:36:00 +0000"  >&lt;p&gt;Bobi Jam (bobijam@hotmail.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/22103&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/22103&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8284&quot; title=&quot;i_size updates from BRW writes are not atomic&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8284&quot;&gt;&lt;del&gt;LU-8284&lt;/del&gt;&lt;/a&gt; osd-ldisksf: need lock around i_size update&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 9ba5338b93333476623054dfde0bc824f8325297&lt;/p&gt;</comment>
                            <comment id="165915" author="gerrit" created="Tue, 13 Sep 2016 20:02:37 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/22103/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/22103/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8284&quot; title=&quot;i_size updates from BRW writes are not atomic&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8284&quot;&gt;&lt;del&gt;LU-8284&lt;/del&gt;&lt;/a&gt; osd-ldisksf: need lock around i_size update&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: b172cd5bc80d2560056794cd640a95303ad42405&lt;/p&gt;</comment>
                            <comment id="165928" author="pjones" created="Tue, 13 Sep 2016 20:11:24 +0000"  >&lt;p&gt;Landed for 2.9&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </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|hzyerb:</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>