<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:28:18 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-16588] lod doesn&apos;t include local MDT</title>
                <link>https://jira.whamcloud.com/browse/LU-16588</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Working on patch&#160;&lt;a href=&quot;https://review.whamcloud.com/50074&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/50074&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16501&quot; title=&quot;QOS allocator not balancing space enough&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16501&quot;&gt;&lt;del&gt;LU-16501&lt;/del&gt;&lt;/a&gt; lod: add qos_ost_weights to debugfs&lt;/tt&gt;&quot;&#160;I found that &lt;tt&gt;lod-&amp;gt;lod_mdt_descs.ltd_tgt_pool&lt;/tt&gt; doesn&apos;t include local MDT. I.e. in a single node setup with 2 MDTs lod mdt descriptor(lod_tgt_descs) for lustre-MDT0000-mdtlov includes only MDT0001, while lustre-MDT0001-mdtlov includes only tgt MDT0000. Is this correct from QOS point of view?&lt;/p&gt;</description>
                <environment></environment>
        <key id="74808">LU-16588</key>
            <summary>lod doesn&apos;t include local MDT</summary>
                <type id="6" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11315&amp;avatarType=issuetype">Story</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="scherementsev">Sergey Cheremencev</reporter>
                        <labels>
                    </labels>
                <created>Thu, 23 Feb 2023 17:23:40 +0000</created>
                <updated>Thu, 23 Feb 2023 20:57:30 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="363928" author="paf0186" created="Thu, 23 Feb 2023 18:28:58 +0000"  >&lt;p&gt;Well, since you can only have one stripe per MDT, the first stripe has already been picked by the time you are on the local MDT.&#160; The local MDT is the first stripe.&#160; So I think it&apos;s OK for QOS as long as you only have 1 stripe per MDT, because the local MDT isn&apos;t a valid choice.&lt;/p&gt;

&lt;p&gt;Of course, this causes problems for metadata overstriping (which is not complete yet):&lt;/p&gt;

&lt;p&gt;But I fixed them by special-casing the local MDT in QOS.&lt;br/&gt;
See &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/35034/12/lustre/lod/lod_qos.c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/35034/12/lustre/lod/lod_qos.c&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I didn&apos;t think it was realistic to add the local MDT to LOD - It seemed like too big of a change...?&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=adilger&quot; class=&quot;user-hover&quot; rel=&quot;adilger&quot;&gt;adilger&lt;/a&gt; or &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=laisiyao&quot; class=&quot;user-hover&quot; rel=&quot;laisiyao&quot;&gt;laisiyao&lt;/a&gt; might have more to say about how QOS works today.&lt;/p&gt;</comment>
                            <comment id="363958" author="adilger" created="Thu, 23 Feb 2023 20:57:30 +0000"  >&lt;p&gt;It seems reasonable from a QOS point of view that the local MDT is also included in the QOS weighting, rather than &lt;b&gt;always&lt;/b&gt; creating a stripe on the local MDT.  Consider the common case where MDT0000 is more full than other MDTs (filesystem predating MDT mkdir balancing), then if a new striped directory is created on MDT0000 it will always have a local stripe.  It would be better to only create the master stripe on the local MDT and all of the remote stripes on less-full remote MDTs.  Of course it would be better if the master + stripes were &lt;b&gt;all&lt;/b&gt; created on the remote MDTs, but this would still use an agent inode on  MDT0000 so it isn&apos;t any more efficient.&lt;/p&gt;

&lt;p&gt;I don&apos;t think this is a fatal problem, but has come up at least twice now in different contexts, so may be worthwhile to fix.  The LOD itself has a connection to the local MDT, but this is treated somewhat differently since it is a local OSD device rather than a remote OSP device.  It might make sense to include the local MDT into the QOS tables without changing the connections (which I think would be complex and bad for performance), but it should still prioritize using the local MDT if it is within the reasonable usage of other MDTs, but skip it if the local MDTs is significantly overused.&lt;/p&gt;

&lt;p&gt;For the purpose of patch 50047 I think showing the current state of the QOS table without the local MDT is OK, since that reflects the actual reality of the implementation, and if/when the local MDT is added to the QOS table it should also appear in the QOS parameter output. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="74139">LU-16501</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|i03evz:</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>