<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:55:24 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-12759] parameter grant_shrink gets reset to 1 after client reconnects</title>
                <link>https://jira.whamcloud.com/browse/LU-12759</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Impossible to set &lt;tt&gt;osc.&amp;#42;.grant_shrink&lt;/tt&gt; to 0 , it gets reset to 1 after OST reconnect, regardless whether it was simple set by &lt;tt&gt;lctl set_param&lt;/tt&gt; or &lt;tt&gt;lctl set_param -P&lt;/tt&gt;.&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;[root@devvm1 tests]# ../utils/lctl get_param osc.*.grant_shrink
osc.lustre-OST0000-osc-ffff880043e43800.grant_shrink=1
osc.lustre-OST0001-osc-ffff880043e43800.grant_shrink=1
[root@devvm1 tests]# ../utils/lctl set_param osc.*.grant_shrink=0
osc.lustre-OST0000-osc-ffff880043e43800.grant_shrink=0
osc.lustre-OST0001-osc-ffff880043e43800.grant_shrink=0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;wait some time for idle OSTs get disconnected,&lt;br/&gt;
then write to files to get the OSTs connected again:&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;[root@devvm1 tests]# dd if=/dev/zero bs=1M count=1 of=/mnt/lustre/foo1
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.00950013 s, 110 MB/s
[root@devvm1 tests]# dd if=/dev/zero bs=1M count=1 of=/mnt/lustre/foo2
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.0131701 s, 79.6 MB/s
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Now the previous settings are gone:&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;[root@devvm1 tests]# ../utils/lctl get_param osc.*.grant_shrink
osc.lustre-OST0000-osc-ffff880043e43800.grant_shrink=1
osc.lustre-OST0001-osc-ffff880043e43800.grant_shrink=1
[root@devvm1 tests]# 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</description>
                <environment></environment>
        <key id="56908">LU-12759</key>
            <summary>parameter grant_shrink gets reset to 1 after client reconnects</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="zam">Alexander Zarochentsev</assignee>
                                    <reporter username="zam">Alexander Zarochentsev</reporter>
                        <labels>
                    </labels>
                <created>Fri, 13 Sep 2019 15:43:46 +0000</created>
                <updated>Fri, 17 Jan 2020 22:58:16 +0000</updated>
                            <resolved>Tue, 12 Nov 2019 06:34:38 +0000</resolved>
                                                    <fixVersion>Lustre 2.14.0</fixVersion>
                    <fixVersion>Lustre 2.12.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="254664" author="gerrit" created="Fri, 13 Sep 2019 15:45:16 +0000"  >&lt;p&gt;Alexander Zarochentsev (c17826@cray.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36177&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36177&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12759&quot; title=&quot;parameter grant_shrink gets reset to 1 after client reconnects&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12759&quot;&gt;&lt;del&gt;LU-12759&lt;/del&gt;&lt;/a&gt; osc: don&apos;t re-enable grant shrink on reconnect&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: a1a723ce63dab1cf3e0305ee3556eaa308655f0b&lt;/p&gt;</comment>
                            <comment id="254667" author="zam" created="Fri, 13 Sep 2019 16:27:41 +0000"  >&lt;p&gt;with the fix grant shrinking remaining disabled after reconnecting to OSTs:&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;[root@devvm1 tests]# ../utils/lctl get_param osc.*.grant_shrink
osc.lustre-OST0000-osc-ffff880045d29800.grant_shrink=1
osc.lustre-OST0001-osc-ffff880045d29800.grant_shrink=1
[root@devvm1 tests]# ../utils/lctl set_param osc.*.grant_shrink=0
osc.lustre-OST0000-osc-ffff880045d29800.grant_shrink=0
osc.lustre-OST0001-osc-ffff880045d29800.grant_shrink=0
[root@devvm1 tests]# ../utils/lctl get_param osc.*.grant_shrink
osc.lustre-OST0000-osc-ffff880045d29800.grant_shrink=0
osc.lustre-OST0001-osc-ffff880045d29800.grant_shrink=0
[root@devvm1 tests]# dmesg | tail 
[14492.674788] Lustre: lustre-OST0001: new disk, initializing
[14494.139279] Lustre: lustre-MDT0000: Connection restored to f7ad677a-8d53-4 (at 192.168.56.101@tcp)
[14494.139286] Lustre: Skipped 6 previous similar messages
[14494.168439] Lustre: Mounted lustre-client
[14495.540432] Lustre: DEBUG MARKER: Using TIMEOUT=20
[14502.268274] Lustre: lustre-OST0001: Connection restored to f7ad677a-8d53-4 (at 192.168.56.101@tcp)
[14502.268282] Lustre: Skipped 3 previous similar messages
[14502.286601] Lustre: ctl-lustre-MDT0000: super-sequence allocation rc = 0 [0x00000002c0000400-0x0000000300000400]:1:ost
[14502.286799] Lustre: cli-lustre-OST0001-super: Allocated super-sequence [0x00000002c0000400-0x0000000300000400]:1:ost]
[14517.305391] Lustre: lustre-OST0000-osc-ffff880045d29800: disconnect after 22s idle
[root@devvm1 tests]# dd if=/dev/zero bs=1M count=1 of=/mnt/lustre/foo1
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.0110673 s, 94.7 MB/s
[root@devvm1 tests]# dd if=/dev/zero bs=1M count=1 of=/mnt/lustre/foo2
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.014042 s, 74.7 MB/s
[root@devvm1 tests]# dmesg | tail 
[14495.540432] Lustre: DEBUG MARKER: Using TIMEOUT=20
[14502.268274] Lustre: lustre-OST0001: Connection restored to f7ad677a-8d53-4 (at 192.168.56.101@tcp)
[14502.268282] Lustre: Skipped 3 previous similar messages
[14502.286601] Lustre: ctl-lustre-MDT0000: super-sequence allocation rc = 0 [0x00000002c0000400-0x0000000300000400]:1:ost
[14502.286799] Lustre: cli-lustre-OST0001-super: Allocated super-sequence [0x00000002c0000400-0x0000000300000400]:1:ost]
[14517.305391] Lustre: lustre-OST0000-osc-ffff880045d29800: disconnect after 22s idle
[14542.047684] Lustre: lustre-OST0000-osc-ffff880045d29800: reconnect after 25s idle
[14542.047940] Lustre: lustre-OST0000: Connection restored to f7ad677a-8d53-4 (at 192.168.56.101@tcp)
[14542.047944] Lustre: Skipped 1 previous similar message
[14543.718663] Lustre: lustre-OST0001-osc-ffff880045d29800: reconnect after 26s idle
[root@devvm1 tests]# ../utils/lctl get_param osc.*.grant_shrink
osc.lustre-OST0000-osc-ffff880045d29800.grant_shrink=0
osc.lustre-OST0001-osc-ffff880045d29800.grant_shrink=0
[root@devvm1 tests]# 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="258116" author="gerrit" created="Tue, 12 Nov 2019 04:06:35 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/36177/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36177/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12759&quot; title=&quot;parameter grant_shrink gets reset to 1 after client reconnects&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12759&quot;&gt;&lt;del&gt;LU-12759&lt;/del&gt;&lt;/a&gt; osc: don&apos;t re-enable grant shrink on reconnect&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: efa3425c5f5a6763ea834408b982e4df5a90c914&lt;/p&gt;</comment>
                            <comment id="258131" author="pjones" created="Tue, 12 Nov 2019 06:34:38 +0000"  >&lt;p&gt;Landed for 2.14&lt;/p&gt;</comment>
                            <comment id="260690" author="gerrit" created="Tue, 7 Jan 2020 18:18:38 +0000"  >&lt;p&gt;Minh Diep (mdiep@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/37152&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37152&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12759&quot; title=&quot;parameter grant_shrink gets reset to 1 after client reconnects&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12759&quot;&gt;&lt;del&gt;LU-12759&lt;/del&gt;&lt;/a&gt; osc: don&apos;t re-enable grant shrink on reconnect&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 270fd0dc37e83fb19ccde7db1dfd197cd20d5c0a&lt;/p&gt;</comment>
                            <comment id="261459" author="gerrit" created="Fri, 17 Jan 2020 20:14:12 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/37152/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37152/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12759&quot; title=&quot;parameter grant_shrink gets reset to 1 after client reconnects&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12759&quot;&gt;&lt;del&gt;LU-12759&lt;/del&gt;&lt;/a&gt; osc: don&apos;t re-enable grant shrink on reconnect&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 9ede55bc906fd033ccb9f40fb0a6a625e836bef3&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="55257">LU-12120</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|i00mqv:</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>