<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:25:03 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-16218] allow lfs setstripe --comp-flags to separate prefrd and prefwr</title>
                <link>https://jira.whamcloud.com/browse/LU-16218</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The initial implementation of &quot;&lt;tt&gt;lfs setstripe ... --comp-flags=prefer&lt;/tt&gt;&quot; only allowed specifying a single &quot;&lt;tt&gt;prefer&lt;/tt&gt;&quot; argument for a given mirror component, which would set both the &quot;&lt;tt&gt;LCME_FL_PREF_RD&lt;/tt&gt;&quot; and &quot;&lt;tt&gt;LCME_FL_PREF_WR&lt;/tt&gt;&quot; flags at the same time.  This was done simply because there wasn&apos;t any good use case to expose two separate flag options to userspace (documentation, ease of use).&lt;/p&gt;

&lt;p&gt;The client code checks &lt;tt&gt;PREF_RD&lt;/tt&gt; appropriately when selecting a mirror to read, and the MDS/LOD checks &lt;tt&gt;PREF_WR&lt;/tt&gt; appropriately when selecting a mirror to write, so it should be straight forward to add &quot;&lt;tt&gt;--comp-flags &lt;span class=&quot;error&quot;&gt;&amp;#91;prefwr|prefrd&amp;#93;&lt;/span&gt;&lt;/tt&gt;&quot; parsing in &quot;&lt;tt&gt;lfs setstripe&lt;/tt&gt;&quot; (&lt;tt&gt;comp_str2flags()&lt;/tt&gt;) to set only the individual flags on a mirror.  The &quot;&lt;tt&gt;lfs getstripe&lt;/tt&gt;&quot; command (&lt;tt&gt;lcme_flags2str()&lt;/tt&gt; should still print &quot;&lt;tt&gt;prefer&lt;/tt&gt;&quot; if both flags are set (both for simplicity and compatibility), but should print either &quot;&lt;tt&gt;prefrd&lt;/tt&gt;&quot; or &quot;&lt;tt&gt;prefwr&lt;/tt&gt;&quot; if only one flag is set.&lt;/p&gt;

&lt;p&gt;The &lt;tt&gt;lfs-getstripe.1&lt;/tt&gt;, &lt;tt&gt;lfs-setstripe.1&lt;/tt&gt;, and &lt;tt&gt;lfs-mirror-create.1&lt;/tt&gt; man pages should also be updated to document these new options.&lt;/p&gt;</description>
                <environment></environment>
        <key id="72678">LU-16218</key>
            <summary>allow lfs setstripe --comp-flags to separate prefrd and prefwr</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="yujian">Jian Yu</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>easy</label>
                    </labels>
                <created>Thu, 6 Oct 2022 03:14:37 +0000</created>
                <updated>Mon, 22 Jan 2024 17:16:18 +0000</updated>
                            <resolved>Mon, 16 Oct 2023 12:58:14 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="387181" author="gerrit" created="Mon, 25 Sep 2023 23:34:06 +0000"  >&lt;p&gt;&quot;Jian Yu &amp;lt;yujian@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/52508&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/52508&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16218&quot; title=&quot;allow lfs setstripe --comp-flags to separate prefrd and prefwr&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16218&quot;&gt;&lt;del&gt;LU-16218&lt;/del&gt;&lt;/a&gt; utils: add component flags &quot;prefrd&quot; and &quot;prefwr&quot;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 073fa143530c5b32ed528d24d00616b3ee3289fd&lt;/p&gt;</comment>
                            <comment id="389353" author="gerrit" created="Mon, 16 Oct 2023 05:49:38 +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/+/52508/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/52508/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16218&quot; title=&quot;allow lfs setstripe --comp-flags to separate prefrd and prefwr&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16218&quot;&gt;&lt;del&gt;LU-16218&lt;/del&gt;&lt;/a&gt; utils: add component flags &quot;prefrd&quot; and &quot;prefwr&quot;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 6f5870dd87e51f7671c83c0b3c6181967cf22e0b&lt;/p&gt;</comment>
                            <comment id="389410" author="pjones" created="Mon, 16 Oct 2023 12:58:14 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <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|i0325z:</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>