<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:37:17 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-3831] ll_readdir() ignores O_NOATIME</title>
                <link>https://jira.whamcloud.com/browse/LU-3831</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;ll_readdir calls touch_atime() which is wrong because it ignores&lt;br/&gt;
whether O_NOATIME is set in f_flags. On RHEL 6, this is moreover unnecessary as vfs_readdir() calls file_accessed() (which does check for O_NOATIME) after invoking f_op-&amp;gt;readdir().&lt;/p&gt;</description>
                <environment></environment>
        <key id="20594">LU-3831</key>
            <summary>ll_readdir() ignores O_NOATIME</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="jhammond">John Hammond</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>llite</label>
                            <label>patch</label>
                    </labels>
                <created>Fri, 23 Aug 2013 15:30:59 +0000</created>
                <updated>Mon, 6 Apr 2015 07:59:43 +0000</updated>
                            <resolved>Sun, 9 Mar 2014 01:38:17 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="64963" author="adilger" created="Fri, 23 Aug 2013 16:37:00 +0000"  >&lt;p&gt;There is likely a historical reason for this (i.e. it wasn&apos;t done in some 2.4.9 kernel), but was moved into the VFS and nobody noticed.  Sounds like this call can just be deleted.&lt;/p&gt;

&lt;p&gt;It is also worthwhile to check if the MDS code handles &quot;-o noatime&quot; or &quot;-o relatime&quot; properly or not.  It might be that the MDS writes the atime sent from the client even if it is mounted with &quot;-o noatime&quot;.&lt;/p&gt;</comment>
                            <comment id="64965" author="jhammond" created="Fri, 23 Aug 2013 16:42:17 +0000"  >&lt;p&gt;O_NOATIME is broken in several places. I&apos;m preparing to report that issue but didn&apos;t want to forget this one. Will investigate &apos;-o noatime&apos; after this. Not sure about how it&apos;s handled on-disk but I feel confident that from the client POV it will appear to be broken.&lt;/p&gt;</comment>
                            <comment id="64993" author="jhammond" created="Fri, 23 Aug 2013 18:54:12 +0000"  >&lt;p&gt;Despite ll_readdir() ignoring O_NATIME, directory access timestamps are not updated from userspace&apos;s POV.&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;# mkdir /mnt/lustre/d0
# stat /mnt/lustre/d0
  File: `/mnt/lustre/d0&apos;
  Size: 4096      	Blocks: 8          IO Block: 4096   directory
Device: 2c54f966h/743766374d	Inode: 144115205255725058  Links: 2
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2013-08-23 13:51:06.000000000 -0500
Modify: 2013-08-23 13:51:06.000000000 -0500
Change: 2013-08-23 13:51:06.000000000 -0500
# /bin/ls /mnt/lustre/d0
# stat /mnt/lustre/d0
  File: `/mnt/lustre/d0&apos;
  Size: 4096      	Blocks: 8          IO Block: 4096   directory
Device: 2c54f966h/743766374d	Inode: 144115205255725058  Links: 2
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2013-08-23 13:51:06.000000000 -0500
Modify: 2013-08-23 13:51:06.000000000 -0500
Change: 2013-08-23 13:51:06.000000000 -0500
# date 
Fri Aug 23 13:52:10 CDT 2013
# /bin/ls /mnt/lustre/d0
# stat /mnt/lustre/d0
  File: `/mnt/lustre/d0&apos;
  Size: 4096      	Blocks: 8          IO Block: 4096   directory
Device: 2c54f966h/743766374d	Inode: 144115205255725058  Links: 2
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2013-08-23 13:51:06.000000000 -0500
Modify: 2013-08-23 13:51:06.000000000 -0500
Change: 2013-08-23 13:51:06.000000000 -0500
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="74084" author="spimpale" created="Thu, 26 Dec 2013 10:45:34 +0000"  >&lt;p&gt;Patch: &lt;a href=&quot;http://review.whamcloud.com/#/c/8664/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8664/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I used the recently added file_is_noatime() to honor O_NOATIME before calling touch_atime in ll_readdir()&lt;/p&gt;</comment>
                            <comment id="78824" author="jhammond" created="Sun, 9 Mar 2014 01:38:17 +0000"  >&lt;p&gt;Patch landed to master. Thanks Swapnil.&lt;/p&gt;</comment>
                            <comment id="106246" author="gerrit" created="Mon, 9 Feb 2015 10:45:09 +0000"  >&lt;p&gt;Faccini Bruno (bruno.faccini@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/13687&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13687&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3831&quot; title=&quot;ll_readdir() ignores O_NOATIME&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3831&quot;&gt;&lt;del&gt;LU-3831&lt;/del&gt;&lt;/a&gt; llite: Remove touch_atime() call in ll_readdir()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_5&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: e6105f668ec9135f1c888399329f4d8fd5b68cde&lt;/p&gt;</comment>
                            <comment id="106247" author="bfaccini" created="Mon, 9 Feb 2015 10:50:40 +0000"  >&lt;p&gt;b2_5 patch version/back-port is at &lt;a href=&quot;http://review.whamcloud.com/13687/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13687/&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="18797">LU-3315</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="23164">LU-4632</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|hzvz3z:</customfieldvalue>

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