<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:26:27 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-2586] Need a way to request &quot;good to have&quot; lock bits </title>
                <link>https://jira.whamcloud.com/browse/LU-2586</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Seeing as how server side layout lock code invents some way to sidestep this, we really need to implement a &quot;good to have&quot; lock properties alongside of &quot;absolute must subset of lock properties&quot; requested.&lt;/p&gt;

&lt;p&gt;Obvious first candidate would be inodebit locks with two sets of bits, mandatory and &quot;nice to have&quot;.&lt;/p&gt;

&lt;p&gt;This probably would couple nice with lock conversion too.&lt;/p&gt;</description>
                <environment></environment>
        <key id="17104">LU-2586</key>
            <summary>Need a way to request &quot;good to have&quot; lock bits </summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="3">Duplicate</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Mon, 7 Jan 2013 20:34:56 +0000</created>
                <updated>Sat, 16 Sep 2017 08:27:42 +0000</updated>
                            <resolved>Sat, 16 Sep 2017 08:27:42 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="50230" author="jay" created="Wed, 9 Jan 2013 15:26:08 +0000"  >&lt;p&gt;Another useful feature for inodebits lock is to provide a reason why a lock is cancelled. By adding this feature, we need to pack one more field in blocking_ast and client may handle it differently &lt;/p&gt;</comment>
                            <comment id="50266" author="green" created="Thu, 10 Jan 2013 10:18:50 +0000"  >&lt;p&gt;What do you mean by &quot;why&quot;?&lt;/p&gt;</comment>
                            <comment id="90987" author="jay" created="Wed, 6 Aug 2014 18:23:12 +0000"  >&lt;p&gt;To indicate the reason for the cancellation of the lock - for example, when a layout lock is being cancelled, it&apos;ll be useful to tell the clients the reason as the layout lock may be cancelled because of false sharing, or there is real layout change happening.&lt;/p&gt;

&lt;p&gt;It turned out to be useful also in file unlink case in patch &lt;a href=&quot;http://review.whamcloud.com/7942&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7942&lt;/a&gt; where a file is unlinked by one client so MDT revokes namespace lock but other clients have no idea what&apos;s happening. If the MDT could transfer this information to the clients, the clients would take the inode out of cache.&lt;/p&gt;</comment>
                            <comment id="208567" author="adilger" created="Sat, 16 Sep 2017 08:27:42 +0000"  >&lt;p&gt;This is fixed as part of patch &lt;a href=&quot;https://review.whamcloud.com/28022&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28022&lt;/a&gt; for the DoM project.&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;LU-9184 ldlm: selective IBITS lock trying

here is code to get lock without blocking, e.g. &apos;try&apos; to get it. It enqueues lock with all wanted bits and get it only when all bits are not conflicting. The new code allows to get as much &apos;tried&apos; bits as possible. It also doesn&apos;t require extra locking attempt for that. Patch intoduces new inodebits field try_bits which contains optinal bits to get if possible without blocking. Those bits are checked along with the required bits and only non-blocked are added to the new IBITS lock. 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="44061">LU-9148</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hzveqn:</customfieldvalue>

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