<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:01:31 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-6589] llapi_layout_pattern_set() rejects valid pattern values</title>
                <link>https://jira.whamcloud.com/browse/LU-6589</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The input validation for this function appears to have a typo.  Presumably &quot;&amp;amp;&amp;amp;&quot; was intended instead of  &quot;||&quot;:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;	&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (pattern != LLAPI_LAYOUT_DEFAULT ||
	    pattern != LLAPI_LAYOUT_RAID0) {
		errno = EOPNOTSUPP;
		&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; -1;
	}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="30027">LU-6589</key>
            <summary>llapi_layout_pattern_set() rejects valid pattern values</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="1">Fixed</resolution>
                                        <assignee username="ys">Yang Sheng</assignee>
                                    <reporter username="rread">Robert Read</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Mon, 11 May 2015 23:08:49 +0000</created>
                <updated>Wed, 23 Sep 2015 13:08:19 +0000</updated>
                            <resolved>Wed, 23 Sep 2015 13:08:19 +0000</resolved>
                                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="115037" author="adilger" created="Tue, 12 May 2015 17:24:03 +0000"  >&lt;p&gt;It isn&apos;t clear that this is actually a bug?  LLAPI_LAYOUT_DEFAULT means &quot;use the default values&quot;, so I can&apos;t see it makes sense to specify &quot;use the default&quot; at the same time as specifying something that may not be the default?  Also, since LLAPI_LAYOUT_DEFAULT is not a simple bitfield it will also conflict with RAID0?&lt;/p&gt;

&lt;p&gt;Ned, any comment on this API usage?&lt;/p&gt;

&lt;p&gt;Robert, were you doing something in particular that failed this check, or merely code review?&lt;/p&gt;</comment>
                            <comment id="115042" author="nedbass" created="Tue, 12 May 2015 17:36:02 +0000"  >&lt;p&gt;I think Robert is right--it will reject any value other than LLAPI_LAYOUT_DEFAULT.  I&apos;ll whip up a patch.&lt;/p&gt;</comment>
                            <comment id="115052" author="gerrit" created="Tue, 12 May 2015 18:11:15 +0000"  >&lt;p&gt;Ned Bass (bass6@llnl.gov) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/14784&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/14784&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6589&quot; title=&quot;llapi_layout_pattern_set() rejects valid pattern values&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6589&quot;&gt;&lt;del&gt;LU-6589&lt;/del&gt;&lt;/a&gt; llapi: ..._layout_pattern_set() rejects valid patterns&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 3ffaa9456818da1e29231a317247bc2faa64b31d&lt;/p&gt;</comment>
                            <comment id="115053" author="pjones" created="Tue, 12 May 2015 18:16:46 +0000"  >&lt;p&gt;Yang Sheng&lt;/p&gt;

&lt;p&gt;Could you please take care of this patch?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="115055" author="rread" created="Tue, 12 May 2015 18:23:11 +0000"  >&lt;p&gt;This also rejects LLAPI_LAYOUT_DEFAULT, too.&lt;/p&gt;

&lt;p&gt;I noticed this problem while writing unit tests for my own tool. &lt;/p&gt;</comment>
                            <comment id="115206" author="adilger" created="Wed, 13 May 2015 16:47:43 +0000"  >&lt;p&gt;My bad, didn&apos;t read the code correctly... &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="115209" author="rread" created="Wed, 13 May 2015 17:04:24 +0000"  >&lt;p&gt;No worries - I had to stare at it for a few minutes to convince myself it actually was as broken as I thought it was. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="128186" author="gerrit" created="Tue, 22 Sep 2015 23:23:27 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/14784/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/14784/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6589&quot; title=&quot;llapi_layout_pattern_set() rejects valid pattern values&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6589&quot;&gt;&lt;del&gt;LU-6589&lt;/del&gt;&lt;/a&gt; llapi: ..._layout_pattern_set() rejects valid patterns&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 1d700aaf9ff785e062d8e4c6a8920f37265dd969&lt;/p&gt;</comment>
                            <comment id="128232" author="pjones" created="Wed, 23 Sep 2015 13:08:19 +0000"  >&lt;p&gt;Landed for 2.8&lt;/p&gt;</comment>
                    </comments>
                    <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|hzxd0n:</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>