<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:37:04 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-10660] Truncate should revoke lease lock</title>
                <link>https://jira.whamcloud.com/browse/LU-10660</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Lustre lease lock is usually used to &apos;stabilize&apos; file data so that it won&apos;t be accessed by any entities while certain operations are in progress. Open lock is used on the MDT side for this purpose.&lt;/p&gt;

&lt;p&gt;However, truncate will change file data but it didn&apos;t revoke lease lock. We should grab &lt;tt&gt;mot_open_sem&lt;/tt&gt; and check &lt;tt&gt;mot_lease_count&lt;/tt&gt; to see if there exists any pending lease on the file. If lease exists, it should be broken.&lt;/p&gt;</description>
                <environment></environment>
        <key id="50761">LU-10660</key>
            <summary>Truncate should revoke lease lock</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="yujian">Jian Yu</assignee>
                                    <reporter username="jay">Jinshan Xiong</reporter>
                        <labels>
                    </labels>
                <created>Mon, 12 Feb 2018 18:40:12 +0000</created>
                <updated>Tue, 18 Dec 2018 23:59:58 +0000</updated>
                            <resolved>Sun, 16 Sep 2018 07:11:16 +0000</resolved>
                                    <version>Lustre 2.11.0</version>
                    <version>Lustre 2.10.5</version>
                                    <fixVersion>Lustre 2.12.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="230850" author="pjones" created="Tue, 24 Jul 2018 17:59:01 +0000"  >&lt;p&gt;Jian&lt;/p&gt;

&lt;p&gt;Could you please investigate this issue?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="230851" author="adilger" created="Tue, 24 Jul 2018 17:59:20 +0000"  >&lt;p&gt;Jinshan, is this a case where FLR resync could cause a bad replica to be created, and essentially lead to data corruption?&lt;/p&gt;</comment>
                            <comment id="230861" author="jinshan" created="Wed, 25 Jul 2018 00:12:33 +0000"  >&lt;p&gt;Yes, and this would break any programs that uses lease lock for data exclusive access.&#160;&lt;/p&gt;</comment>
                            <comment id="232793" author="gerrit" created="Thu, 30 Aug 2018 08:58:51 +0000"  >&lt;p&gt;Jian Yu (yujian@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33093&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33093&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10660&quot; title=&quot;Truncate should revoke lease lock&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10660&quot;&gt;&lt;del&gt;LU-10660&lt;/del&gt;&lt;/a&gt; mdt: revoke lease lock for truncate&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: cd1d8cb22eaafb671e3af3f22651bdbd74721a65&lt;/p&gt;</comment>
                            <comment id="233580" author="gerrit" created="Sun, 16 Sep 2018 06:41:44 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33093/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33093/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10660&quot; title=&quot;Truncate should revoke lease lock&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10660&quot;&gt;&lt;del&gt;LU-10660&lt;/del&gt;&lt;/a&gt; mdt: revoke lease lock for truncate&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e4c168165df201f8800118a4913bbb02e0bad3c1&lt;/p&gt;</comment>
                            <comment id="233587" author="yujian" created="Sun, 16 Sep 2018 07:11:16 +0000"  >&lt;p&gt;Patch landed to master branch for Lustre 2.12.0.&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|hzzsrb:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>