<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:11:04 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-14590] add &quot;dshbak&quot; output aggregation equivalent for &quot;lctl get_param&quot;</title>
                <link>https://jira.whamcloud.com/browse/LU-14590</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When running &quot;&lt;tt&gt;lctl get_param&lt;/tt&gt;&quot; on a system with hundreds of OSTs and MDTs, and thousands of clients, often there are are many lines of output that are identical for all devices.  For example:&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;# lctl get_param ldlm.namespaces.*.*
ldlm.namespaces.testfs-OST0000-osc-MDT0000.contended_locks=32
ldlm.namespaces.testfs-OST0000-osc-MDT0000.contention_seconds=2
ldlm.namespaces.testfs-OST0000-osc-MDT0000.ctime_age_limit=10
ldlm.namespaces.testfs-OST0000-osc-MDT0000.dirty_age_limit=10
ldlm.namespaces.testfs-OST0000-osc-MDT0000.early_lock_cancel=0
ldlm.namespaces.testfs-OST0000-osc-MDT0000.lock_count=0
ldlm.namespaces.testfs-OST0000-osc-MDT0000.lock_timeouts=0
ldlm.namespaces.testfs-OST0000-osc-MDT0000.lock_unused_count=0
ldlm.namespaces.testfs-OST0000-osc-MDT0000.lru_max_age=3900000
ldlm.namespaces.testfs-OST0000-osc-MDT0000.lru_size=0
ldlm.namespaces.testfs-OST0000-osc-MDT0000.max_nolock_bytes=0
ldlm.namespaces.testfs-OST0000-osc-MDT0000.max_parallel_ast=1024
ldlm.namespaces.testfs-OST0000-osc-MDT0001.contended_locks=32
ldlm.namespaces.testfs-OST0000-osc-MDT0001.contention_seconds=2

:
:
ldlm.namespaces.testfs-OST0102-osc-MDT0013.contended_locks=32
ldlm.namespaces.testfs-OST0102-osc-MDT0013.contention_seconds=2
ldlm.namespaces.testfs-OST0102-osc-MDT0013.ctime_age_limit=10
ldlm.namespaces.testfs-OST0102-osc-MDT0013.dirty_age_limit=10
ldlm.namespaces.testfs-OST0102-osc-MDT0013.early_lock_cancel=0
ldlm.namespaces.testfs-OST0102-osc-MDT0013.lock_count=0
ldlm.namespaces.testfs-OST0102-osc-MDT0013.lock_timeouts=0
ldlm.namespaces.testfs-OST0102-osc-MDT0013.lock_unused_count=0
ldlm.namespaces.testfs-OST0102-osc-MDT0013.lru_max_age=3900000
ldlm.namespaces.testfs-OST0102-osc-MDT0013.lru_size=0
ldlm.namespaces.testfs-OST0102-osc-MDT0013.max_nolock_bytes=0
ldlm.namespaces.testfs-OST0102-osc-MDT0013.max_parallel_ast=1024
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;but it would be &lt;b&gt;much&lt;/b&gt; more convenient if the output was aggregated with wildcards in a manner similar to how multiple parameters are specified with &quot;&lt;tt&gt;lctl set_param&lt;/tt&gt;&quot;:&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;ldlm.namespaces.*.contended_locks=32
ldlm.namespaces.*.contention_seconds=2
ldlm.namespaces.*.ctime_age_limit=10
ldlm.namespaces.*.dirty_age_limit=10
ldlm.namespaces.*.early_lock_cancel=0
ldlm.namespaces.*.lock_count=0
ldlm.namespaces.*.lock_timeouts=0
ldlm.namespaces.*.lock_unused_count=0
ldlm.namespaces.testfs-OST00[00-14]-osc-MDT00[00-13].lru_max_age=3900000
ldlm.namespaces.testfs-OST00[15-63]-osc-MDT00[00-11,13].lru_max_age=3900000
ldlm.namespaces.testfs-OST00[15-63]-osc-MDT0012.lru_max_age=100000
ldlm.namespaces.*.lru_size=0
ldlm.namespaces.*.max_nolock_bytes=0
ldlm.namespaces.*.max_parallel_ast=1024
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;or something similar (it would be implementation dependent how disjoint regions of identifiers would be shown).  This would not only allow reducing the amount of output, but also make it much more obvious in cases where there are differences in the settings (e.g. &lt;tt&gt;lru_max_age&lt;/tt&gt; above).&lt;/p&gt;

&lt;p&gt;Something like &quot;&lt;tt&gt;lctl merge_param&lt;/tt&gt;&quot; would take the output of &quot;&lt;tt&gt;lctl get_param&lt;/tt&gt;&quot; as input and merge the lines, either by optionally (with new &apos;&lt;tt&gt;-m&lt;/tt&gt;&apos; option) forking a process to pipe the output of &quot;&lt;tt&gt;lctl get_param -m&lt;/tt&gt;&quot; into, or allowing the output of previously-captured &quot;&lt;tt&gt;get_param&lt;/tt&gt;&quot; output to be aggregated (possibly from &lt;tt&gt;dsh&lt;/tt&gt; or &lt;tt&gt;clush&lt;/tt&gt; running on multiple nodes at once).&lt;/p&gt;

&lt;p&gt;There would have to be &lt;em&gt;some&lt;/em&gt; implementation-specific smarts in the aggregation, for example to understand that client instance identifiers can be aggregated.&lt;/p&gt;</description>
                <environment></environment>
        <key id="63691">LU-14590</key>
            <summary>add &quot;dshbak&quot; output aggregation equivalent for &quot;lctl get_param&quot;</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="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Thu, 8 Apr 2021 02:10:00 +0000</created>
                <updated>Thu, 8 Apr 2021 02:11:34 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="62924">LU-14442</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|i01rkv:</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>