<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:40:02 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-4140] Volatile files have CREATE changelog record but nothing to tell it is removed.</title>
                <link>https://jira.whamcloud.com/browse/LU-4140</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When volatile files are created, a CREATE changelog record is emitted. But no record says that file was also immediately unlinked.&lt;/p&gt;

&lt;p&gt;Either we need a UNLINK record for that FID, or a special flag in CLOSE record.&lt;/p&gt;

&lt;p&gt;By the way, I do not think lustre_rsync is handling volatile files, but more especially it should handled LAYOUT records rather than volatile files.&lt;/p&gt;</description>
                <environment></environment>
        <key id="21620">LU-4140</key>
            <summary>Volatile files have CREATE changelog record but nothing to tell it is removed.</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="bfaccini">Bruno Faccini</assignee>
                                    <reporter username="adegremont">Aurelien Degremont</reporter>
                        <labels>
                            <label>HSM</label>
                    </labels>
                <created>Thu, 24 Oct 2013 13:56:19 +0000</created>
                <updated>Thu, 19 Feb 2015 23:25:12 +0000</updated>
                            <resolved>Thu, 5 Jun 2014 15:34:41 +0000</resolved>
                                    <version>Lustre 2.4.2</version>
                    <version>Lustre 2.5.1</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                    <fixVersion>Lustre 2.5.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>12</watches>
                                                                            <comments>
                            <comment id="69790" author="jlevi" created="Thu, 24 Oct 2013 16:49:16 +0000"  >&lt;p&gt;Bruno,&lt;br/&gt;
Could you have a look and comment on this one?&lt;br/&gt;
Thank you!&lt;/p&gt;</comment>
                            <comment id="69795" author="green" created="Thu, 24 Oct 2013 16:50:41 +0000"  >&lt;p&gt;I am of the opinion that the CREATE record should not be added for volatile files at all because those files are not supposed to have any names at all, they are by definition invisible in the namespace (or should be).&lt;/p&gt;

&lt;p&gt;As such we should just fix the bug of adding the create record&lt;/p&gt;</comment>
                            <comment id="69813" author="jay" created="Thu, 24 Oct 2013 17:17:04 +0000"  >&lt;p&gt;Indeed, let&apos;s not add CREATE changelog for volatile files.&lt;/p&gt;</comment>
                            <comment id="69815" author="bfaccini" created="Thu, 24 Oct 2013 17:21:51 +0000"  >&lt;p&gt;Ok! Will do.&lt;/p&gt;</comment>
                            <comment id="69984" author="adegremont" created="Sun, 27 Oct 2013 12:48:14 +0000"  >&lt;p&gt;Please note that all other Changelog record are also raised when dealing with a volatile file. If you do SETATTR or change HSM flags, etc... this will raise also records for the volatile FID. If we just remove CREATE record, there will be other records for a FID that has never been created, from a CL point of view&lt;/p&gt;</comment>
                            <comment id="70621" author="bfaccini" created="Mon, 4 Nov 2013 16:07:37 +0000"  >&lt;p&gt;Sorry I am late on this, but if I fully understand, we just want to avoid any ChangeLog record for volatile files ??&#8230;&lt;/p&gt;</comment>
                            <comment id="70696" author="jcl" created="Tue, 5 Nov 2013 06:19:00 +0000"  >&lt;p&gt;After a volatile is created, many action like layout swap, or access by FID will involve the volatile FID. So removing all the CL will be difficult. IMO we have to keep the CREATE event, with a Volatile flag or followed by an unlink event. The issue with the second is that the unlink is fake, in particular the directory mtime will not change. So an unlink event with a volatile flag ?&lt;/p&gt;</comment>
                            <comment id="76837" author="bfaccini" created="Wed, 12 Feb 2014 15:38:37 +0000"  >&lt;p&gt;Ok, I am VERY late on this ticket, and by re-reading it, I understand that even if generated, the CL records for the Volatile are useless, but am I right ?&lt;/p&gt;

&lt;p&gt;If yes, I wonder if it could be possible to easily detect them from the CL layer/routines and simply avoid them all ?&lt;/p&gt;

&lt;p&gt;If not, I will be back with the &quot;volatile flag&quot; proposal, and this for all CL records/events ?&lt;/p&gt;</comment>
                            <comment id="77577" author="jcl" created="Fri, 21 Feb 2014 08:48:54 +0000"  >&lt;p&gt;&amp;gt; even if generated, the CL records for the Volatile are useless, but am I right ?&lt;br/&gt;
