<!-- 
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-9393] Enhance setstripe options for components</title>
                <link>https://jira.whamcloud.com/browse/LU-9393</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In current implementation of PFL component creation API, the setstripe options are inheritable, which means the next component will take all setstripe options appeared in previous components. This poses a problem that there is no way of creating a component with default options, unless it&apos;s in the first component in the &lt;tt&gt;lfs setstripe&lt;/tt&gt; command.&lt;/p&gt;

&lt;p&gt;Per discussion with Andreas, a new setstripe option &lt;tt&gt;--parent&lt;/tt&gt; is required to explicitly indicate the component will use default stripe from parent.&lt;/p&gt;</description>
                <environment></environment>
        <key id="45694">LU-9393</key>
            <summary>Enhance setstripe options for components</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</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="3">Duplicate</resolution>
                                        <assignee username="yujian">Jian Yu</assignee>
                                    <reporter username="jay">Jinshan Xiong</reporter>
                        <labels>
                    </labels>
                <created>Mon, 24 Apr 2017 18:47:45 +0000</created>
                <updated>Mon, 17 Jul 2017 17:26:39 +0000</updated>
                            <resolved>Mon, 17 Jul 2017 17:25:53 +0000</resolved>
                                    <version>Lustre 2.10.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="193401" author="jgmitter" created="Tue, 25 Apr 2017 17:12:36 +0000"  >&lt;p&gt;Hi Niu,&lt;/p&gt;

&lt;p&gt;Would you be able to help with this one?&lt;/p&gt;

&lt;p&gt;Thanks.&lt;br/&gt;
Joe&lt;/p&gt;</comment>
                            <comment id="193491" author="niu" created="Wed, 26 Apr 2017 02:04:11 +0000"  >&lt;p&gt;You mean use &apos;--parent&apos; to inherit the attributes from the 1st component of parent&apos;s default layout to all components of &apos;lfs setstripe&apos;? I don&apos;t quite see why we need this, and it looks to me not a good idea to further expand &apos;lfs setstrtripe&apos; options.&lt;/p&gt;

&lt;p&gt;I think making a &apos;--config-file&apos; could be useful, the layout config file can be a plain text file in YAML format, so that it can be easily read/modified/stored by user, user can also use &apos;lfs getstripe&apos; to dump a config file from any existing directory or file. I think Bobi is working on it in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9324&quot; title=&quot;sanity-pfl test 10 needs to reset the file system default layout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9324&quot;&gt;&lt;del&gt;LU-9324&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;What do you think about? can &apos;--config-file&apos; address your problem? Thanks.&lt;/p&gt;</comment>
                            <comment id="193529" author="jay" created="Wed, 26 Apr 2017 05:38:44 +0000"  >&lt;p&gt;In my view, those are different things. The ticket &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9324&quot; title=&quot;sanity-pfl test 10 needs to reset the file system default layout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9324&quot;&gt;&lt;del&gt;LU-9324&lt;/del&gt;&lt;/a&gt; is working on saving and restoring file layout, while I&apos;m trying to address the completeness problem for the command line.&lt;/p&gt;

&lt;p&gt;Thinking about the following problem - after I have specified some setstripe options for the first few components, and for some reason I want to use default options for the last component, there is no way of doing in current implementation.&lt;/p&gt;</comment>
                            <comment id="193530" author="niu" created="Wed, 26 Apr 2017 06:16:19 +0000"  >&lt;blockquote&gt;
&lt;p&gt;In my view, those are different things. The ticket &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9324&quot; title=&quot;sanity-pfl test 10 needs to reset the file system default layout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9324&quot;&gt;&lt;del&gt;LU-9324&lt;/del&gt;&lt;/a&gt; is working on saving and restoring file layout, while I&apos;m trying to address the completeness problem for the command line.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Saving &amp;amp; restoring layout is just a side benefit, using config file is a common way to address the problem of complex command line options.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Thinking about the following problem - after I have specified some setstripe options for the first few components, and for some reason I want to use default options for the last component, there is no way of doing in current implementation.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I suppose there will be no &apos;default options&apos; when PFL deployed, default layout of the parent directory will usually be a composite layout.&lt;br/&gt;
Even if user doesn&apos;t want to input last few options for the last component (regardless he has typed many options for first few components), he can specify a existing config file for the last component, though I don&apos;t quite think it&apos;s necessary.&lt;/p&gt;</comment>
                            <comment id="193532" author="bobijam" created="Wed, 26 Apr 2017 06:28:10 +0000"  >&lt;p&gt;I also tend to think the &quot;default stripe option&quot; for PFL file does not quite make sense; if you&apos;ve taken effort to think of some stripe option for some components, you&apos;d unlikely to&#160;abandon your choice and say &quot;let the file system choose whatever its&#160;default stripe options for this component&quot;.&lt;/p&gt;</comment>
                            <comment id="193650" author="jay" created="Wed, 26 Apr 2017 17:54:00 +0000"  >&lt;p&gt;Well, you can&apos;t predicate how users want to use it. As I said, this is mainly for completeness and it would be used rarely in practice.&lt;/p&gt;

&lt;p&gt;I agree it makes more sense in mirror creation, because for mirror creation it is totally possible to use system default options for some mirrors. If you are reluctant to implement it, I can do it in FLR project.&lt;/p&gt;</comment>
                            <comment id="193711" author="niu" created="Thu, 27 Apr 2017 01:44:27 +0000"  >&lt;p&gt;I think we are discussing if it&apos;s right to introduce this option, but not when this option should be implemented (in PFL or FLR).&lt;/p&gt;

&lt;p&gt;There are already too many options for &apos;lfs setstripe&apos;, let&apos;s try to use single &apos;config file&apos; option to reduce command line inputs, but not introducing one for each individual use case. In your mirror creation case, I think user may use a pre-defined config file for the mirror component. One thing worth noting is that &quot;system/dir default stripe size, count, offset&quot; could be obsoleted soon, because all default layouts (for root or parent dir) will be a composite layout.&lt;/p&gt;</comment>
                            <comment id="202328" author="niu" created="Mon, 17 Jul 2017 13:26:42 +0000"  >&lt;p&gt;Reassign to Xiong. This could be implemented in FLR project.&lt;/p&gt;</comment>
                            <comment id="202371" author="yujian" created="Mon, 17 Jul 2017 17:25:53 +0000"  >&lt;p&gt;I&apos;m working on this in LDEV-435.&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="42916">LU-8998</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|hzzb2n:</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>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>