<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:55:59 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-5957] Broken layout after swapping layouts with unstriped files</title>
                <link>https://jira.whamcloud.com/browse/LU-5957</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The following operations sequence eventually fails with EBADF (let fstripe be a striped file, fnostripeX unstriped files):&lt;/p&gt;

&lt;p&gt;1) swap_layouts fstripe fnostripe1&lt;br/&gt;
2) I/O into fstripe&lt;br/&gt;
3) swap_layouts fstripe fnostripe2&lt;br/&gt;
4) I/O into fstripe # Fails with EBADF&lt;/p&gt;

&lt;p&gt;Please find a reproducer attached. This seems to affect current master as well as older versions of that provide layout swap.&lt;/p&gt;

&lt;p&gt;The file remains unavailable, also after a client umount/remount or from another client.&lt;/p&gt;

&lt;p&gt;It seems that lov_conf_set() doesn&apos;t call lov_layout_change() in the second case, leading to lov_io_init_empty() being called eventually on the write...&lt;/p&gt;</description>
                <environment></environment>
        <key id="27725">LU-5957</key>
            <summary>Broken layout after swapping layouts with unstriped files</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="bfaccini">Bruno Faccini</assignee>
                                    <reporter username="hdoreau">Henri Doreau</reporter>
                        <labels>
                            <label>cea</label>
                            <label>patch</label>
                    </labels>
                <created>Wed, 26 Nov 2014 09:12:15 +0000</created>
                <updated>Thu, 1 Sep 2016 12:42:33 +0000</updated>
                            <resolved>Tue, 3 Feb 2015 18:20:36 +0000</resolved>
                                    <version>Lustre 2.4.1</version>
                    <version>Lustre 2.7.0</version>
                    <version>Lustre 2.5.3</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="100124" author="hdoreau" created="Wed, 26 Nov 2014 13:59:16 +0000"  >&lt;p&gt;&quot;unstriped&quot; is probably poorly chosen, I mean files with no LOV EA.&lt;/p&gt;</comment>
                            <comment id="100189" author="bfaccini" created="Thu, 27 Nov 2014 10:34:21 +0000"  >&lt;p&gt;I wonder if this could be related to &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2766&quot; title=&quot;lov_object.c:635:lov_layout_change()) ASSERTION( atomic_read(&amp;amp;lov-&amp;gt;lo_active_ios) == 0 ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2766&quot;&gt;&lt;del&gt;LU-2766&lt;/del&gt;&lt;/a&gt;, with a new symptom ?&lt;/p&gt;</comment>
                            <comment id="100191" author="hdoreau" created="Thu, 27 Nov 2014 12:33:52 +0000"  >&lt;p&gt;I don&apos;t think so, according to our analysis (which just ended) this is a server-side issue. It comes from a missing clear of a MDT flag after a swap layout that removes LOV. We will provide a patch.&lt;/p&gt;</comment>
                            <comment id="100215" author="bfaccini" created="Fri, 28 Nov 2014 11:43:00 +0000"  >&lt;p&gt;Ah ok, so I wonder if this could be in mdd_swap_layouts() after the swap has been re-ordered to start by the no layout file ??&lt;/p&gt;</comment>
                            <comment id="100219" author="gerrit" created="Fri, 28 Nov 2014 13:34:57 +0000"  >&lt;p&gt;Henri Doreau (henri.doreau@cea.fr) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/12877&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12877&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5957&quot; title=&quot;Broken layout after swapping layouts with unstriped files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5957&quot;&gt;&lt;del&gt;LU-5957&lt;/del&gt;&lt;/a&gt; mdt: Update MDT flags after layout swap&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: dcebecc7d669e71c45597d07715faed4e49885e9&lt;/p&gt;</comment>
                            <comment id="100220" author="hdoreau" created="Fri, 28 Nov 2014 13:42:40 +0000"  >&lt;p&gt;Bruno, as you might see in the patch above it&apos;s an mdt issue: an I/O on a non-striped file invokes mdt_create_data, which creates the LOV and set MOF_LOV_CREATED on the object. If you &quot;destripe&quot; this object again an re-do an I/O this flag will prevent the LOV from being re-created as expected.&lt;/p&gt;</comment>
                            <comment id="105534" author="gerrit" created="Tue, 3 Feb 2015 18:09:57 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/12877/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12877/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5957&quot; title=&quot;Broken layout after swapping layouts with unstriped files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5957&quot;&gt;&lt;del&gt;LU-5957&lt;/del&gt;&lt;/a&gt; mdt: Update MDT flags after layout swap&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 1d3ee3ed2b56d73f392e1b2a033f7d274f5202d9&lt;/p&gt;</comment>
                            <comment id="105542" author="pjones" created="Tue, 3 Feb 2015 18:20:36 +0000"  >&lt;p&gt;Landed for 2.7&lt;/p&gt;</comment>
                            <comment id="106233" author="hdoreau" created="Mon, 9 Feb 2015 08:36:15 +0000"  >&lt;p&gt;Could this be considered for 2.5?&lt;/p&gt;</comment>
                            <comment id="110982" author="gerrit" created="Mon, 30 Mar 2015 09:06:59 +0000"  >&lt;p&gt;Henri Doreau (henri.doreau@cea.fr) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/14255&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/14255&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5957&quot; title=&quot;Broken layout after swapping layouts with unstriped files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5957&quot;&gt;&lt;del&gt;LU-5957&lt;/del&gt;&lt;/a&gt; mdt: Update MDT flags after layout swap&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_5&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 6032c1e646942169d73ea3763c0399c5d663e498&lt;/p&gt;</comment>
                            <comment id="110983" author="hdoreau" created="Mon, 30 Mar 2015 09:10:22 +0000"  >&lt;p&gt;Here is a 2.5 backport: &lt;a href=&quot;http://review.whamcloud.com/14255&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/14255&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="16480" name="ebadf.sh" size="423" author="hdoreau" created="Wed, 26 Nov 2014 09:12:15 +0000"/>
                    </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|hzx1kv:</customfieldvalue>

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