<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:10:40 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-14543] tgt_grant_discard(): avoid  tgd-&gt;tgd_tot_granted overflowing</title>
                <link>https://jira.whamcloud.com/browse/LU-14543</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&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;
void tgt_grant_discard(struct obd_export *exp)
...
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (tgd-&amp;gt;tgd_tot_granted &amp;lt; ted-&amp;gt;ted_grant) {
                CERROR(&lt;span class=&quot;code-quote&quot;&gt;&quot;%s: tot_granted %llu &amp;lt; cli %s/%p ted_grant %ld\n&quot;&lt;/span&gt;,
                       obd-&amp;gt;obd_name, tgd-&amp;gt;tgd_tot_granted,
                       exp-&amp;gt;exp_client_uuid.uuid, exp, ted-&amp;gt;ted_grant);
        }
        tgd-&amp;gt;tgd_tot_granted -= ted-&amp;gt;ted_grant;
...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;If tgd-&amp;gt;tgd_tot_granted &amp;lt; ted-&amp;gt;ted_grant the decrement makes tgd_tot_granted too big.&lt;/p&gt;</description>
                <environment></environment>
        <key id="63449">LU-14543</key>
            <summary>tgt_grant_discard(): avoid  tgd-&gt;tgd_tot_granted overflowing</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="vsaveliev">Vladimir Saveliev</assignee>
                                    <reporter username="vsaveliev">Vladimir Saveliev</reporter>
                        <labels>
                    </labels>
                <created>Mon, 22 Mar 2021 16:00:13 +0000</created>
                <updated>Wed, 16 Mar 2022 23:46:21 +0000</updated>
                            <resolved>Thu, 30 Sep 2021 19:02:12 +0000</resolved>
                                                    <fixVersion>Lustre 2.12.8</fixVersion>
                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="295678" author="gerrit" created="Mon, 22 Mar 2021 16:11:24 +0000"  >&lt;p&gt;Vladimir Saveliev (c17830@cray.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/42129&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/42129&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14543&quot; title=&quot;tgt_grant_discard(): avoid  tgd-&amp;gt;tgd_tot_granted overflowing&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14543&quot;&gt;&lt;del&gt;LU-14543&lt;/del&gt;&lt;/a&gt; target: prevent overflowing of tgd-&amp;gt;tgd_tot_granted&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 32e970796601d0e6c1ee7ac9ced34d3a7a695be3&lt;/p&gt;</comment>
                            <comment id="314387" author="gerrit" created="Thu, 30 Sep 2021 13:27:03 +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/42129/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/42129/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14543&quot; title=&quot;tgt_grant_discard(): avoid  tgd-&amp;gt;tgd_tot_granted overflowing&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14543&quot;&gt;&lt;del&gt;LU-14543&lt;/del&gt;&lt;/a&gt; target: prevent overflowing of tgd-&amp;gt;tgd_tot_granted&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: bb5d81ea95502fb5709e176b561b70aa5280ee07&lt;/p&gt;</comment>
                            <comment id="314443" author="pjones" created="Thu, 30 Sep 2021 19:02:12 +0000"  >&lt;p&gt;Landed for 2.15&lt;/p&gt;</comment>
                            <comment id="317670" author="gerrit" created="Mon, 8 Nov 2021 18:47:49 +0000"  >&lt;p&gt;&quot;Mike Pershin &amp;lt;mpershin@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/45490&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45490&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14543&quot; title=&quot;tgt_grant_discard(): avoid  tgd-&amp;gt;tgd_tot_granted overflowing&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14543&quot;&gt;&lt;del&gt;LU-14543&lt;/del&gt;&lt;/a&gt; target: prevent overflowing of tgd-&amp;gt;tgd_tot_granted&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 41bca5995c461c306b5269142e99e1b2695267cf&lt;/p&gt;</comment>
                            <comment id="318440" author="gerrit" created="Wed, 17 Nov 2021 18:44:30 +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/45490/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45490/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14543&quot; title=&quot;tgt_grant_discard(): avoid  tgd-&amp;gt;tgd_tot_granted overflowing&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14543&quot;&gt;&lt;del&gt;LU-14543&lt;/del&gt;&lt;/a&gt; target: prevent overflowing of tgd-&amp;gt;tgd_tot_granted&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 5cbc184fbc10fd3d6c23ec3b8b687ffb34a64138&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="61579">LU-14125</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="66611">LU-15095</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|i01q3j:</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>