<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:20:47 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-1914] Doxygen comments - ldlm module </title>
                <link>https://jira.whamcloud.com/browse/LU-1914</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Update the attached patch from Bug 20943, which adds doxygen comments to the ldlm module, for master.&lt;/p&gt;</description>
                <environment></environment>
        <key id="15915">LU-1914</key>
            <summary>Doxygen comments - ldlm module </summary>
                <type id="7" iconUrl="https://jira.whamcloud.com/images/icons/issuetypes/task_agile.png">Technical task</type>
                            <parent id="15881">LU-1892</parent>
                                    <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="nedbass">Ned Bass</assignee>
                                    <reporter username="nedbass">Ned Bass</reporter>
                        <labels>
                            <label>documentation</label>
                    </labels>
                <created>Wed, 12 Sep 2012 14:48:42 +0000</created>
                <updated>Tue, 29 Apr 2014 20:05:17 +0000</updated>
                            <resolved>Tue, 29 Apr 2014 20:05:17 +0000</resolved>
                                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="44714" author="nedbass" created="Wed, 12 Sep 2012 15:37:15 +0000"  >&lt;p&gt;I have a few questions about this patch.&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;         /**
-         * Hash table &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; namespace.
+         * Resource hash table &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; namespace.
+         * Hash table is organized as an array of \see RES_HASH_SIZE elements.
+         * Each element is a list_head linking all resources whose name hash is
+         * equal to the array position.
+         * \see ldlm_hash_fn &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; the actual hash function.
          */
         cfs_list_t            *ns_hash;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The ldlm namespace resource hashtable now appears to use the generic cfs hash implementation, so I think we can omit any hash table implementation details here.&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;-         /**
-          * Seconds.
-          */
+        /**
+         * Seconds.
+         * Appears to be currently unused. Should be removed.
+         */
         unsigned &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt;           ns_ctime_age_limit;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Contrary to this comment, ns_ctime_age_limit is still used in mdt_handler.c:mdt_getattr_name_lock() (bugzilla 14910).  I&apos;m thinking of of a comment along these lines.&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;/** 
 * &lt;span class=&quot;code-object&quot;&gt;Number&lt;/span&gt; of seconds since the file change time after which the 
 * MDT will &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; an UPDATE lock along with a LOOKUP lock. 
 * This allows the client to start caching negative dentries 
 * &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; the directory and may save an RPC &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; a later stat. 
 */ 
unsigned &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt;           ns_ctime_age_limit;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;But it&apos;s still a bit muddled to me.  What is the connection between the change time, the update lock, negative dentries, and why does returning an update lock save an RPC for a stat?  How is the value chosen?  This may not be the right place to explain all these things; perhaps the LDLM_CTIME_AGE_LIMIT definition would be appropriate, and we could provide a reference here. &lt;/p&gt;</comment>
                            <comment id="44832" author="nedbass" created="Thu, 13 Sep 2012 19:50:49 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#change,3985&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,3985&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="49392" author="nedbass" created="Tue, 18 Dec 2012 12:37:39 +0000"  >&lt;p&gt;patch landed to master&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="11846" name="ldlm-doxygen-3.diff" size="112038" author="nedbass" created="Wed, 12 Sep 2012 14:48:42 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                    <customfield id="customfield_10020" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Bugzilla ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>20943.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <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|hzvqbj:</customfieldvalue>

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