<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:09:49 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-724] CLIO does not set lock handle in BRW</title>
                <link>https://jira.whamcloud.com/browse/LU-724</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Unlike b1_8, CLIO does not set a valid lock handle in bulk write requests. osc_build_req() still uses oap-&amp;gt;oap_ldlm_lock to fill the lock handle, but oap_ldlm_lock is always NULL, so we end up with oa-&amp;gt;o_handle = NULL in requests.&lt;/p&gt;

&lt;p&gt;We have been discussing for a while that all - when relevant of course - requests should specify a lock handle, so this is really a regression from this regard.&lt;br/&gt;
This lock handle is also used on the OST side to determine whether or not a BRW should make processed as a HP request. Not providing a lock handle put more load on the OST (e.g. in ost_rw_hpreq_check-&amp;gt;ost_rw_prolong_locks()) since we always have to iterate over the list of dlm locks.&lt;/p&gt;</description>
                <environment></environment>
        <key id="11980">LU-724</key>
            <summary>CLIO does not set lock handle in BRW</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="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="jay">Jinshan Xiong</assignee>
                                    <reporter username="johann">Johann Lombardi</reporter>
                        <labels>
                    </labels>
                <created>Thu, 29 Sep 2011 11:58:12 +0000</created>
                <updated>Thu, 8 Feb 2018 18:14:49 +0000</updated>
                            <resolved>Thu, 8 Feb 2018 18:14:49 +0000</resolved>
                                    <version>Lustre 2.1.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="20555" author="jay" created="Thu, 29 Sep 2011 15:37:44 +0000"  >&lt;p&gt;Yup there exists dead code in osc_build_req() where it refers to -&amp;gt;oap_ldlm_lock for dlm lock and this field should be always NULL. However, it doesn&apos;t affect OBD_MD_FLHANDLE because it is handle in cl_req_attr_set -&amp;gt; osc_req_attr_set and osc_req_attr_set will find a dlm lock and set remote handle.&lt;/p&gt;

&lt;p&gt;The purpose for clio to keep obsoleted code is to leave a door open if something doesn&apos;t work &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;. Now that clio looks stable, I think it&apos;s okay to remove those obsoleted code.&lt;/p&gt;</comment>
                            <comment id="20556" author="johann" created="Thu, 29 Sep 2011 15:57:17 +0000"  >&lt;p&gt;Ah, great, i missed this code path. Thanks.&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|hzw2fz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10478</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>