<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:06: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-14111] Report per-target eviction count</title>
                <link>https://jira.whamcloud.com/browse/LU-14111</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Eviction is a standard mechanism for Lustre targets to protect themselves against dead or misbehaving clients.&lt;/p&gt;

&lt;p&gt;On a live filesystem, evictions happen, eventually and it could be useful for sysadmin to have an exact counter to monitor them and take action if needed.&lt;/p&gt;

&lt;p&gt;I will propose a patch where an eviction counter is added to obd_device, increased when an eviction occurs and exposed through lctl get_param.&lt;/p&gt;</description>
                <environment></environment>
        <key id="61501">LU-14111</key>
            <summary>Report per-target eviction count</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="degremoa">Aurelien Degremont</assignee>
                                    <reporter username="degremoa">Aurelien Degremont</reporter>
                        <labels>
                    </labels>
                <created>Tue, 3 Nov 2020 15:47:05 +0000</created>
                <updated>Sat, 3 Feb 2024 05:19:07 +0000</updated>
                            <resolved>Tue, 14 Feb 2023 13:27:23 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="284153" author="gerrit" created="Tue, 3 Nov 2020 16:22:55 +0000"  >&lt;p&gt;Aurelien Degremont (degremoa@amazon.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/40528&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40528&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14111&quot; title=&quot;Report per-target eviction count&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14111&quot;&gt;&lt;del&gt;LU-14111&lt;/del&gt;&lt;/a&gt; obdclass: count eviction per obd_device&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: ecfa119aafe911e5ee8949d5b082fd4dc742e35f&lt;/p&gt;</comment>
                            <comment id="284584" author="adilger" created="Sat, 7 Nov 2020 02:34:44 +0000"  >&lt;p&gt;Actually, this information is already in &lt;tt&gt;osc.*.import&lt;/tt&gt;:&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;    connection:
       failover_nids: [ 192.168.20.1@tcp ]
       current_connection: 192.168.20.1@tcp
       connection_attempts: 2623
       generation: 2623
       in-progress_invalidations: 0
       idle: 0 sec
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;so it makes sense to include this information there.  &lt;/p&gt;</comment>
                            <comment id="284670" author="degremoa" created="Mon, 9 Nov 2020 09:35:45 +0000"  >&lt;p&gt;But the patch is tracking that server-side, not client side.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I was wondering where was a good place to report that data on server-side and as I understood that the move away from /proc is pushing a direction where new data should have its own /sys entries, rather than adding it to a more complex output one.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="284796" author="degremoa" created="Tue, 10 Nov 2020 10:03:59 +0000"  >&lt;p&gt;(moving this out of the patch review as this is not related)&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;The upstream kernel folks are just starting to come to this realization, and trying to do crazy things like adding a syscall to read from an array of fd&apos;s at the same time, but it is just more efficient to have all of the values in a single file that is formatted for easy parsing (YAML).&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I was thinking for a while that lots of get_param entries has a yaml-like syntax or almost yaml-compatible and that this was a good path forward, but I&apos;ve never seen any commitment or official recommendation that&apos;s the way to go and that those params should be made YAML compatible as mush as possible?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="284879" author="adilger" created="Tue, 10 Nov 2020 20:23:55 +0000"  >&lt;p&gt;I don&apos;t know if there was ever an &quot;official&quot; documentation to that effect, but at WC the use of YAML has definitely been adopted as the standard format for &lt;b&gt;new&lt;/b&gt; &quot;complex&quot; parameter files ever since IML started to be developed.&lt;/p&gt;

&lt;p&gt;From my experience, it is possible to create YAML-compliant files (I use &lt;a href=&quot;http://yaml-online-parser.appspot.com/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://yaml-online-parser.appspot.com/&lt;/a&gt; to verify this) that are both machine readable and human readable.  Examples of &quot;new&quot; complex files include &lt;tt&gt;osc.&amp;#42;.import&lt;/tt&gt; and &lt;tt&gt;obdfilter.&amp;#42;.exports.&amp;#42;.export&lt;/tt&gt;, &lt;tt&gt;obdfilter.&amp;#42;.job_stats&lt;/tt&gt;, &lt;tt&gt;obdfilter.&amp;#42;.lfsck_status&lt;/tt&gt;, and others.  Also, there is a &quot;&lt;tt&gt;lfs getstripe --yaml&lt;/tt&gt;&quot; option for dumping file layouts in YAML format, and &quot;&lt;tt&gt;lctl --device MGS llog_print $fsname-client&lt;/tt&gt;&quot; and &quot;&lt;tt&gt;lctl --device MGS llog_print params&lt;/tt&gt;&quot; to dump the config records.&lt;/p&gt;

&lt;p&gt;Ideally, we could also convert old &quot;complex&quot; files (e.g. &lt;tt&gt;brw_stats&lt;/tt&gt;, but with a new filename) over to YAML format as well, but that hasn&apos;t happened yet.&lt;/p&gt;</comment>
                            <comment id="362666" author="gerrit" created="Tue, 14 Feb 2023 06:03:45 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/40528/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/40528/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14111&quot; title=&quot;Report per-target eviction count&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14111&quot;&gt;&lt;del&gt;LU-14111&lt;/del&gt;&lt;/a&gt; obdclass: count eviction per obd_device&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 3c69d46e1766480c0ffd1bef840b4e167b4cf88e&lt;/p&gt;</comment>
                            <comment id="362727" author="pjones" created="Tue, 14 Feb 2023 13:27:23 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                            <comment id="383716" author="simmonsja" created="Fri, 25 Aug 2023 12:41:50 +0000"  >&lt;p&gt;New maloo test fails in interop with 2.15&lt;/p&gt;</comment>
                            <comment id="383786" author="simmonsja" created="Fri, 25 Aug 2023 20:19:20 +0000"  >&lt;p&gt;I see a discussion of YAML output for various parameters. I&apos;m working on a YAML netlink version for the debugfs issue. It should provide the ability to express any stats in YAMl format when requested.&lt;/p&gt;</comment>
                            <comment id="383820" author="gerrit" created="Fri, 25 Aug 2023 22:46:05 +0000"  >&lt;p&gt;&quot;James Simmons &amp;lt;jsimmons@infradead.org&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/52098&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/52098&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14111&quot; title=&quot;Report per-target eviction count&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14111&quot;&gt;&lt;del&gt;LU-14111&lt;/del&gt;&lt;/a&gt; tests: only support recovery-small test 146 for 2.15.54+&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 77f9f3232f685b10518596ac69f2961ba7c342fa&lt;/p&gt;</comment>
                            <comment id="384896" author="gerrit" created="Wed, 6 Sep 2023 06:17:35 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/52098/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/52098/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14111&quot; title=&quot;Report per-target eviction count&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14111&quot;&gt;&lt;del&gt;LU-14111&lt;/del&gt;&lt;/a&gt; tests: only support recovery-small test 146 for 2.15.54+&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: b034dd27dd39483e40f91ea82d3f5c62b514ec54&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </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|i01e5b:</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>