yes today but may be in the future&lt;/p&gt;

&lt;p&gt;&amp;gt;If yes, I wonder if it could be possible to easily detect them from the CL layer/routines and simply avoid them all ?&lt;br/&gt;
no because a volatile file is a std unlinked file&lt;/p&gt;

&lt;p&gt;&amp;gt;If not, I will be back with the &quot;volatile flag&quot; proposal, and this for all CL records/events ?&lt;br/&gt;
I think this is the right solution&lt;/p&gt;
</comment>
                            <comment id="77600" author="adegremont" created="Fri, 21 Feb 2014 15:50:27 +0000"  >&lt;blockquote&gt;
&lt;p&gt;even if generated, the CL records for the Volatile are useless, but am I right ?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;It depends what you want to track. So far, there is no important feature requiring them. But you can imagine several use cases where dropping them could be an issue. Especially on different accounting cases. This offers a way to create stealth files and uses disk space without any changelog speaking of it.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;no because a volatile file is a std unlinked file&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;It could be detected as it has a special name, but this would be ugly.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If not, I will be back with the &quot;volatile flag&quot; proposal, and this for all CL records/events ?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Currently the issue is more than some events are raised but not others. In this specific cases no REMOVE events for VOLATILE file. It seems the issue is no CL events for open-unlink files, even it they are not volatile ones. To be checked but maybe this is the real bug.&lt;/p&gt;


&lt;p&gt;This is something important IMHO, but it does not need to be a blocker for 2.5.1&lt;/p&gt;</comment>
                            <comment id="79125" author="bfaccini" created="Wed, 12 Mar 2014 14:28:11 +0000"  >&lt;p&gt;Hello Aurelien, I am back on this now, and I will check the issue you raised about &quot;no CL events for open-unlink files, even it they are not volatile ones&quot;, and let you know soon.&lt;/p&gt;</comment>
                            <comment id="81265" author="bfaccini" created="Wed, 9 Apr 2014 13:16:05 +0000"  >&lt;p&gt;I have been able to confirm that this issue is linked to the fact that volatile file usage is causing MDT objects orphans/leak. I will (finaly/hopefully?) have time now to push a patch to fix ...&lt;/p&gt;</comment>
                            <comment id="82217" author="adilger" created="Tue, 22 Apr 2014 22:39:40 +0000"  >&lt;p&gt;I&apos;ve reopened &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3696&quot; title=&quot;sanity test_17m, test_17n: e2fsck unattached inodes failure&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3696&quot;&gt;&lt;del&gt;LU-3696&lt;/del&gt;&lt;/a&gt; to track the fix for MDT object leak for volatile files separately.  That problem is critical since it is leaking space in the filesystem (both on the MDT and OST) for every volatile file used and needs to be back-ported to 2.4.x and 2.5.x.  The presence/absence of a changelog record for volatile files is a much more complex issue and I think it can be fixed and landed separately.&lt;/p&gt;</comment>
                            <comment id="85162" author="adilger" created="Thu, 29 May 2014 18:09:20 +0000"  >&lt;p&gt;I pushed &lt;a href=&quot;http://review.whamcloud.com/10179&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10179&lt;/a&gt; to try and fix the volatile file problem, and also avoid creating ChangeLog entries for volatile files. &lt;/p&gt;</comment>
                            <comment id="85630" author="bfaccini" created="Tue, 3 Jun 2014 18:56:32 +0000"  >&lt;p&gt;I did some extended testing and it appears that with this patch there is no longer a &quot;i_am_nobody&quot; orphan inode left for each hsm_release operation nor a &quot;.^L^S^T^R:VOLATILE:: ...&quot; one for each hsm_restore operation, this is for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3696&quot; title=&quot;sanity test_17m, test_17n: e2fsck unattached inodes failure&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3696&quot;&gt;&lt;del&gt;LU-3696&lt;/del&gt;&lt;/a&gt;.. &lt;br/&gt;
And I also checked it also fixes/avoids the unecessary reporting of ChangeLog events for these volatile files, this is for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4140&quot; title=&quot;Volatile files have CREATE changelog record but nothing to tell it is removed.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4140&quot;&gt;&lt;del&gt;LU-4140&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="85834" author="jlevi" created="Thu, 5 Jun 2014 15:34:41 +0000"  >&lt;p&gt;Patch landed to Master.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="20184">LU-3696</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|hzw6rb:</customfieldvalue>

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