<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:56:00 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-12828] FLOCK request can be processed twice during resend</title>
                <link>https://jira.whamcloud.com/browse/LU-12828</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;It can lead to wrong UNLOCK:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;00000080:00010000:0.0:1519718439.198477:0:9470:0:(file.c:3583:ll_file_flock()) inode=[0x200000400:0x1:0x0], pid=9470, owner=0xffff88012d046e00, flags=0x0, mode=2, start=0, end=9223372036854775807
00010000:00010000:0.0:1519718439.200930:0:7184:0:(ldlm_flock.c:314:ldlm_process_flock_lock()) flags 0x0 owner 18446612137364450816 pid 9470 mode 2 start 0 end 9223372036854775807
00000080:00010000:0.0:1519718439.210498:0:9472:0:(file.c:3583:ll_file_flock()) inode=[0x200000400:0x1:0x0], pid=9472, owner=0xffff88013606ce00, flags=0x0, mode=2, start=0, end=9223372036854775807
00000080:00010000:0.0:1519718440.231947:0:9470:0:(file.c:3583:ll_file_flock()) inode=[0x200000400:0x1:0x0], pid=9470, owner=0xffff88012d046e00, flags=0x0, mode=32, start=0, end=9223372036854775807
00000100:00080000:0.0:1519718440.248334:0:5786:0:(client.c:2792:ptlrpc_resend_req()) @@@ going to resend  req@ffff88012d036f00 x1593540148730064/t0(0) o101-&amp;gt;lustre-MDT0000-mdc-ffff88009c2e4000@0@lo:12/10 lens 328/344 e 0 to 0 dl 1519718447 ref 2 fl Rpc:/0/ffffffff rc 0/-1
00000001:00020000:0.0:1519718440.248489:0:7185:0:(fail.c:133:__cfs_fail_timeout_set()) cfs_fail_timeout id 998 sleeping for 10000ms
00000001:00020000:0.0:1519718450.233339:0:7184:0:(fail.c:137:__cfs_fail_timeout_set()) cfs_fail_timeout id 999 awake
00010000:00010000:0.0:1519718450.233528:0:7184:0:(ldlm_flock.c:314:ldlm_process_flock_lock()) flags 0x0 owner 18446612137364450816 pid 9470 mode 32 start 0 end 9223372036854775807
00000001:00020000:0.0:1519718450.237109:0:9470:0:(fail.c:133:__cfs_fail_timeout_set()) cfs_fail_timeout id 998 sleeping for 11000ms
00000001:00020000:0.0:1519718450.248712:0:7185:0:(fail.c:137:__cfs_fail_timeout_set()) cfs_fail_timeout id 998 awake
00000001:00020000:0.0:1519718450.249192:0:7185:0:(fail.c:133:__cfs_fail_timeout_set()) cfs_fail_timeout id 998 sleeping for 11000ms
00000001:00020000:0.0:1519718458.253208:0:7184:0:(fail.c:133:__cfs_fail_timeout_set()) cfs_fail_timeout id 998 sleeping for 10000ms
00000001:00020000:0.0:1519718461.237222:0:9470:0:(fail.c:137:__cfs_fail_timeout_set()) cfs_fail_timeout id 998 awake
00010000:00010000:0.0:1519718461.237816:0:9470:0:(ldlm_flock.c:314:ldlm_process_flock_lock()) flags 0x800000000 owner 18446612137364450816 pid 9470 mode 32 start 0 end 9223372036854775807
00010000:00010000:0.0:1519718461.239919:0:9484:0:(ldlm_flock.c:314:ldlm_process_flock_lock()) flags 0x0 owner 18446612137364450816 pid 9470 mode 2 start 0 end 9223372036854775807
00010000:00010000:0.0:1519718461.241247:0:9470:0:(ldlm_flock.c:819:ldlm_flock_completion_ast()) ### client-side enqueue returned a blocked lock, sleeping ns: lustre-MDT0000-mdc-ffff88009c2e4000 lock: ffff8800a0f52800/0x6628549332bf7a4f lrc: 4/0,1 mode: --/PW res: [0x200000400:0x1:0x0].c rrc: 4 type: FLK pid: 9470 [0-&amp;gt;9223372036854775807] flags: 0x0 nid: local remote: 0x6628549332bf7a56 expref: -99 pid: 9470 timeout: 0
00000001:00020000:0.0:1519718461.249186:0:7185:0:(fail.c:137:__cfs_fail_timeout_set()) cfs_fail_timeout id 998 awake
00010000:00010000:0.0:1519718461.249206:0:7185:0:(ldlm_flock.c:314:ldlm_process_flock_lock()) flags 0x0 owner 18446612137364450816 pid 9470 mode 32 start 0 end 9223372036854775807
00010000:00020000:0.0:1519718461.251161:0:9470:0:(ldlm_flock.c:885:ldlm_flock_completion_ast()) client-side: only asynchronous lock enqueue can be canceled by CANCELK
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The similar scenario is possible with double FLOCK lock which leads to lock on the  MDS without any lock on a client&lt;/p&gt;</description>
                <environment></environment>
        <key id="57082">LU-12828</key>
            <summary>FLOCK request can be processed twice during resend</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="askulysh">Andriy Skulysh</assignee>
                                    <reporter username="askulysh">Andriy Skulysh</reporter>
                        <labels>
                    </labels>
                <created>Tue, 1 Oct 2019 16:45:43 +0000</created>
                <updated>Tue, 16 Mar 2021 19:57:17 +0000</updated>
                            <resolved>Sat, 14 Dec 2019 13:35:39 +0000</resolved>
                                                    <fixVersion>Lustre 2.14.0</fixVersion>
                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="255731" author="gerrit" created="Tue, 1 Oct 2019 16:46:32 +0000"  >&lt;p&gt;Andriy Skulysh (c17819@cray.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36340&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36340&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12828&quot; title=&quot;FLOCK request can be processed twice during resend&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12828&quot;&gt;&lt;del&gt;LU-12828&lt;/del&gt;&lt;/a&gt; ldlm: FLOCK request can be processed twice&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 74955a7424a83c91efe025f71a8b7df73a2209d9&lt;/p&gt;</comment>
                            <comment id="257943" author="gerrit" created="Thu, 7 Nov 2019 19:13:37 +0000"  >&lt;p&gt;Sorry for the noisy.&lt;/p&gt;</comment>
                            <comment id="258107" author="green" created="Tue, 12 Nov 2019 04:03:26 +0000"  >&lt;p&gt;can you please elaborate how double locj happenswnad why it would lead to a lock on server with no lock on client? I think second flock of a double flock is a noop by definition?&lt;/p&gt;

&lt;p&gt;I looked at the trace but it&apos;s not obvious what wrong unlock means too.&lt;/p&gt;</comment>
                            <comment id="259837" author="gerrit" created="Sat, 14 Dec 2019 05:56:34 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/36340/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36340/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12828&quot; title=&quot;FLOCK request can be processed twice during resend&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12828&quot;&gt;&lt;del&gt;LU-12828&lt;/del&gt;&lt;/a&gt; ldlm: FLOCK request can be processed twice&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 85a12c6c8d7a6d40fc81c73f9b900475b58e3e98&lt;/p&gt;</comment>
                            <comment id="259875" author="pjones" created="Sat, 14 Dec 2019 13:35:39 +0000"  >&lt;p&gt;Landed for 2.14&lt;/p&gt;</comment>
                            <comment id="293677" author="gerrit" created="Tue, 2 Mar 2021 21:07:28 +0000"  >&lt;p&gt;Vitaly Fertman (vitaly.fertman@hpe.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/41818&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/41818&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12828&quot; title=&quot;FLOCK request can be processed twice during resend&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12828&quot;&gt;&lt;del&gt;LU-12828&lt;/del&gt;&lt;/a&gt; ldlm: not freed req on enqueue&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 0673bd5ca08177ed9e0dde82691409437c91eceb&lt;/p&gt;</comment>
                            <comment id="293680" author="spitzcor" created="Tue, 2 Mar 2021 23:12:04 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=vitaly_fertman&quot; class=&quot;user-hover&quot; rel=&quot;vitaly_fertman&quot;&gt;vitaly_fertman&lt;/a&gt;, &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12828&quot; title=&quot;FLOCK request can be processed twice during resend&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12828&quot;&gt;&lt;del&gt;LU-12828&lt;/del&gt;&lt;/a&gt; is RESOLVED.   You should either re-open this ticket or open a new one for &lt;a href=&quot;https://review.whamcloud.com/#/c/41818/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/41818/&lt;/a&gt;.  I imagine that a new ticket would be in order.&lt;/p&gt;</comment>
                            <comment id="295146" author="gerrit" created="Tue, 16 Mar 2021 18:16:09 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/41818/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/41818/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12828&quot; title=&quot;FLOCK request can be processed twice during resend&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12828&quot;&gt;&lt;del&gt;LU-12828&lt;/del&gt;&lt;/a&gt; ldlm: not freed req on enqueue&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ce9c1c11593814dacacc2c66f9fcf124ea84b807&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|i00nlb:</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>