<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:39:57 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-4131] Changelog TRUNC flag is missing</title>
                <link>https://jira.whamcloud.com/browse/LU-4131</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Relates to &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2298&quot; title=&quot;Changelog does not register file modifications&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2298&quot;&gt;&lt;del&gt;LU-2298&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It seems that changelog is not logging file truncates. I&apos;ve not tested 2.4.1 but when I do I&apos;ll update this.&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;[root@coolermaster lustre]# dd &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt;=/dev/zero of=truncate bs=1M count=10
10+0 records in
10+0 records out
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Results&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;7269327 01CREAT 00:36:19.512971520 2013.10.22 0x0 t=[0x200000bde:0x103e8:0x0] p=[0x200000007:0x1:0x0] truncate
7269328 11CLOSE 00:36:19.543968971 2013.10.22 0x242 t=[0x200000bde:0x103e8:0x0]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Truncate (Reduce)&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;truncate -s -1000 truncate
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Results&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;7269329 14SATTR 00:36:39.677314618 2013.10.22 0xe t=[0x200000bde:0x103e8:0x0]
7269330 11CLOSE 00:36:39.678314537 2013.10.22 0x42 t=[0x200000bde:0x103e8:0x0]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Truncate &lt;/p&gt;
{extend}
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;truncate -s +1000 truncate
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Results&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;7269331 14SATTR 00:36:54.378106399 2013.10.22 0xe t=[0x200000bde:0x103e8:0x0]
7269332 11CLOSE 00:36:54.379106360 2013.10.22 0x42 t=[0x200000bde:0x103e8:0x0]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Possibly the wrong flag &apos;SATTR&apos; is being sent here, as when I reduce the mask down to just TRUNC flag nothing comes through at all.&lt;/p&gt;

&lt;p&gt;-cf&lt;/p&gt;
</description>
                <environment>Single node test system running 2.4.0</environment>
        <key id="21565">LU-4131</key>
            <summary>Changelog TRUNC flag is missing</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="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="utopiabound">Nathaniel Clark</assignee>
                                    <reporter username="cfaber#1">Colin Faber [X]</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Tue, 22 Oct 2013 00:41:02 +0000</created>
                <updated>Tue, 20 May 2014 13:47:58 +0000</updated>
                            <resolved>Tue, 20 May 2014 13:47:58 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                    <fixVersion>Lustre 2.5.2</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="70131" author="nrutman" created="Tue, 29 Oct 2013 16:46:01 +0000"  >&lt;p&gt;Some additional info:&lt;br/&gt;
&quot;Use of truncate(2) does not produce any change log entries, and therefore the action is invisible. Since it appears that all versions of truncate(1) actually do an open(2)/ftruncate(2)/close(2) sequence, the CLOSE event informs of the possible size change. This is only an issue when there is a program using truncate(2) and not following that action with an open for writing and eventual close.&quot;&lt;br/&gt;
Truncate(2) is specifically referring to the C library function truncate.&lt;br/&gt;
This is an issue for us currently. My reading of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2298&quot; title=&quot;Changelog does not register file modifications&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2298&quot;&gt;&lt;del&gt;LU-2298&lt;/del&gt;&lt;/a&gt; suggests that this is a problem because size information is not being communicated to the MDS. (Because size on MDS is not implemented.)&lt;br/&gt;
Is this correct? As it stands, what would we need to do to get this logged on the MDS?&lt;/p&gt;</comment>
                            <comment id="70137" author="nrutman" created="Tue, 29 Oct 2013 17:06:11 +0000"  >&lt;p&gt;note CL_TRUNC doesn&apos;t seem to be actually used anywhere.&lt;/p&gt;</comment>
                            <comment id="79222" author="rdeshmukh_xyratex" created="Thu, 13 Mar 2014 08:56:33 +0000"  >&lt;p&gt;Patch : &lt;a href=&quot;http://review.whamcloud.com/#/c/9639/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/9639/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="80092" author="cliffw" created="Mon, 24 Mar 2014 18:14:06 +0000"  >&lt;p&gt;The first patch is marked Abandoned, will you be submitting a new patch, or should we close this issue? &lt;/p&gt;</comment>
                            <comment id="80093" author="cfaber" created="Mon, 24 Mar 2014 18:17:05 +0000"  >&lt;p&gt;Hi Cliff,&lt;/p&gt;

&lt;p&gt;The first patch addressed another issue within CL_MTIME and was actually out of scope for this problem. I&apos;ll have to check to see where this issue stands on our side and will update this ticket appropriately.&lt;/p&gt;

&lt;p&gt;-cf&lt;/p&gt;</comment>
                            <comment id="80193" author="rdeshmukh_xyratex" created="Tue, 25 Mar 2014 05:22:10 +0000"  >&lt;p&gt;Apologies here, actually forgot to mention the new patch link.&lt;br/&gt;
I have abandoned first patch as Andreas suggested to created it &lt;br/&gt;
for master branch.&lt;/p&gt;

&lt;p&gt;Here is the required patch.&lt;/p&gt;

&lt;p&gt;Patch: &lt;a href=&quot;http://review.whamcloud.com/#/c/9723/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/9723/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I will also put one more cleanup (kind of optional/independent) patch in a day or two.&lt;/p&gt;</comment>
                            <comment id="84439" author="pjones" created="Tue, 20 May 2014 13:47:58 +0000"  >&lt;p&gt;Landed for 2.5.2 and 2.6&lt;/p&gt;</comment>
                    </comments>
                    <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|hzw6j3:</customfieldvalue>

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