<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:29: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-9767] FS name checking got removed</title>
                <link>https://jira.whamcloud.com/browse/LU-9767</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://review.whamcloud.com/#/c/24325/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/24325/&lt;/a&gt; removed name length and content checking for the fsname.&lt;/p&gt;

&lt;p&gt;You can now format a FS with up to 16 characters, but can only reference 8 of them in various places, 16 in others.&lt;/p&gt;</description>
                <environment></environment>
        <key id="47213">LU-9767</key>
            <summary>FS name checking got removed</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="simmonsja">James A Simmons</assignee>
                                    <reporter username="bevans">Ben Evans</reporter>
                        <labels>
                    </labels>
                <created>Wed, 12 Jul 2017 18:08:25 +0000</created>
                <updated>Thu, 21 Sep 2017 12:14:37 +0000</updated>
                            <resolved>Mon, 28 Aug 2017 14:47:30 +0000</resolved>
                                    <version>Lustre 2.10.1</version>
                    <version>Lustre 2.11.0</version>
                                    <fixVersion>Lustre 2.10.1</fixVersion>
                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="201875" author="simmonsja" created="Wed, 12 Jul 2017 18:43:55 +0000"  >&lt;p&gt;John Hammond asked for this.  User land can scribble what ever it wants but kernel space should be rejecting the invalid file system name. The same goes for pool names. Is this not the case?&lt;/p&gt;</comment>
                            <comment id="201878" author="bevans" created="Wed, 12 Jul 2017 19:31:51 +0000"  >&lt;p&gt;Well, you get some weird looking bugs from it:&lt;/p&gt;

&lt;p&gt;tunefs.lustre:&lt;br/&gt;
   Permanent disk data:&lt;br/&gt;
Target:     asdfasdf-MDT0000&lt;br/&gt;
Index:      0&lt;br/&gt;
Lustre FS:  asdfasdfasdfasd&lt;br/&gt;
Mount type: ldiskfs&lt;br/&gt;
Flags:      0x5&lt;br/&gt;
              (MDT MGS )&lt;br/&gt;
Persistent mount opts: user_xattr,errors=remount-ro&lt;br/&gt;
Parameters:&lt;/p&gt;

&lt;p&gt;so the fsname got accepted, but is truncated, except where it&apos;s not. I haven&apos;t fully sorted out what tools would refer to it by its full name, rather than the truncated one.  mkfs.lustre happily accepts it, throwing no errors (up to 16 chars).  I&apos;d be curious what happens if you give it a raft of control characters.  Regardless, this is a UI error, as the user should be informed of the problem in some manner.&lt;/p&gt;</comment>
                            <comment id="202200" author="adilger" created="Sat, 15 Jul 2017 02:07:50 +0000"  >&lt;p&gt;For mkfs.lustre, the problem is that there is no way for the kernel to verify the fsname because the kernel isn&apos;t even involved until the filesystem is mounted.&lt;/p&gt;

&lt;p&gt;My recommendation would be make a quick patch to add checks into &lt;tt&gt;mount_utils_ldiskfs.c&lt;/tt&gt; and &lt;tt&gt;mount_utils_zfs.c&lt;/tt&gt; that the fsname is &amp;lt;= 8 characters, and do not include a &apos;.&apos; or other illegal character, and then separately we can examine whether it is safe to have a longer fsname where that works (e.g. ZFS where it isn&apos;t limited by the size of &lt;tt&gt;s_volume_name&lt;/tt&gt; in the superblock) and make a patch to allow ZFS to have a longer fsname.  This will need a code review of where fsname is used on disk and over the network, to verify there aren&apos;t explicit or implicit limitations based on the length.&lt;/p&gt;</comment>
                            <comment id="202390" author="gerrit" created="Mon, 17 Jul 2017 20:31:10 +0000"  >&lt;p&gt;James Simmons (uja.ornl@yahoo.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/28070&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28070&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9767&quot; title=&quot;FS name checking got removed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9767&quot;&gt;&lt;del&gt;LU-9767&lt;/del&gt;&lt;/a&gt; utils: validate filesystem name for mkfs.lustre&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 654f635ed795d6eed28a37585dbfaec7f42b6342&lt;/p&gt;</comment>
                            <comment id="206536" author="gerrit" created="Mon, 28 Aug 2017 06:24:56 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/28070/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28070/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9767&quot; title=&quot;FS name checking got removed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9767&quot;&gt;&lt;del&gt;LU-9767&lt;/del&gt;&lt;/a&gt; utils: validate filesystem name for mkfs.lustre&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 28216a73f4c0b19ef45e3ec2d6949801f6b9f828&lt;/p&gt;</comment>
                            <comment id="206599" author="pjones" created="Mon, 28 Aug 2017 14:47:30 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                            <comment id="208331" author="gerrit" created="Thu, 14 Sep 2017 01:23:50 +0000"  >&lt;p&gt;James Simmons (uja.ornl@yahoo.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/28996&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28996&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9767&quot; title=&quot;FS name checking got removed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9767&quot;&gt;&lt;del&gt;LU-9767&lt;/del&gt;&lt;/a&gt; utils: validate filesystem name for mkfs.lustre&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 51deb7c46a0509732a9274bfc87a0d762f40114b&lt;/p&gt;</comment>
                            <comment id="208421" author="gerrit" created="Thu, 14 Sep 2017 20:41:31 +0000"  >&lt;p&gt;John L. Hammond (john.hammond@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/28996/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28996/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9767&quot; title=&quot;FS name checking got removed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9767&quot;&gt;&lt;del&gt;LU-9767&lt;/del&gt;&lt;/a&gt; utils: validate filesystem name for mkfs.lustre&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ba56efcfdd53f3066d95bb2274f6f9cca9e34c0b&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="29243">LU-6401</issuekey>
        </issuelink>
                            </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|hzzgkf:</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>