<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:02:34 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-6710] conf-sanity test 82a fails with &#8216;/usr/bin/lfs setstripe -o 22456,27728,65534 -i 65534 /mnt/lustre/d82a.conf-sanity/f82a.conf-sanity-3 failed&#8216;</title>
                <link>https://jira.whamcloud.com/browse/LU-6710</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;conf-sanity test_82a fails on review-dne-part-1 with &#8216;/usr/bin/lfs setstripe -o 22456,27728,65534 -i 65534 /mnt/lustre/d82a.conf-sanity/f82a.conf-sanity-3 failed&#8216;&lt;/p&gt;

&lt;p&gt;From the test log:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;/usr/bin/lfs setstripe -o 22456,27728,65534 -i 65534 /mnt/lustre/d82a.conf-sanity/f82a.conf-sanity-3
error: bad stripe offset 65534: Invalid argument (22)
error: setstripe: create stripe file &apos;/mnt/lustre/d82a.conf-sanity/f82a.conf-sanity-3&apos; failed
 conf-sanity test_82a: @@@@@@ FAIL: /usr/bin/lfs setstripe -o 22456,27728,65534 -i 65534 /mnt/lustre/d82a.conf-sanity/f82a.conf-sanity-3 failed 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Could the index just be too large for input to &apos;-i&apos; the start OST index?&lt;/p&gt;

&lt;p&gt;Test failure at &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/da5f5fbe-1010-11e5-a2d3-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/da5f5fbe-1010-11e5-a2d3-5254006e85c2&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="30609">LU-6710</key>
            <summary>conf-sanity test 82a fails with &#8216;/usr/bin/lfs setstripe -o 22456,27728,65534 -i 65534 /mnt/lustre/d82a.conf-sanity/f82a.conf-sanity-3 failed&#8216;</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="jamesanunez">James Nunez</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Jun 2015 16:06:20 +0000</created>
                <updated>Thu, 31 Mar 2016 21:10:43 +0000</updated>
                            <resolved>Wed, 13 Jan 2016 21:53:46 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="118228" author="adilger" created="Thu, 11 Jun 2015 17:35:47 +0000"  >&lt;p&gt;The maximum OST index is:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;#define LOV_V1_INSANE_STRIPE_COUNT 65532 /* maximum stripe count bz13933 */

static inline bool llapi_stripe_index_is_valid(int64_t index)
{ 
        return index &amp;gt;= -1 &amp;amp;&amp;amp; index &amp;lt;= LOV_V1_INSANE_STRIPE_COUNT;
}

/* Compatibility macro for legacy llapi functions that use &quot;offset&quot;
 * terminology instead of the preferred &quot;index&quot;. */
#define llapi_stripe_offset_is_valid(os) llapi_stripe_index_is_valid(os)

int llapi_stripe_limit_check(unsigned long long stripe_size, int stripe_offset,
                                int stripe_count, int stripe_pattern)
{
        :
        :
        if (!llapi_stripe_offset_is_valid(stripe_offset)) {
                rc = -EINVAL;
                llapi_error(LLAPI_MSG_ERROR, rc, &quot;error: bad stripe offset %d&quot;,
                                stripe_offset);
                return rc;
        }
        :
        :
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So we need to limit the OST index to be 65532 or less, like &lt;tt&gt;index=$(((RANDOM - 1) * 2))&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;While you are in there please change the one use of &lt;tt&gt;llapi_stripe_offset_is_valid()&lt;/tt&gt; to &lt;tt&gt;llapi_stripe_index_is_valid()&lt;/tt&gt; so at least our own code is not using the deprecated version of the function.&lt;/p&gt;</comment>
                            <comment id="122909" author="gerrit" created="Fri, 31 Jul 2015 21:08:49 +0000"  >&lt;p&gt;James Nunez (james.a.nunez@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/15824&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15824&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6710&quot; title=&quot;conf-sanity test 82a fails with &#8216;/usr/bin/lfs setstripe -o 22456,27728,65534 -i 65534 /mnt/lustre/d82a.conf-sanity/f82a.conf-sanity-3 failed&#8216;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6710&quot;&gt;&lt;del&gt;LU-6710&lt;/del&gt;&lt;/a&gt; tests: Constrain stripe index conf-sanity test 82a&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 82c93241b517d094857ec6f80cfa0e35ffddcc62&lt;/p&gt;</comment>
                            <comment id="138408" author="gerrit" created="Sat, 9 Jan 2016 00:06:16 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/15824/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15824/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6710&quot; title=&quot;conf-sanity test 82a fails with &#8216;/usr/bin/lfs setstripe -o 22456,27728,65534 -i 65534 /mnt/lustre/d82a.conf-sanity/f82a.conf-sanity-3 failed&#8216;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6710&quot;&gt;&lt;del&gt;LU-6710&lt;/del&gt;&lt;/a&gt; tests: Constrain stripe index conf-sanity test 82a&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: c919cdf5d960da9f3b78fd2c04b7e09ef915d3c6&lt;/p&gt;</comment>
                            <comment id="138859" author="jamesanunez" created="Wed, 13 Jan 2016 21:53:46 +0000"  >&lt;p&gt;Patch landed to master.&lt;/p&gt;</comment>
                            <comment id="139330" author="standan" created="Tue, 19 Jan 2016 22:51:18 +0000"  >&lt;p&gt;Another instance found for interop : 2.7.1 Server/EL6.7 Client&lt;br/&gt;
Server: 2.7.1, b2_7_fe/34&lt;br/&gt;
Client: master, build# 3303, RHEL 6.7&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/148c9d60-bb05-11e5-9137-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/148c9d60-bb05-11e5-9137-5254006e85c2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Tests ran on 01/13/2016.&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|hzxfjj:</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>