<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:07:32 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-14180] &quot;lfs setstripe -E&quot; doesn&apos;t validate component end</title>
                <link>https://jira.whamcloud.com/browse/LU-14180</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The &quot;&lt;tt&gt;lfs setstripe -E&lt;/tt&gt;&quot; option does not validate the &lt;tt&gt;component_end&lt;/tt&gt; value, allowing files with invalid layouts to be created.  For example:&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;$ lfs setstripe -E 128 -c 1 /mnt/testfs/badfile
lfs setstripe: cannot create composite file &apos;/mnt/testfs/badfile&apos;: Invalid argument
$ ls -l /mnt/testfs
ls: cannot access /mnt/testfs/badfile: Invalid argument
? -?????????? ? ?            ?             ?     badfile
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This also generates errors on the console reporting the invalid stripe count:&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;LustreError: 23302:0:(lov_ea.c:115:lsm_lmm_verify_v1v3()) lov: bad stripe size 128: rc = -22
Lustre: 23303:0:(lov_pack.c:58:lov_dump_lmm_common()) objid 0xc:5025, magic 0x0bd30bd0, pattern 0x1
Lustre: 23303:0:(lov_pack.c:62:lov_dump_lmm_common()) stripe_size 128, stripe_count 1, layout_gen 0
LustreError: 23303:0:(lcommon_cl.c:194:cl_file_inode_init()) testfs: failed to initialize cl_object [0x4000013a1:0xc:0x0]: rc = -22
LustreError: 23303:0:(llite_lib.c:2491:ll_prep_inode()) new_inode -fatal: rc -22
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The &lt;tt&gt;setstripe&lt;/tt&gt; command reported an error, but the file was actually created and is inaccessible and unremovable by normal &lt;tt&gt;unlink()&lt;/tt&gt; operations.  Using &quot;&lt;tt&gt;lfs rmfid&lt;/tt&gt;&quot; allows the file to be unlinked from the filesystem:&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;$ rm /mnt/testfs/badfile
rm: cannot remove &apos;/mnt/testfs/badfile&apos;: Invalid argument
$ unlink /mnt/testfs/badfile
unlink: cannot remove &apos;/mnt/testfs/badfile&apos;: Invalid argument
$ lfs rmfid /mnt/testfs $(lfs getstripe -F /mnt/testfs/badfile)
$
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="61856">LU-14180</key>
            <summary>&quot;lfs setstripe -E&quot; doesn&apos;t validate component end</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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>
                    </labels>
                <created>Fri, 4 Dec 2020 01:04:03 +0000</created>
                <updated>Thu, 4 Mar 2021 15:30:38 +0000</updated>
                            <resolved>Fri, 26 Feb 2021 21:14:44 +0000</resolved>
                                    <version>Lustre 2.10.8</version>
                    <version>Lustre 2.14.0</version>
                    <version>Lustre 2.12.5</version>
                                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="288402" author="pjones" created="Thu, 24 Dec 2020 16:29:31 +0000"  >&lt;p&gt;Jian&lt;/p&gt;

&lt;p&gt;Could you please assist with this one?&lt;/p&gt;

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="288711" author="adilger" created="Tue, 5 Jan 2021 19:50:23 +0000"  >&lt;p&gt;I pushed an unfinished version of a patch that I was working on for this issue when I accidentally made an unrelated patch on the same branch.&lt;/p&gt;

&lt;p&gt;It totally failed testing, but might be worthwhile for Jian to use as a starting point when she has time to look at this. &lt;/p&gt;</comment>
                            <comment id="289680" author="gerrit" created="Sat, 16 Jan 2021 02:50:04 +0000"  >&lt;p&gt;Jian Yu (yujian@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/41239&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/41239&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14180&quot; title=&quot;&amp;quot;lfs setstripe -E&amp;quot; doesn&amp;#39;t validate component end&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14180&quot;&gt;&lt;del&gt;LU-14180&lt;/del&gt;&lt;/a&gt; utils: verify setstripe comp_end is valid&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: e8b86175464e66eaa753b9ed853a84b1d8af894e&lt;/p&gt;</comment>
                            <comment id="293241" author="gerrit" created="Fri, 26 Feb 2021 20:13:30 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/41239/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/41239/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14180&quot; title=&quot;&amp;quot;lfs setstripe -E&amp;quot; doesn&amp;#39;t validate component end&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14180&quot;&gt;&lt;del&gt;LU-14180&lt;/del&gt;&lt;/a&gt; utils: verify setstripe comp_end is valid&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 83e38bba6237f838c9a5d7d36b258cf6dd28bd13&lt;/p&gt;</comment>
                            <comment id="293283" author="pjones" created="Fri, 26 Feb 2021 21:14:44 +0000"  >&lt;p&gt;Landed for 2.15&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </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|i01gbr:</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>