<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:06:26 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-379] POSIX: read.13 and readdir.6: time stamps incorrect: atime was not updated</title>
                <link>https://jira.whamcloud.com/browse/LU-379</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Here is the result of running the &lt;a href=&quot;http://www.opengroup.org/infosrv/lsb/ogdeliverables/LSB-VSX2.0-1/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;LSB-VSX POSIX test suite&lt;/a&gt; (lts_vsx-pcts2.0beta2.tgz):&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/f610526e-8b52-11e0-aab9-52540025f9af&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/f610526e-8b52-11e0-aab9-52540025f9af&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The baseline is ext4.&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;
####################################################
Test Name: read.13 Failed

	Test Description:
The access time field st_atime is marked for update on a call to
read().
Posix Ref: Component READ Assertion 6.4.1.2-19(A)

	Test Strategy:
OPEN existing file containing 36 bytes of known data
SAVE timestamps using savtimes() - (genlib)
VERIFY read(fd, buf, 36) returns 36
VERIFY that st_atime has been updated using chktimes() - (genlib)
REPEAT for FIFO and pipe:
  WRITE 36 bytes to FIFO/pipe
  SAVE timestamps using savtimes()/fsavtimes() - (genlib)
  VERIFY read(fd, buf, 36) returns 36
  VERIFY that st_atime has been updated using chktimes()/fchktimes() -
  (genlib)

	Test Information:
time stamps incorrect: atime was not updated

####################################################
Test Name: readdir.6 Failed

	Test Description:
A call to readdir() will mark for update the st_atime time-related
field of the directory each time the directory is actually read.
Posix Ref: Component READDIR Assertion 5.1.2.2-09(A)

	Test Strategy:
OBTAIN the system value associated with pathconf() with _PC_NAME_MAX
and current directory
VERIFY that pathconf() returned successfully and errno was not set
IF the maximum number of characters in a file name (from pathconf())
is greater than _POSIX_NAME_MAX then:
  CREATE an element in the entry table with a name which is of this
  length
FOR all elements in the entry table except those for &quot;.&quot; and &quot;..&quot;
  CREATE file using crfile() - (genlib)
  SAVE the inode for the file in the entry table
SAVE times stamps using savtimes() - (genlib)
OPEN current directory using opendir()
READ directory using readdir()
VERIFY that readdir() returned successfully
VERIFY that st_atime has been updated using chktimes() - (genlib)
CLOSE directory using closedir()
UNLINK all elements in the entry table except those for &quot;.&quot; and &quot;..&quot;
using unlink()

	Test Information:
time stamps incorrect: atime was not updated

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>&lt;br/&gt;
Lustre Branch: b1_8&lt;br/&gt;
Lustre Build: &lt;a href=&quot;http://newbuild.whamcloud.com/job/lustre-b1_8/61/&quot;&gt;http://newbuild.whamcloud.com/job/lustre-b1_8/61/&lt;/a&gt;&lt;br/&gt;
Distro/Arch: CentOS5.6/x86_64(OFED 1.5.3, ext4)&lt;br/&gt;
</environment>
        <key id="11078">LU-379</key>
            <summary>POSIX: read.13 and readdir.6: time stamps incorrect: atime was not updated</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="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="malkolm">Malcolm Cowe</assignee>
                                    <reporter username="yujian">Jian Yu</reporter>
                        <labels>
                    </labels>
                <created>Tue, 31 May 2011 03:16:33 +0000</created>
                <updated>Tue, 16 Aug 2016 16:28:55 +0000</updated>
                            <resolved>Tue, 16 Aug 2016 16:28:55 +0000</resolved>
                                    <version>Lustre 2.0.0</version>
                    <version>Lustre 1.8.6</version>
                                    <fixVersion>Lustre 2.1.0</fixVersion>
                    <fixVersion>Lustre 1.8.7</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="16524" author="yujian" created="Fri, 17 Jun 2011 07:06:23 +0000"  >&lt;p&gt;Lustre Branch: v1_8_6_RC2&lt;br/&gt;
