<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:17:14 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-8402] OBD_CONNECT_* flags retirement</title>
                <link>https://jira.whamcloud.com/browse/LU-8402</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Several of the OBD_CONNECT_* flags have outlived their usefulness and should just always assume to be set or unset so that affected code paths can be simplified.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;10:23:19 AM&amp;#93;&lt;/span&gt; John Hammond: It seems like some of the OBD_CONNECT_* flags can be assumed to be set for all supported versions and then some. For example OBD_CONNECT_IBITS. Should we put together a list of such flags which can be required at connect time and then other code that check these flags can be simplified?&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;10:31:36 AM&amp;#93;&lt;/span&gt; Andreas Dilger: I wouldn&apos;t be against that&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;10:31:55 AM&amp;#93;&lt;/span&gt; John Hammond: OK, I&apos;ll open a ticket.&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;10:35:55 AM&amp;#93;&lt;/span&gt; Andreas Dilger: there are two ways that could be handled...  either require that it be set and refuse clients that don&apos;t have it, or assume that the flag is set at the server and then eventually stop sending it from the client and deprecate it completely&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;10:38:25 AM&amp;#93;&lt;/span&gt; John Hammond: I was leaning towards the first. What do you suggest?&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;11:26:15 AM&amp;#93;&lt;/span&gt; Andreas Dilger: I&apos;d be inclined toward the second.  I don&apos;t see much value to keeping around flags forever that will always be set.&lt;/p&gt;

&lt;p&gt;Candidates for retirement include:&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;OBD_CONNECT_IBITS
OBD_CONNECT_ATTRFID
OBD_CONNECT_NODEVOH
OBD_CONNECT_CANCELSET
OBD_CONNECT_REAL
OBD_CONNECT_FID
OBD_CONNECT_VBR
OBD_CONNECT_LOV_V3
OBD_CONNECT_FULL20
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;There are probably others as well. Some archeology is needed to determine in which versions these flags were added or started to be ignored.&lt;/p&gt;</description>
                <environment></environment>
        <key id="38185">LU-8402</key>
            <summary>OBD_CONNECT_* flags retirement</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="jhammond">John Hammond</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>easy</label>
                            <label>medium</label>
                    </labels>
                <created>Thu, 14 Jul 2016 18:42:02 +0000</created>
                <updated>Mon, 25 Mar 2019 21:24:24 +0000</updated>
                            <resolved>Mon, 26 Mar 2018 18:30:29 +0000</resolved>
                                                    <fixVersion>Lustre 2.11.0</fixVersion>
                    <fixVersion>Lustre 2.10.7</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="213217" author="gerrit" created="Thu, 9 Nov 2017 12:38:03 +0000"  >&lt;p&gt;John L. Hammond (john.hammond@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/30009&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30009&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8402&quot; title=&quot;OBD_CONNECT_* flags retirement&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8402&quot;&gt;&lt;del&gt;LU-8402&lt;/del&gt;&lt;/a&gt; ldlm: assume OBD_CONNECT_IBITS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 523aee1dbaebd3b2189f93a8e4963272a6a8140a&lt;/p&gt;</comment>
                            <comment id="213218" author="gerrit" created="Thu, 9 Nov 2017 12:38:04 +0000"  >&lt;p&gt;John L. Hammond (john.hammond@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/30010&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30010&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8402&quot; title=&quot;OBD_CONNECT_* flags retirement&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8402&quot;&gt;&lt;del&gt;LU-8402&lt;/del&gt;&lt;/a&gt; llite: assume OBD_CONNECT_ATTRFID&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 5186087b35c0e973c7381a98800765236362565b&lt;/p&gt;</comment>
                            <comment id="213333" author="gerrit" created="Fri, 10 Nov 2017 16:17:29 +0000"  >&lt;p&gt;John L. Hammond (john.hammond@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/30036&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30036&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8402&quot; title=&quot;OBD_CONNECT_* flags retirement&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8402&quot;&gt;&lt;del&gt;LU-8402&lt;/del&gt;&lt;/a&gt; llite: simplify ll_inode_revalidate()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 35445f03afce03fd06ce269542f3a448fb20fc41&lt;/p&gt;</comment>
                            <comment id="215101" author="gerrit" created="Fri, 1 Dec 2017 05:16:08 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/30009/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30009/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8402&quot; title=&quot;OBD_CONNECT_* flags retirement&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8402&quot;&gt;&lt;del&gt;LU-8402&lt;/del&gt;&lt;/a&gt; ldlm: assume OBD_CONNECT_IBITS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: c7a833830de691967081cd7a42199b924ea7efdc&lt;/p&gt;</comment>
                            <comment id="215102" author="gerrit" created="Fri, 1 Dec 2017 05:16:21 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/30010/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30010/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8402&quot; title=&quot;OBD_CONNECT_* flags retirement&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8402&quot;&gt;&lt;del&gt;LU-8402&lt;/del&gt;&lt;/a&gt; llite: assume OBD_CONNECT_ATTRFID&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: deaef32d1fd60530f60c5d3e38d11ead8234ac05&lt;/p&gt;</comment>
                            <comment id="215103" author="gerrit" created="Fri, 1 Dec 2017 05:16:35 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/30036/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30036/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8402&quot; title=&quot;OBD_CONNECT_* flags retirement&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8402&quot;&gt;&lt;del&gt;LU-8402&lt;/del&gt;&lt;/a&gt; llite: simplify ll_inode_revalidate()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: a430c3376c6b08d2264d4e0787e5403445f1bb7a&lt;/p&gt;</comment>
                            <comment id="215128" author="pjones" created="Fri, 1 Dec 2017 13:36:39 +0000"  >&lt;p&gt;Any more patches to come under this ticket or can it be marked as RESOLVED?&lt;/p&gt;</comment>
                            <comment id="215322" author="jhammond" created="Tue, 5 Dec 2017 16:32:03 +0000"  >&lt;p&gt;Let&apos;s resolve this and a new issue can be opened when we retire more flags.&lt;/p&gt;</comment>
                            <comment id="224562" author="jgmitter" created="Mon, 26 Mar 2018 18:30:19 +0000"  >&lt;p&gt;opening to add fix version and resolving again.&lt;/p&gt;</comment>
                            <comment id="239973" author="gerrit" created="Tue, 15 Jan 2019 09:47:44 +0000"  >&lt;p&gt;Hongchao Zhang (hongchao@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/34027&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34027&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8402&quot; title=&quot;OBD_CONNECT_* flags retirement&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8402&quot;&gt;&lt;del&gt;LU-8402&lt;/del&gt;&lt;/a&gt; ldlm: assume OBD_CONNECT_IBITS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 0acb1ab935fadf7712e50afc53dd67dc8778cdb1&lt;/p&gt;</comment>
                            <comment id="241187" author="gerrit" created="Fri, 1 Feb 2019 18:20:21 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/34027/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34027/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8402&quot; title=&quot;OBD_CONNECT_* flags retirement&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8402&quot;&gt;&lt;del&gt;LU-8402&lt;/del&gt;&lt;/a&gt; ldlm: assume OBD_CONNECT_IBITS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 2bc39a18041e40821195ef445269b282a9ec8fdb&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="15898">LU-1904</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|hzyhj3:</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>