<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:56:30 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-12885] improve variable naming to clarify code usage</title>
                <link>https://jira.whamcloud.com/browse/LU-12885</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;There are lots of places in the code that have very generic variable names like &quot;flags&quot; or &quot;mask&quot; that are confusing to distinguish in places, because it isn&apos;t clear what the type of values those flags hold.&lt;/p&gt;

&lt;p&gt;Add named enums for the variables where possible to make it very clear what type of flag is being used, and/or rename the variable to help make this clear.  In a couple of cases the variable type is determined by the kernel API and cannot be changed.&lt;/p&gt;</description>
                <environment></environment>
        <key id="57198">LU-12885</key>
            <summary>improve variable naming to clarify code usage</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="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="adilger">Andreas Dilger</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Sat, 19 Oct 2019 08:30:22 +0000</created>
                <updated>Sat, 22 Apr 2023 17:28:54 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="256726" author="gerrit" created="Mon, 21 Oct 2019 09:37:59 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36519&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36519&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12885&quot; title=&quot;improve variable naming to clarify code usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12885&quot;&gt;LU-12885&lt;/a&gt; llite: mark extended attr and inode flags&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 217db7daafc917a14b150884e61cd3cc17662105&lt;/p&gt;</comment>
                            <comment id="256727" author="gerrit" created="Mon, 21 Oct 2019 09:37:59 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36520&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36520&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12885&quot; title=&quot;improve variable naming to clarify code usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12885&quot;&gt;LU-12885&lt;/a&gt; mdd: clearly name variables for MAY_ flags&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 1249c8fb774a5aa0aaac0521f31b9162db3fc29f&lt;/p&gt;</comment>
                            <comment id="256728" author="gerrit" created="Mon, 21 Oct 2019 09:38:00 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36521&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36521&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12885&quot; title=&quot;improve variable naming to clarify code usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12885&quot;&gt;LU-12885&lt;/a&gt; mdc: remove flags argument from pack functions&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 901e6431093d67f3ff3f55afd22d487cdf1dfac0&lt;/p&gt;</comment>
                            <comment id="256729" author="gerrit" created="Mon, 21 Oct 2019 09:38:00 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36522&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36522&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12885&quot; title=&quot;improve variable naming to clarify code usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12885&quot;&gt;LU-12885&lt;/a&gt; mdd: only bottom of clf_flags in changelog&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 101e948642bf64c3985be6e6930c7c26e36e6c33&lt;/p&gt;</comment>
                            <comment id="256730" author="gerrit" created="Mon, 21 Oct 2019 09:38:01 +0000"  >&lt;p&gt;&lt;del&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch:&lt;/del&gt; &lt;a href=&quot;https://review.whamcloud.com/36523&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36523&lt;/a&gt;&lt;br/&gt;
&lt;del&gt;Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12885&quot; title=&quot;improve variable naming to clarify code usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12885&quot;&gt;LU-12885&lt;/a&gt; osd: rename xattr operation flags consistently&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Project: fs/lustre-release&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Branch: master&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Current Patch Set: 1&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Commit: 39a42d686a18c442c3434b1751ddee9f806783c9&lt;/del&gt;&lt;/p&gt;</comment>
                            <comment id="256731" author="gerrit" created="Mon, 21 Oct 2019 09:38:02 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36524&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36524&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12885&quot; title=&quot;improve variable naming to clarify code usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12885&quot;&gt;LU-12885&lt;/a&gt; llapi: use enum llapi_layout_get_flags&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: e49613a28af050a33a021333fda3b3bf082ba15d&lt;/p&gt;</comment>
                            <comment id="280344" author="gerrit" created="Wed, 23 Sep 2020 05:33:10 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/40008&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40008&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12885&quot; title=&quot;improve variable naming to clarify code usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12885&quot;&gt;LU-12885&lt;/a&gt; osd: rename xattr operation flags consistently&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 0420d3815133f5264801cc524dd2064e29bbb31a&lt;/p&gt;</comment>
                            <comment id="294143" author="gerrit" created="Sat, 6 Mar 2021 02:35:06 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/36519/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36519/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12885&quot; title=&quot;improve variable naming to clarify code usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12885&quot;&gt;LU-12885&lt;/a&gt; llite: mark extended attr and inode flags&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: b51a1e1140cac80c0590183be05e905bf87294d4&lt;/p&gt;</comment>
                            <comment id="294144" author="gerrit" created="Sat, 6 Mar 2021 02:35:10 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/36520/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36520/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12885&quot; title=&quot;improve variable naming to clarify code usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12885&quot;&gt;LU-12885&lt;/a&gt; mdd: clearly name variables for MAY_ flags&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 76b9cf2565eb7a5dff65bf508d5762a109345f5d&lt;/p&gt;</comment>
                            <comment id="294938" author="gerrit" created="Sat, 13 Mar 2021 18:33:42 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33512/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33512/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12885&quot; title=&quot;improve variable naming to clarify code usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12885&quot;&gt;LU-12885&lt;/a&gt; mds: add enums for MDS_ATTR flags&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 6c6b8cb972ac92c08dd91d25e57cc6a3703d951e&lt;/p&gt;</comment>
                            <comment id="299885" author="gerrit" created="Wed, 28 Apr 2021 02:10:28 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/36524/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36524/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12885&quot; title=&quot;improve variable naming to clarify code usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12885&quot;&gt;LU-12885&lt;/a&gt; llapi: use enum llapi_layout_get_flags&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ae98601fed3e99af5376311cb4b02d2c65ccd1fe&lt;/p&gt;</comment>
                            <comment id="321420" author="gerrit" created="Thu, 23 Dec 2021 08:15:24 +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/45924&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45924&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12885&quot; title=&quot;improve variable naming to clarify code usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12885&quot;&gt;LU-12885&lt;/a&gt; llite: add enum ll_file_flags for clarity&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: c73f2401ae794d1186568b43871cdfe61703ec16&lt;/p&gt;</comment>
                            <comment id="370232" author="gerrit" created="Sat, 22 Apr 2023 17:28:54 +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/+/36522/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/36522/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12885&quot; title=&quot;improve variable naming to clarify code usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12885&quot;&gt;LU-12885&lt;/a&gt; mdd: only bottom of clf_flags in changelog&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 3b43457cf150c03c496be72265d09574ea470308&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|i00ob3:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>