<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:20:47 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-15727] lod_get_default_lov_striping() misinterprets composite striping for append</title>
                <link>https://jira.whamcloud.com/browse/LU-15727</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In &lt;tt&gt;lod_get_default_lov_striping()&lt;/tt&gt; if the default striping is composite and dah_append_stripes is non zero then we try to read lmm_pattern from a struct lov_comp_md_v1 which isn&apos;t really there and we get confused.&lt;/p&gt;

&lt;p&gt;To reproduce:&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;$LUSTRE/tets/llmount.sh 
POOL=lustre.pool0
lctl pool_new $POOL
lctl pool_add $POOL OST0000
lctl pool_add $POOL OST0001
lfs setstripe -E 1M -c 1 -p $POOL -E 2M -c 2 -p $POOL -E eof -c -1 /mnt/lustre
lctl set_param debug=&apos;+layout trace&apos;
lctl clear echo XXX &amp;gt;&amp;gt; /mnt/lustre/f0
lctl dk | grep lod_get_default_lov_striping
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Output:&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;00000004:00000001:1.0:1649345555.830519:0:1905344:0:(lod_object.c:5263:lod_get_default_lov_striping()) Process entered
00000004:00000001:1.0:1649345555.830540:0:1905344:0:(lod_object.c:5347:lod_get_default_lov_striping()) Process leaving (rc=18446744073709551594 : -22 : ffffffffffffffea)
00000004:00000001:1.0:1649345555.830543:0:1905344:0:(lod_object.c:5263:lod_get_default_lov_striping()) Process entered
00000004:00000001:1.0:1649345555.830553:0:1905344:0:(lod_object.c:5347:lod_get_default_lov_striping()) Process leaving rc=18446744073709551594 : -22 : ffffffffffffffea)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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; (!lov_pattern_supported(v1-&amp;gt;lmm_pattern) &amp;amp;&amp;amp;
                    !(v1-&amp;gt;lmm_pattern &amp;amp; LOV_PATTERN_F_RELEASED)) {
			lod_free_def_comp_entries(lds);
                        RETURN(-EINVAL);
                }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is because we use &lt;tt&gt;composite&lt;/tt&gt; in two different senses: lti_ea_store contains a composite layout, &lt;b&gt;and&lt;/b&gt; we should return a composite layout.&lt;/p&gt;</description>
                <environment></environment>
        <key id="69596">LU-15727</key>
            <summary>lod_get_default_lov_striping() misinterprets composite striping for append</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="jhammond">John Hammond</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Apr 2022 15:37:20 +0000</created>
                <updated>Tue, 16 Jan 2024 22:18:01 +0000</updated>
                            <resolved>Tue, 12 Jul 2022 22:05:04 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="331328" author="gerrit" created="Thu, 7 Apr 2022 16:37:45 +0000"  >&lt;p&gt;&quot;John L. Hammond &amp;lt;jhammond@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47014&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47014&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15727&quot; title=&quot;lod_get_default_lov_striping() misinterprets composite striping for append&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15727&quot;&gt;&lt;del&gt;LU-15727&lt;/del&gt;&lt;/a&gt; lod: honor append_pool with default composite layouts&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 69eb62ad9432dbb15a871f9e8ee6dbf3d3aa8a48&lt;/p&gt;</comment>
                            <comment id="331346" author="jhammond" created="Thu, 7 Apr 2022 18:28:28 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=adilger&quot; class=&quot;user-hover&quot; rel=&quot;adilger&quot;&gt;adilger&lt;/a&gt;, &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=paf0186&quot; class=&quot;user-hover&quot; rel=&quot;paf0186&quot;&gt;paf0186&lt;/a&gt;&lt;br/&gt;
When the default striping is PFL with a DoM component then what should happen for O_APPEND:&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 -L mdt -E 1M -E -1 -c 2 .
# echo XXXX &amp;gt;&amp;gt; f0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;What should the striping be?&lt;/p&gt;</comment>
                            <comment id="331349" author="adilger" created="Thu, 7 Apr 2022 18:48:54 +0000"  >&lt;p&gt;IMHO, the appended file should still be a plain layout file on an OST using the &lt;tt&gt;mdd.&amp;#42;.append_&amp;#42;&lt;/tt&gt; parameters.  Using a DoM file for append could cause grief if the file grows very large, as there wouldn&apos;t be any way to limit the size. I think this is reasonable and straight forward until/if there is a fix that avoids instantiating all components of an appended file. &lt;/p&gt;</comment>
                            <comment id="331353" author="paf0186" created="Thu, 7 Apr 2022 19:39:37 +0000"  >&lt;p&gt;I don&apos;t really have an opinion here - Andreas&apos; comment seems reasonable to me.&lt;/p&gt;</comment>
                            <comment id="340114" author="gerrit" created="Mon, 11 Jul 2022 22:30:42 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/47014/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47014/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15727&quot; title=&quot;lod_get_default_lov_striping() misinterprets composite striping for append&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15727&quot;&gt;&lt;del&gt;LU-15727&lt;/del&gt;&lt;/a&gt; lod: honor append_pool with default composite layouts&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 03963106926883cf322e085feb8caa3ea64db1d1&lt;/p&gt;</comment>
                            <comment id="340199" author="pjones" created="Tue, 12 Jul 2022 22:05:04 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                            <comment id="340494" author="green" created="Fri, 15 Jul 2022 05:17:37 +0000"  >&lt;p&gt;I feel like &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16014&quot; title=&quot;sanity test_27M: crash in lod_qos_prep_create() &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16014&quot;&gt;&lt;del&gt;LU-16014&lt;/del&gt;&lt;/a&gt; is a regression introduced by this patch&lt;/p&gt;</comment>
                            <comment id="340868" author="pjones" created="Tue, 19 Jul 2022 15:16:34 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=green&quot; class=&quot;user-hover&quot; rel=&quot;green&quot;&gt;green&lt;/a&gt;&#160; should we try reverting this patch to confirm?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="45499">LU-9341</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="76412">LU-16872</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="71157">LU-16014</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|i02mnj:</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>