<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:57:42 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-13023] PCC: The size of the PCC copy is not truncated to 0 when attach</title>
                <link>https://jira.whamcloud.com/browse/LU-13023</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In the Linux kernel, it seems that dentry_open() with O_TRUNC flag (i.e. Ext4) does not&#160;take effect to truncate the size of the PCC copy to zero. &lt;/p&gt;

&lt;p&gt;This may result in incorrect size for PCC copy in the following test cases:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Attach a file with size of s1 (s2 &amp;gt; 0) into PCC;&lt;/li&gt;
	&lt;li&gt;detach this file with --keep option, and the data will retain on PCC;&lt;/li&gt;
	&lt;li&gt;truncate this file locally or on an remote client to the size s2 (s2 &amp;lt; s1);&lt;/li&gt;
	&lt;li&gt;re-attach the file again.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This problem is solved by reset the file size of the PCC copy to 0 after open the PCC copy during attach.&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="57485">LU-13023</key>
            <summary>PCC: The size of the PCC copy is not truncated to 0 when attach</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="qian_wc">Qian Yingjin</assignee>
                                    <reporter username="qian_wc">Qian Yingjin</reporter>
                        <labels>
                            <label>PCC</label>
                    </labels>
                <created>Wed, 27 Nov 2019 15:24:08 +0000</created>
                <updated>Wed, 4 Dec 2019 18:41:46 +0000</updated>
                            <resolved>Tue, 3 Dec 2019 19:19:11 +0000</resolved>
                                                    <fixVersion>Lustre 2.13.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="258909" author="gerrit" created="Wed, 27 Nov 2019 15:33:24 +0000"  >&lt;p&gt;Yingjin Qian (qian@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36884&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36884&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13023&quot; title=&quot;PCC: The size of the PCC copy is not truncated to 0 when attach&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13023&quot;&gt;&lt;del&gt;LU-13023&lt;/del&gt;&lt;/a&gt; pcc: Size not truncated to 0 during attach&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f0caf43a774eca3ab2afd75c2369aaadd56c8aa1&lt;/p&gt;</comment>
                            <comment id="259096" author="gerrit" created="Tue, 3 Dec 2019 18:59:30 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/36884/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36884/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13023&quot; title=&quot;PCC: The size of the PCC copy is not truncated to 0 when attach&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13023&quot;&gt;&lt;del&gt;LU-13023&lt;/del&gt;&lt;/a&gt; pcc: Incorrect size after re-attach&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 7a810496c2ce970294af7ad5939d43490c1817d7&lt;/p&gt;</comment>
                            <comment id="259102" author="pjones" created="Tue, 3 Dec 2019 19:19:11 +0000"  >&lt;p&gt;Landed for 2.13&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|i00q2v:</customfieldvalue>

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