<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:08:12 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-7357] Add layout lock for striped directories.</title>
                <link>https://jira.whamcloud.com/browse/LU-7357</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Currently DNE2 doesn&apos;t handle layout locks to revoke the layout if it is changed. When performing an migration on a striped directory the layout lock needs to be invalidated so the client can refresh the layout.&lt;/p&gt;</description>
                <environment></environment>
        <key id="32909">LU-7357</key>
            <summary>Add layout lock for striped directories.</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="10200">Won&apos;t Do</resolution>
                                        <assignee username="laisiyao">Lai Siyao</assignee>
                                    <reporter username="simmonsja">James A Simmons</reporter>
                        <labels>
                            <label>dne2</label>
                            <label>dne3</label>
                    </labels>
                <created>Thu, 29 Oct 2015 20:44:24 +0000</created>
                <updated>Tue, 30 Nov 2021 11:11:41 +0000</updated>
                            <resolved>Tue, 30 Nov 2021 11:11:41 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="132179" author="green" created="Fri, 30 Oct 2015 17:10:05 +0000"  >&lt;p&gt;So I am not really sure what does it have to do with layout lock?&lt;/p&gt;

&lt;p&gt;Unlink invalidates an update lock to flush client readdir cache and that should be enough.&lt;/p&gt;

&lt;p&gt;Can you please elaborate here about what it is you are trying to achieve?&lt;/p&gt;</comment>
                            <comment id="132202" author="simmonsja" created="Fri, 30 Oct 2015 19:14:29 +0000"  >&lt;p&gt;All the details are in the patch : &lt;a href=&quot;http://review.whamcloud.com/#/c/10110&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/10110&lt;/a&gt;. The patch needs a rebase.&lt;/p&gt;</comment>
                            <comment id="132260" author="pjones" created="Sat, 31 Oct 2015 03:52:11 +0000"  >&lt;p&gt;Di &lt;/p&gt;

&lt;p&gt;This appears to have been your patch originally&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="165505" author="adilger" created="Fri, 9 Sep 2016 17:43:24 +0000"  >&lt;p&gt;This will be needed when we implement directory restriping.&lt;/p&gt;</comment>
                            <comment id="216629" author="adilger" created="Mon, 18 Dec 2017 18:21:30 +0000"  >&lt;p&gt;Lai, is there actually a need for a separate layout bit for directory migration?  Oleg thinks we can use the UPDATE bit to cancel the directory cache. Will the client get a new directory layout after that?&lt;/p&gt;</comment>
                            <comment id="226914" author="laisiyao" created="Sat, 28 Apr 2018 08:05:30 +0000"  >&lt;p&gt;Directory migration will migrate directory to a new fid, so the inode is different after migration. But there is one place that directory layout may change: after all sub files migration the parent directory will be shrunk to contain new layout only.&lt;/p&gt;

&lt;p&gt;But I don&apos;t see the benefit of introducing this bit, because it can&apos;t eleminate race: client can&apos;t hold ibit lock, its layout can be stale at any moment with or without this bit lock. But this race is not serious, because &lt;a href=&quot;https://review.whamcloud.com/#/c/31504/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/31504/&lt;/a&gt; adds rules to access migrating directory, operations through old layout may fail, but they won&apos;t corrupt the directory.&lt;/p&gt;

&lt;p&gt;Directory layout will be updated after each lookup, getattr, setattr, setdirstripe and open, I&apos;d say it&apos;s protected by UPDATE bit, but it&apos;s used by MDT to serialize operations, client won&apos;t clear its directory layout upon UPDATE bit revoke, because it needs layout information to access directory (just like fid), and I think we&apos;ve kept it up-to-date already.&lt;/p&gt;</comment>
                            <comment id="238083" author="laisiyao" created="Thu, 6 Dec 2018 08:42:57 +0000"  >&lt;p&gt;Now directory layout is protected by LOOKUP lock, since directory layout is revoked only by directory migration/shrink and LFSCK layout recreate, put it under LOOKUP lock won&apos;t cause too many lock revoke.&lt;/p&gt;</comment>
                            <comment id="319419" author="adilger" created="Mon, 29 Nov 2021 23:10:48 +0000"  >&lt;p&gt;Lai, with the changes in patch &lt;a href=&quot;https://review.whamcloud.com/45370&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45370&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14448&quot; title=&quot;lod_get_default_lov_striping() may crash for uninitialized .llc_pool&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14448&quot;&gt;&lt;del&gt;LU-14448&lt;/del&gt;&lt;/a&gt; lod: verify LOV early in lod_get_default_striping&lt;/tt&gt;&quot; and patch &lt;a href=&quot;https://review.whamcloud.com/45237&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45237&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15070&quot; title=&quot;client does not inherit default directory layout if changed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15070&quot;&gt;&lt;del&gt;LU-15070&lt;/del&gt;&lt;/a&gt; llite: update default LMV upon any change&lt;/tt&gt;&quot; is there anything left to be done here?  &lt;/p&gt;

&lt;p&gt;If not, then the patch &lt;a href=&quot;https://review.whamcloud.com/10110&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/10110&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7357&quot; title=&quot;Add layout lock for striped directories.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7357&quot;&gt;&lt;del&gt;LU-7357&lt;/del&gt;&lt;/a&gt; lmv: add layout lock to striped directory&lt;/tt&gt;&quot; could be abandoned and this ticket closed.&lt;/p&gt;</comment>
                            <comment id="319444" author="laisiyao" created="Tue, 30 Nov 2021 02:35:27 +0000"  >&lt;p&gt;Andreas, yes, &lt;a href=&quot;https://review.whamcloud.com/10110&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/10110&lt;/a&gt; can be abandoned and this can be closed.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10120">
                    <name>Blocker</name>
                                            <outwardlinks description="is blocking">
                                        <issuelink>
            <issuekey id="23373">LU-4684</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="31033">LU-6831</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="62950">LU-14448</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="66529">LU-15070</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="37324">LU-8230</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_10490" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 2 Jun 2016 20:44:24 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzxrtz:</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_10493" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 29 Oct 2015 20:44:24 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>