<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:25:48 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-9392] lfs migrate -o and lfs setstripe -o should pick OST from ost_list</title>
                <link>https://jira.whamcloud.com/browse/LU-9392</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;It would be nice if &quot;&lt;tt&gt;lfs setstripe&lt;/tt&gt;&quot; and &quot;&lt;tt&gt;lfs migrate&lt;/tt&gt;&quot; could pick x out of y given OSTs (y&amp;gt;x). AKA you tell it to stripe across 8 OSTs, give a list of 25 and &quot;lfs migrate&quot; pick the 8 OSTs with most space available. Currently it breaks with x != y.&lt;/p&gt;

&lt;p&gt;For files with overstriping, &quot;&lt;tt&gt;lfs setstripe -o x,y,z -C N&lt;/tt&gt;&quot; should repeat the &lt;tt&gt;x,y,z&lt;/tt&gt; pattern until all &lt;tt&gt;N&lt;/tt&gt; OSTs are selected.&lt;/p&gt;</description>
                <environment>lustre-client-2.7.15.3-3.10.0_229.20.1.el6.x86_64.knl2.x86_64&lt;br/&gt;
</environment>
        <key id="45222">LU-9392</key>
            <summary>lfs migrate -o and lfs setstripe -o should pick OST from ost_list</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="michael.hebenstreit@intel.com">Michael Hebensteit</reporter>
                        <labels>
                            <label>medium</label>
                    </labels>
                <created>Tue, 4 Apr 2017 01:59:35 +0000</created>
                <updated>Tue, 1 Aug 2023 23:34:30 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="190838" author="adilger" created="Wed, 5 Apr 2017 10:07:59 +0000"  >&lt;p&gt;This would indeed be useful.  For permanent collections of &quot;y&quot; OSTs (e.g. different OSS storage types) it is possible to define &quot;OST pools&quot; and then specify a stripe count within the pool.&lt;/p&gt;

&lt;p&gt;However, being able to use &lt;tt&gt;lfs setstripe -c 3 -o 3,4,13,14,23,24&lt;/tt&gt; for temporary collections of OSTs would also be useful, particularly since creating/removing OST pools is limited to the admin.&lt;/p&gt;</comment>
                            <comment id="210362" author="adilger" created="Thu, 5 Oct 2017 13:05:26 +0000"  >&lt;p&gt;It would also be useful to be able to persistently set &lt;tt&gt;lfs setstripe -o&lt;/tt&gt; layouts on a parent directory.&lt;/p&gt;</comment>
                            <comment id="265351" author="emoly.liu" created="Mon, 16 Mar 2020 16:11:50 +0000"  >&lt;p&gt;It&apos;s easy to implement picking stripe_count=x out of y given OSTs (x&amp;lt;=y) by changing the conditions to compare&#160;stripe_count with nr_tgts in function lfs_setstripe_internal().&lt;/p&gt;

&lt;p&gt;What I&apos;m thinking about is the QOS policy. In function&#160;lod_alloc_ost_list(), &quot;The exact order of OSTs requested by the user&#160;is respected as much as possible depending on OST status.&quot; It means, except that the specified OSTs are full or inactive, the OSTs will be selected from the first one in the list strictly. If we want to pick x out of y, do we still want this order? or some disorder?&lt;/p&gt;</comment>
                            <comment id="265356" author="adilger" created="Mon, 16 Mar 2020 16:44:31 +0000"  >&lt;p&gt;I think in the x &amp;lt; y case it makes sense to use normal RR or QOS to select the starting OST and which other OSTs to use, to preserve space balance.  It should be treated in the same way as if the OST list was coming from a pool. &lt;/p&gt;

&lt;p&gt;The one difficulty that I thought about for the implementation was how to specify both the number of OSTs in the &lt;tt&gt;lov_user_md&lt;/tt&gt; and the stripe count for the file? &lt;/p&gt;</comment>
                            <comment id="265360" author="gerrit" created="Mon, 16 Mar 2020 17:22:58 +0000"  >&lt;p&gt;Emoly Liu (emoly@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/37940&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37940&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9392&quot; title=&quot;lfs migrate -o and lfs setstripe -o should pick OST from ost_list&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9392&quot;&gt;LU-9392&lt;/a&gt; lfs: pick x out of y given OSTs(x &amp;lt;= y) for setstripe&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: ce5835193b6364fc2e853ca140aa502d9e90dddb&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="23278">LU-4665</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="47229">LU-9771</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="28251">LU-6135</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="58389">LU-13363</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="53584">LU-11510</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="63135">LU-14480</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="68397">LU-15494</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="39858">LU-8616</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|hzz97b:</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>