<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:48:08 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-5054] File creation failure in directory with 16 byte pool name</title>
                <link>https://jira.whamcloud.com/browse/LU-5054</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The codes have some inconsistency about the length of pool name. Creating and setting a 16 byte pool name to a directory succeeds. But creating a file under that directory fails. Following script will reproduce that problem.&lt;/p&gt;

&lt;p&gt;#!/bin/bash&lt;br/&gt;
FSNAME=server1&lt;br/&gt;
MNT=/mnt/lustre&lt;br/&gt;
lctl pool_new $FSNAME.aaaaaaaaaaaaaaaa&lt;br/&gt;
lctl pool_add $FSNAME.aaaaaaaaaaaaaaaa $FSNAME-OST0000&lt;br/&gt;
mkdir $MNT/dir2&lt;br/&gt;
lfs setstripe -p aaaaaaaaaaaaaaaa $MNT/dir2&lt;br/&gt;
dd if=/dev/zero of=$MNT/dir2/file bs=1M count=100&lt;/p&gt;</description>
                <environment></environment>
        <key id="24696">LU-5054</key>
            <summary>File creation failure in directory with 16 byte pool name</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="cliffw">Cliff White</assignee>
                                    <reporter username="lixi">Li Xi</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Tue, 13 May 2014 07:22:11 +0000</created>
                <updated>Thu, 4 Aug 2016 22:21:31 +0000</updated>
                            <resolved>Sun, 2 Nov 2014 16:24:56 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="83963" author="lixi" created="Tue, 13 May 2014 07:40:26 +0000"  >&lt;p&gt;I am not sure which way is the best to fix this, because it is easy to break compatibility. Following is a patch which tries to fix it.&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/10306&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10306&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="84027" author="cliffw" created="Tue, 13 May 2014 17:30:18 +0000"  >&lt;p&gt;Thank you for the contribution, the patch is in our testing system and will be reviewed. &lt;/p&gt;</comment>
                            <comment id="86134" author="cliffw" created="Mon, 9 Jun 2014 18:31:17 +0000"  >&lt;p&gt;Will you be submitting a new patch to address the reviews?&lt;/p&gt;</comment>
                            <comment id="87123" author="lixi" created="Fri, 20 Jun 2014 03:46:29 +0000"  >&lt;p&gt;Sorry for my late reply. I&apos;ve updated the patch.&lt;/p&gt;

&lt;p&gt;Regarding compatibility concerns about that patch, I found that existing pools which have 16 byte names will be ignored when running on Lustre with that patch. And I don&apos;t think 16 byte pool name was widely used before, since it was not working well at all.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@vm12 CONFIGS&amp;#93;&lt;/span&gt;# pwd&lt;br/&gt;
/mnt/ldiskfs/CONFIGS&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@vm12 CONFIGS&amp;#93;&lt;/span&gt;# llog_reader vm12-client  | grep pool&lt;br/&gt;
#31 (120)pool new 0:vm12-clilov  1:vm12  2:aaaaaaaaaaaaaaaa  &lt;br/&gt;
#34 (144)pool add 0:vm12-clilov  1:vm12  2:aaaaaaaaaaaaaaaa  3:vm12-OST0000_UUID  &lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@vm12 CONFIGS&amp;#93;&lt;/span&gt;# lctl pool_list vm12&lt;br/&gt;
Pools from vm12:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@vm12 CONFIGS&amp;#93;&lt;/span&gt;# ll /proc/fs/lustre/lov/vm12-MDT0000-mdtlov/pools/&lt;br/&gt;
total 0&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@vm12 CONFIGS&amp;#93;&lt;/span&gt;# ll /proc/fs/lustre/lov/*/pools&lt;br/&gt;
/proc/fs/lustre/lov/vm12-clilov-ffff8800ce9f0800/pools:&lt;br/&gt;
total 0&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@vm12 CONFIGS&amp;#93;&lt;/span&gt;# ll /proc/fs/lustre/lod/vm12-MDT0000-mdtlov/pools/&lt;br/&gt;
total 0&lt;/p&gt;</comment>
                            <comment id="98142" author="cliffw" created="Sun, 2 Nov 2014 16:24:53 +0000"  >&lt;p&gt;Patch has been merged, I am closing this issue, please reopen if needed&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="37792">LUDOC-340</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|hzwmef:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13962</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>