<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:28:03 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-2771] Wasted space in ldlm_lock structure</title>
                <link>https://jira.whamcloud.com/browse/LU-2771</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;There is an 8 byte write only field and some separated flag bits that trigger another 8 bytes of extra alignment padding that are not necessary.  There are also a couple of fields that are only used on the server side and others only used on the client side.  These fields could be overlaid, with 24 bytes easily saved.  This is important on systems where 100&apos;s of thousands of these structures get allocated.&lt;/p&gt;

&lt;p&gt;My first comment will show one approach for coalescing all the flag bits into a single 64 bit flag word.&lt;/p&gt;</description>
                <environment></environment>
        <key id="17478">LU-2771</key>
            <summary>Wasted space in ldlm_lock structure</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="keith">Keith Mannthey</assignee>
                                    <reporter username="bkorb">Bruce Korb</reporter>
                        <labels>
                            <label>locking</label>
                            <label>patch</label>
                    </labels>
                <created>Wed, 6 Feb 2013 10:48:04 +0000</created>
                <updated>Thu, 19 Jan 2023 15:32:27 +0000</updated>
                            <resolved>Fri, 7 Jun 2013 17:02:42 +0000</resolved>
                                                    <fixVersion>Lustre 2.5.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="51877" author="bkorb" created="Wed, 6 Feb 2013 12:49:50 +0000"  >&lt;p&gt;an approximation of the new bit field code&lt;/p&gt;</comment>
                            <comment id="51892" author="bkorb" created="Wed, 6 Feb 2013 13:47:06 +0000"  >&lt;p&gt;&lt;a href=&quot;http://jira-nss.xy01.xyratex.com:8080/browse/MRP-376&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Xyratex bug id MRP-376&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="51894" author="adilger" created="Wed, 6 Feb 2013 13:48:21 +0000"  >&lt;p&gt;Bruce, it is easier to review changes in the form of a patch.  If you are just looking for comments and not landing, please add in the commit comment:&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;Test-Parameters: fortestonly testlist=runtests
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;so that it will run only the one test.  We don&apos;t have a &quot;don&apos;t test anything&quot; marker yet.&lt;/p&gt;</comment>
                            <comment id="51907" author="bkorb" created="Wed, 6 Feb 2013 14:51:00 +0000"  >&lt;p&gt;OK, coming.  That generated header was sufficiently preliminary that I was not sure it would compile even.  Actually, I&apos;d guess it would not. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;  But the approach is visible.  Another 30-60 minutes, and I should have something that compiles.&lt;/p&gt;

&lt;p&gt;And I&apos;ve removed the osc_ldlm_weigh_ast() -&amp;gt; ei_cb_wg -&amp;gt; lcs_weigh -&amp;gt; dead store in l_weigh_ast chain.&lt;/p&gt;</comment>
                            <comment id="51926" author="bkorb" created="Wed, 6 Feb 2013 17:55:58 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#change,5312&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,5312&lt;/a&gt; &amp;#8211; Patch Set 11: No score&lt;br/&gt;
trying a new review&lt;/p&gt;</comment>
                            <comment id="51927" author="bkorb" created="Wed, 6 Feb 2013 18:29:27 +0000"  >&lt;p&gt;That&apos;s right - I remember:  error: excess elements in struct initializer&lt;/p&gt;

&lt;p&gt;There was more to it than just removing an assignment.  There were the initializers, too.&lt;br/&gt;
Tomorrow.&lt;/p&gt;</comment>
                            <comment id="53731" author="bkorb" created="Mon, 11 Mar 2013 19:26:52 +0000"  >&lt;p&gt;Andreas Dilger		Mar 4&lt;/p&gt;

&lt;p&gt;Patch Set 8: Looks good to me, approved&lt;/p&gt;

&lt;p&gt;(3 inline comments)&lt;/p&gt;

&lt;p&gt;Some minor style issues if patch is refreshed&lt;/p&gt;

&lt;p&gt;Maloo		Mar 9&lt;/p&gt;

&lt;p&gt;Patch Set 8: Verified&lt;/p&gt;

&lt;p&gt;Tests received by maloo, run on CentOS release 6.3/x86_64: (&lt;a href=&quot;https://maloo.whamcloud.com/test_sessions/ce9b01e0-88ba-11e2-b643-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sessions/ce9b01e0-88ba-11e2-b643-52540035b04c&lt;/a&gt;). Ran 12 tests. No failures.&lt;/p&gt;</comment>
                            <comment id="55443" author="bkorb" created="Wed, 3 Apr 2013 22:38:16 +0000"  >&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;Artem Blagodarenko		12:28 AM
Patch Set 13:
Bruce, please, re-submit the patch, because LU-2988 was submitted after your testing is failed. Thanks.&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;del&gt;14&lt;/del&gt; 15 coming up.  It &lt;em&gt;will&lt;/em&gt; get installed before it gets obsolete this time, I am sure.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#change,5312&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,5312&lt;/a&gt; &#8211; Patch Set &lt;del&gt;14&lt;/del&gt; 15&lt;/p&gt;</comment>
                            <comment id="56134" author="bkorb" created="Thu, 11 Apr 2013 19:29:20 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2906&quot; title=&quot;ldlm_{is,set,clear}_bitname macros should replace bit fiddling code&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2906&quot;&gt;&lt;del&gt;LU-2906&lt;/del&gt;&lt;/a&gt; was opened to track replacing direct bit fiddling operations with accessor macros.&lt;/p&gt;</comment>
                            <comment id="56136" author="keith" created="Thu, 11 Apr 2013 19:53:53 +0000"  >&lt;p&gt;Thanks for link to the macro work.  &lt;/p&gt;</comment>
                            <comment id="60183" author="keith" created="Fri, 7 Jun 2013 17:02:42 +0000"  >&lt;p&gt;5312 has been merged into Master. &lt;/p&gt;</comment>
                            <comment id="358070" author="gerrit" created="Thu, 5 Jan 2023 22:51:21 +0000"  >&lt;p&gt;&quot;Andreas Dilger &amp;lt;adilger@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/49563&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/49563&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2771&quot; title=&quot;Wasted space in ldlm_lock structure&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2771&quot;&gt;&lt;del&gt;LU-2771&lt;/del&gt;&lt;/a&gt; ldlm: remove obsolete LDLM_FL_SERVER_LOCK&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: b045e816a75667e931af60214811c7476202a3f0&lt;/p&gt;</comment>
                            <comment id="359682" author="gerrit" created="Thu, 19 Jan 2023 15:32:27 +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/+/49563/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/49563/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2771&quot; title=&quot;Wasted space in ldlm_lock structure&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2771&quot;&gt;&lt;del&gt;LU-2771&lt;/del&gt;&lt;/a&gt; ldlm: remove obsolete LDLM_FL_SERVER_LOCK&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: cb0aa0285b32fb432fc484cfd44e6e6e789c1025&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12241" name="l_flags.h" size="15627" author="bkorb" created="Wed, 6 Feb 2013 12:49:50 +0000"/>
                    </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|hzviqn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6713</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>