<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:27:56 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-2757] Move dynlocks out of ldiskfs</title>
                <link>https://jira.whamcloud.com/browse/LU-2757</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Commit 43603bd1 (&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1548&quot; title=&quot;Test failure on test suite mds-survey, subtest test_1&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1548&quot;&gt;&lt;del&gt;LU-1548&lt;/del&gt;&lt;/a&gt; osd: move i_htree_lock to iam container) eliminated the use of dynlocks inside ldiskfs. Now that it&apos;s only used in the system-agnostic mdd and osd-ldiskfs code, we can move it under lustre/ and eliminate a patch we apply during build.&lt;/p&gt;</description>
                <environment></environment>
        <key id="17455">LU-2757</key>
            <summary>Move dynlocks out of ldiskfs</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="bogl">Bob Glossman</assignee>
                                    <reporter username="jeffm">Jeff Mahoney</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Tue, 5 Feb 2013 18:36:46 +0000</created>
                <updated>Tue, 24 Sep 2013 15:24:36 +0000</updated>
                            <resolved>Tue, 24 Sep 2013 15:24:36 +0000</resolved>
                                                    <fixVersion>Lustre 2.5.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="51864" author="simmonsja" created="Wed, 6 Feb 2013 09:36:51 +0000"  >&lt;p&gt;The mdd layer uses the dynlock code. How did it ever work on ZFS?&lt;/p&gt;</comment>
                            <comment id="51868" author="simmonsja" created="Wed, 6 Feb 2013 10:07:09 +0000"  >&lt;p&gt;With the current patch the dynlock code in placed in lustre/dynlocks. Andreas where do recommend that it be placed in the tree? Would obdclass make a logical choice since this code is used by mdd and osd-ldiskfs layers?&lt;/p&gt;</comment>
                            <comment id="51874" author="jeffm" created="Wed, 6 Feb 2013 12:44:16 +0000"  >&lt;p&gt;I was wondering that too when I was build testing and the mdd Makefile didn&apos;t have the proper include path. The mdd layer &lt;b&gt;can&lt;/b&gt; use the dynlock code but isn&apos;t currently because MDD_DISABLE_PDO_LOCK is set. The comment indicates it&apos;s because it&apos;s already protected by the LDLM.&lt;/p&gt;</comment>
                            <comment id="51912" author="bogl" created="Wed, 6 Feb 2013 15:43:11 +0000"  >&lt;p&gt;Is it just me or is build of dynlocks.c failing to find dynlocks.h ?&lt;br/&gt;
Seems to be missing a -I in new lustre/dynlocks/Makefile.in&lt;/p&gt;</comment>
                            <comment id="51914" author="jeffm" created="Wed, 6 Feb 2013 15:54:44 +0000"  >&lt;p&gt;My builds succeed but you&apos;re right, there should be a -I in there.&lt;/p&gt;</comment>
                            <comment id="51915" author="bogl" created="Wed, 6 Feb 2013 16:01:29 +0000"  >&lt;p&gt;The 1 line fix below seems to fix it for me.&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;
--- a/lustre/dynlocks/Makefile.in
+++ b/lustre/dynlocks/Makefile.in
@@ -2,7 +2,7 @@ all: modules
 install: modules_install
 distdir:
 
-EXTRA_CFLAGS += -include @abs_top_builddir@/config.h
+EXTRA_CFLAGS += -include @abs_top_builddir@/config.h -I@abs_top_builddir@/lustre/dynlocks
 
 sources := dynlocks.c dynlocks.h

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="51922" author="jeffm" created="Wed, 6 Feb 2013 17:19:11 +0000"  >&lt;p&gt;I think that should probably be:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
--- a/lustre/dynlocks/Makefile.in
+++ b/lustre/dynlocks/Makefile.in
@@ -2,7 +2,7 @@ all: modules
 install: modules_install
 distdir:
 
-EXTRA_CFLAGS += -include @abs_top_builddir@/config.h
+EXTRA_CFLAGS += -include @abs_top_builddir@/config.h -I@abs_srcdir@
 
 sources := dynlocks.c dynlocks.h
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="52083" author="bogl" created="Fri, 8 Feb 2013 20:44:08 +0000"  >&lt;p&gt;If dynlocks is going to be a whole new kernel module as proposed in the patch, then it will need some work to be dealt with properly in various tools like &apos;lctl modules&apos; and lustre_rmmod.&lt;/p&gt;</comment>
                            <comment id="52144" author="simmonsja" created="Mon, 11 Feb 2013 14:43:12 +0000"  >&lt;p&gt;Yuck. Where this code goes depends on if the mdd layer will ever use dynlock. If it wouldn&apos;t then it can be moved to osd-ldiskfs. If dynlock will be used with mdd then I suggest it go into the obdclass.  &lt;/p&gt;</comment>
                            <comment id="52147" author="jeffm" created="Mon, 11 Feb 2013 14:48:08 +0000"  >&lt;p&gt;Ok, it makes sense to add it to an already existing dependency of both oxd-ldiskfs and mdd. I&apos;ll update the patch to move it to obdclass.&lt;/p&gt;</comment>
                            <comment id="58882" author="simmonsja" created="Mon, 20 May 2013 14:49:46 +0000"  >&lt;p&gt;Updated the patch Alex as you suggested. Now that 2.4 is frozen we can label this a 2.5 item&lt;/p&gt;</comment>
                            <comment id="66746" author="adilger" created="Mon, 16 Sep 2013 16:49:11 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/5282&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/5282&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="67365" author="simmonsja" created="Tue, 24 Sep 2013 15:06:13 +0000"  >&lt;p&gt;This patch has just landed. Peter you can close this ticket.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="17071">LU-2564</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|hzvimv:</customfieldvalue>

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