<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:10:29 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-14521] delete FLR mirrors without volatile files</title>
                <link>https://jira.whamcloud.com/browse/LU-14521</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;As noted on &lt;a href=&quot;https://review.whamcloud.com/#/c/41906/2/src/lpurge.c@765:&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/41906/2/src/lpurge.c@765:&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;(suggestion) Rather than opening a volatile file just to delete the mirror, it might be useful to have some &quot;magic&quot; fd that just means &quot;delete the mirror&quot; that can be handled directly by the MDS?  That would avoid at least 2 RPCs per split.&lt;/p&gt;</description>
                <environment></environment>
        <key id="63334">LU-14521</key>
            <summary>delete FLR mirrors without volatile 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="bobijam">Zhenyu Xu</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>bjhpflr</label>
                    </labels>
                <created>Sat, 13 Mar 2021 15:10:36 +0000</created>
                <updated>Thu, 24 Jun 2021 15:24:56 +0000</updated>
                            <resolved>Sun, 11 Apr 2021 12:59:07 +0000</resolved>
                                                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="294923" author="jhammond" created="Sat, 13 Mar 2021 15:13:31 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=bobijam&quot; class=&quot;user-hover&quot; rel=&quot;bobijam&quot;&gt;bobijam&lt;/a&gt; could you look at this? We want a way to do &lt;tt&gt;lfs mirror split &lt;del&gt;d&lt;/tt&gt; without a volatile file. Can the &lt;tt&gt;&lt;/del&gt;-component-del&lt;/tt&gt;  code be adapeted? It would be good to have a mini-design before we implement.&lt;/p&gt;
</comment>
                            <comment id="294975" author="bobijam" created="Mon, 15 Mar 2021 06:43:14 +0000"  >&lt;p&gt;My thought about mirror deleting is that we still use the mdd_xattr_split(), but in the case of mirror deleting, we&apos;d create a new interface unto LOD layer, telling lod to delete all objects in the to-be-deleted mirror. Also we&apos;d take care of mirror-deleting case in mdt_close_handle_layouts(), we don&apos;t need to create the temporary file object in the mirror-deleting case.&lt;/p&gt;</comment>
                            <comment id="295013" author="jhammond" created="Mon, 15 Mar 2021 16:21:37 +0000"  >&lt;p&gt;Seems fine to me.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=bzzz&quot; class=&quot;user-hover&quot; rel=&quot;bzzz&quot;&gt;bzzz&lt;/a&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; any ideas or comments?&lt;/p&gt;</comment>
                            <comment id="295026" author="adilger" created="Mon, 15 Mar 2021 17:51:54 +0000"  >&lt;p&gt;No objection from me as long as we don&apos;t duplicate too much code.&lt;/p&gt;

&lt;p&gt;Looking at &lt;tt&gt;mdd_xattr_split()&lt;/tt&gt; it looks like it will return &lt;tt&gt;-EPERM&lt;/tt&gt; if you try to &quot;split&quot; the layout into the same FID as the source.  One option would be to use this behavior to do the &quot;delete the mirror directly&quot; case, so that userspace can determine whether the server deleted the mirror (i.e. no error returned), or if it needs to do that itself via volatile file (i.e. &lt;tt&gt;-EPERM&lt;/tt&gt; returned).  On the minus side, if users specify the source file as the target file for the split they may be surprised at this behavior, but this could be checked in &lt;tt&gt;lfs&lt;/tt&gt; rather than on the MDS?&lt;/p&gt;</comment>
                            <comment id="295568" author="gerrit" created="Sat, 20 Mar 2021 05:20:25 +0000"  >&lt;p&gt;Bobi Jam (bobijam@hotmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/42116&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/42116&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14521&quot; title=&quot;delete FLR mirrors without volatile files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14521&quot;&gt;&lt;del&gt;LU-14521&lt;/del&gt;&lt;/a&gt; flr: delete mirror without volatile file&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 496231e86aa4b14c4709778589ba92026e67d26c&lt;/p&gt;</comment>
                            <comment id="298482" author="gerrit" created="Sat, 10 Apr 2021 17:40:48 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/42116/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/42116/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14521&quot; title=&quot;delete FLR mirrors without volatile files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14521&quot;&gt;&lt;del&gt;LU-14521&lt;/del&gt;&lt;/a&gt; flr: delete mirror without volatile file&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: b2d73351e64677cb8ff650d92a8744634f73e0fd&lt;/p&gt;</comment>
                            <comment id="298499" author="pjones" created="Sun, 11 Apr 2021 12:59:07 +0000"  >&lt;p&gt;Landed for 2.15&lt;/p&gt;</comment>
                    </comments>
                    <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|i01pen:</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>