<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:57:37 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-13012] WBC: Rule based auto WBC</title>
                <link>https://jira.whamcloud.com/browse/LU-13012</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In current WBC prototype,&#160; all newly directories are created with subtree EX lock returned (WBC). All directories are treated equally with metadata writeback caching. There is no any customization.&lt;/p&gt;

&lt;p&gt;It can define various auto caching rule for WBC when create a new directory similar to TBF or PCC.&lt;/p&gt;

&lt;p&gt;When a new create directory meets the rule condition, it can try to obtain EX WBC lock from MDS and keep exclusive access on the directory under the protection of the EX lock on the client.&lt;/p&gt;

&lt;p&gt;The rule can be combination of uid/gid/projid/fname or jobid.&lt;/p&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;
# lctl wbc $MOUNT $rule
# lctl wbc /mnt/lustre &#8220;projid={100}&#8221;
# lctl wbc /mnt/lustre &#8220;uid={500}&amp;amp;gid={500},fname={*dirmatch*}&#8221;
# lctl wbc /mnt/lustre &#8220;jobid={dd.*}&#8221; &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="57462">LU-13012</key>
            <summary>WBC: Rule based auto WBC</summary>
                <type id="7" iconUrl="https://jira.whamcloud.com/images/icons/issuetypes/task_agile.png">Technical task</type>
                            <parent id="51932">LU-10938</parent>
                                    <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="qian_wc">Qian Yingjin</assignee>
                                    <reporter username="qian_wc">Qian Yingjin</reporter>
                        <labels>
                    </labels>
                <created>Tue, 26 Nov 2019 09:41:52 +0000</created>
                <updated>Tue, 17 May 2022 07:54:35 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="258872" author="adilger" created="Wed, 27 Nov 2019 00:52:24 +0000"  >&lt;p&gt;I suspect that in most cases this should not be needed. Caching metadata does not take a lot of space compared to file data, and if the background age and lock cancellation is working efficiently then WBC should be totally transparent to the user.  The main use for this would be to allow tuning the WBC state of existing directories if a simple policy like &quot;ask MDS for EX lock after N creates in existing directory&quot; is not enough. The MDS can always refuse the EX lock and just create the file if there is contention in that directory. &lt;/p&gt;

&lt;p&gt;This should be considered a WBC v2 &quot;nice to have&quot; goal, but I don&apos;t think it is needed for v1.  It would probably make more sense to spend time to optimize the writeback performance (eg. batch RPCs) so that cache flush can happen quickly and efficiently in the background.&lt;/p&gt;</comment>
                            <comment id="334557" author="gerrit" created="Thu, 12 May 2022 14:08:59 +0000"  >&lt;p&gt;&quot;Yingjin Qian &amp;lt;qian@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47312&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47312&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13012&quot; title=&quot;WBC: Rule based auto WBC&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13012&quot;&gt;LU-13012&lt;/a&gt; wbc: auto WBC based on the rule of project ID&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 8c18008e01c2636bcd801af945d436394cc7097e&lt;/p&gt;</comment>
                            <comment id="334756" author="gerrit" created="Fri, 13 May 2022 10:00:50 +0000"  >&lt;p&gt;&quot;Yingjin Qian &amp;lt;qian@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47338&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47338&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13012&quot; title=&quot;WBC: Rule based auto WBC&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13012&quot;&gt;LU-13012&lt;/a&gt; pcc: abstract rule parsing and matching func&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: be131170885253952332d7f8083f3e4247fd5354&lt;/p&gt;</comment>
                            <comment id="335065" author="gerrit" created="Tue, 17 May 2022 07:54:35 +0000"  >&lt;p&gt;&quot;Yingjin Qian &amp;lt;qian@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47367&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47367&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13012&quot; title=&quot;WBC: Rule based auto WBC&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13012&quot;&gt;LU-13012&lt;/a&gt; wbc: customizable rule based auto WBC&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 2968194daf58c4dbe6e5361dbde33a381e4c986c&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="51932">LU-10938</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="57469">LU-13015</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|i00pxr:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>