<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:34:01 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-3451] Editor closes file very slow because of fsync()</title>
                <link>https://jira.whamcloud.com/browse/LU-3451</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When edit a file by emacs or vim and save it, it takes a couple of seconds to close it. This problen is not limited to a specific file, client or OST, and can be reproduced easily at any file or any client. It occurs with root user. There is no error recorded on MDS/OSS/client syslog for it.&lt;/p&gt;

&lt;p&gt;We traced the process and got Lustre log. According to the strace, it takes seconds while fsync(). And according to Lustre log of client, mdc_sync() waits for seconds until it recieves the reply. But the log on Lustre MDS does not contain any message about mds_sync().&lt;/p&gt;

&lt;p&gt;We do not find any problem of other metadata operations like file creation or direcotry creation. The simple test &apos;fsync.c&apos; opens, writes to and then fsync a file but it can not reproduce the problem.&lt;/p&gt;</description>
                <environment>Kernel: 2.6.32-220.el6.x86_64&lt;br/&gt;
Lustre: 1.8.8</environment>
        <key id="19364">LU-3451</key>
            <summary>Editor closes file very slow because of fsync()</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="6">Not a Bug</resolution>
                                        <assignee username="pjones">Peter Jones</assignee>
                                    <reporter username="lixi">Li Xi</reporter>
                        <labels>
                            <label>ldiskfs</label>
                    </labels>
                <created>Tue, 11 Jun 2013 11:35:07 +0000</created>
                <updated>Wed, 7 Aug 2013 04:14:36 +0000</updated>
                            <resolved>Wed, 7 Aug 2013 04:14:36 +0000</resolved>
                                    <version>Lustre 1.8.8</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="60342" author="lixi" created="Tue, 11 Jun 2013 13:29:23 +0000"  >&lt;p&gt;Here are the logs:&lt;br/&gt;
&lt;a href=&quot;ftp://ftp.whamcloud.com/uploads/LU-3451/MMBK_log_20130605.tar.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;ftp://ftp.whamcloud.com/uploads/LU-3451/MMBK_log_20130605.tar.gz&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;ftp://ftp.whamcloud.com/uploads/LU-3451/lustre_debug_mds_cl.tar1.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;ftp://ftp.whamcloud.com/uploads/LU-3451/lustre_debug_mds_cl.tar1.gz&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="60407" author="pjones" created="Wed, 12 Jun 2013 00:18:41 +0000"  >&lt;p&gt;Thanks for your submission Li Xi.&lt;/p&gt;</comment>
                            <comment id="60412" author="lixi" created="Wed, 12 Jun 2013 01:15:01 +0000"  >&lt;p&gt;Thank you Peter. I would be grateful for any help.&lt;/p&gt;</comment>
                            <comment id="60758" author="adilger" created="Mon, 17 Jun 2013 15:27:11 +0000"  >&lt;p&gt;Is it slow on every close, or just occasionally?&lt;/p&gt;

&lt;p&gt;I think occasional slow closes are caused by close on the MDT changing the atime, but getting stuck in the journal transaction commit.  There is an old Bugzilla bug for this problem also, but I&apos;m not able to find it (possibly because it is not public?).&lt;/p&gt;</comment>
                            <comment id="60843" author="lixi" created="Wed, 19 Jun 2013 04:28:57 +0000"  >&lt;p&gt;Hi Andreas,&lt;/p&gt;

&lt;p&gt;It is slow accasionally, but very frequently. And we found that there are a lot of open/close operations on the system. Is it the cause of the problem?&lt;/p&gt;

&lt;p&gt;Do you know which direction I should do more research? Or is it too complex to fix it promptly?&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;</comment>
                            <comment id="63749" author="ihara" created="Wed, 7 Aug 2013 03:41:48 +0000"  >&lt;p&gt;After we collected metadata stats, this performance problem was caused by too many metadata operation with some applications. We found that applications that was doing such metadata operation and stop the job, the system was going to be back normal. So, please close ticket now.&lt;/p&gt;</comment>
                            <comment id="63750" author="pjones" created="Wed, 7 Aug 2013 04:14:36 +0000"  >&lt;p&gt;ok - thanks Ihara&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13032" name="fsync.c" size="919" author="lixi" created="Tue, 11 Jun 2013 11:35:07 +0000"/>
                    </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|hzvt13:</customfieldvalue>

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