<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:34:07 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-17278] ldlm_cli_inodebits_convert() should not grant failed locks</title>
                <link>https://jira.whamcloud.com/browse/LU-17278</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;ldlm_cli_inodebits_convert() can race with import invalidation and as a result - can try to re-grant a cancelled lock:&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;
00000100:00080000:3.0:1699525322.988962:0:3134:0:(&lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt;.c:1294:ptlrpc_connect_interpret()) @@@ lustre-MDT0001-mdc-ffff95f0a8edb000: evicting (reconnect/recover flags not set: 4)  req@000000004b406d55 x1782080047922752/t0(0) o38-&amp;gt;lustre-MDT0001-mdc-ffff95f0a8edb000@0@lo:12/10 lens 520/416 e 0 to 0 dl 1699525332 ref 1 fl Interpret:RNQU/200/0 rc 0/0 job:&lt;span class=&quot;code-quote&quot;&gt;&apos;mv.0&apos;&lt;/span&gt; uid:0 gid:0

00010000:00010000:3.0:1699525323.004657:0:116519:0:(ldlm_request.c:1300:ldlm_cli_cancel_local()) ### client-side cancel ns: lustre-MDT0001-mdc-ffff95f0a8edb000 lock: 0000000073a2bb93/0xaa6346196bd6c00a lrc: 4/0,0 mode: CR/CR res: [0x240000407:0xe2:0x0].0x0 bits 0x5/0x7e rrc: 3 type: IBT gid 0 flags: 0x50e400000000 nid: local remote: 0xaa6346196bd6c10d expref: -99 pid: 115943 timeout: 0 lvb_type: 0
00010000:00010000:3.0:1699525323.004660:0:116519:0:(ldlm_request.c:1316:ldlm_cli_cancel_local()) not sending request (at caller&apos;s instruction)

00010000:00010000:3.0:1699525323.038025:0:8037:0:(ldlm_request.c:1246:ldlm_cli_convert_req()) ### client-side convert ns: lustre-MDT0001-mdc-ffff95f0a8edb000 lock: 0000000073a2bb93/0xaa6346196bd6c00a lrc: 1/0,0 mode: --/CR res: [0x240000407:0xe2:0x0].0x0 bits 0x5/0x7e rrc: 2 type: IBT gid 0 flags: 0x4d0f400000000 nid: local remote: 0xaa6346196bd6c10d expref: -99 pid: 115943 timeout: 0 lvb_type: 0
00010000:00040000:3.0:1699525323.082320:0:8037:0:(ldlm_lock.c:1095:ldlm_grant_lock_with_skiplist()) ASSERTION( ldlm_is_granted(lock) ) failed: 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;ldlm_cli_inodebits_convert() should check lock&apos;s actuality before granting.&lt;/p&gt;</description>
                <environment></environment>
        <key id="78861">LU-17278</key>
            <summary>ldlm_cli_inodebits_convert() should not grant failed locks</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="bzzz">Alex Zhuravlev</assignee>
                                    <reporter username="bzzz">Alex Zhuravlev</reporter>
                        <labels>
                    </labels>
                <created>Thu, 9 Nov 2023 13:23:42 +0000</created>
                <updated>Thu, 7 Dec 2023 11:12:12 +0000</updated>
                            <resolved>Wed, 29 Nov 2023 22:56:27 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="392448" author="gerrit" created="Thu, 9 Nov 2023 13:33:55 +0000"  >&lt;p&gt;&quot;Alex Zhuravlev &amp;lt;bzzz@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/53051&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/53051&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17278&quot; title=&quot;ldlm_cli_inodebits_convert() should not grant failed locks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17278&quot;&gt;&lt;del&gt;LU-17278&lt;/del&gt;&lt;/a&gt; ldlm: don&apos;t grant failed lock&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: ca91841946997686637c97ba64117c01d5114b0a&lt;/p&gt;</comment>
                            <comment id="394812" author="gerrit" created="Wed, 29 Nov 2023 21:30:05 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/53051/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/53051/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17278&quot; title=&quot;ldlm_cli_inodebits_convert() should not grant failed locks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17278&quot;&gt;&lt;del&gt;LU-17278&lt;/del&gt;&lt;/a&gt; ldlm: don&apos;t grant failed lock&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f3b45a05475d8c65f06c81f41176b5a7f7d1acaa&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="74837">LU-16596</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|i041cf:</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>