Lustre Build: &lt;a href=&quot;http://newbuild.whamcloud.com/job/lustre-b1_8/80/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://newbuild.whamcloud.com/job/lustre-b1_8/80/&lt;/a&gt;&lt;br/&gt;
e2fsprogs Build: &lt;a href=&quot;http://newbuild.whamcloud.com/job/e2fsprogs-master/40/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://newbuild.whamcloud.com/job/e2fsprogs-master/40/&lt;/a&gt;&lt;br/&gt;
Distro/Arch: RHEL5/x86_64(OFED 1.5.3.1, kernel version: 2.6.18-238.12.1.el5_lustre)&lt;/p&gt;

&lt;p&gt;POSIX compliance testing report: &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/2cd4d244-98d1-11e0-9a27-52540025f9af&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/2cd4d244-98d1-11e0-9a27-52540025f9af&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The baseline is ext4.&lt;/p&gt;</comment>
                            <comment id="17954" author="yujian" created="Mon, 18 Jul 2011 09:04:30 +0000"  >&lt;p&gt;Lustre Tag: v2_0_65_0&lt;br/&gt;
Lustre Build: &lt;a href=&quot;http://newbuild.whamcloud.com/job/lustre-master/204/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://newbuild.whamcloud.com/job/lustre-master/204/&lt;/a&gt;&lt;br/&gt;
e2fsprogs Build: &lt;a href=&quot;http://newbuild.whamcloud.com/job/e2fsprogs-master/42/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://newbuild.whamcloud.com/job/e2fsprogs-master/42/&lt;/a&gt;&lt;br/&gt;
Distro/Arch: RHEL5/x86_64(OFED 1.5.3.1, kernel version: 2.6.18-238.12.1.el5)&lt;/p&gt;

&lt;p&gt;POSIX compliance testing report: &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/e4ede34c-b13c-11e0-b33f-52540025f9af&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/e4ede34c-b13c-11e0-b33f-52540025f9af&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The baseline is ext4.&lt;/p&gt;</comment>
                            <comment id="42727" author="yong.fan" created="Mon, 6 Aug 2012 09:41:49 +0000"  >&lt;p&gt;Lustre is non-POSIX for atime update. Consider performance, Lustre does not update file atime for each read() against the file. There is a parameter on MDS, called &quot;atime_diff&quot;, to be used to control the behavior of atime changing. Only when the new &quot;atime&quot; is larger than the old &quot;atime&quot; over &quot;atime_diff&quot;, then the atime can be changed.&lt;/p&gt;

&lt;p&gt;So POSIX read.13 and readdir.6 are meaningless for Lustre.&lt;/p&gt;</comment>
                            <comment id="42728" author="yujian" created="Mon, 6 Aug 2012 09:54:08 +0000"  >&lt;blockquote&gt;&lt;p&gt;So POSIX read.13 and readdir.6 are meaningless for Lustre.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Then let&apos;s remove them from the Lustre-specific scenario file myscen.exec for the LSB-VSX POSIX test suite.&lt;/p&gt;</comment>
                            <comment id="42738" author="adilger" created="Mon, 6 Aug 2012 12:30:34 +0000"  >&lt;p&gt;To comment on this bug - the client should update the atime locally for every read() call.  It normally only saves the atime on disk at the MDS at close time, and only if the atime is more than 60s newer than the atime on disk at the MDS.  However, the POSIX test running on the client should not be able to detect this, since it should normally be getting the atime from the client cache.&lt;/p&gt;</comment>
                            <comment id="42805" author="yujian" created="Tue, 7 Aug 2012 08:35:41 +0000"  >&lt;p&gt;After removing readdir.6 and read.13 tests from the Lustre-specific scenario file myscen.exec for the LSB-VSX POSIX test suite, POSIX compliance testing passed on T.readdir and T.read test sets (baseline is ext4):&lt;/p&gt;

&lt;p&gt;Lustre branch: master&lt;br/&gt;
Lustre build: &lt;a href=&quot;http://build.whamcloud.com/job/lustre-master/766/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://build.whamcloud.com/job/lustre-master/766/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/3df07240-e088-11e1-a388-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/3df07240-e088-11e1-a388-52540035b04c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="162031" author="simmonsja" created="Tue, 16 Aug 2016 16:28:55 +0000"  >&lt;p&gt;Old blocker for unsupported version&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                    <customfield id="customfield_10020" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Bugzilla ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>23291.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <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|hzvr9z:</customfieldvalue>

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