<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:35:38 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-10499] Readonly Persistent Client Cache support</title>
                <link>https://jira.whamcloud.com/browse/LU-10499</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Readwrite Persistent Client Cache has been implemented by using HSM features (&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10092&quot; title=&quot;PCC: Lustre Persistent Client Cache&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10092&quot;&gt;&lt;del&gt;LU-10092&lt;/del&gt;&lt;/a&gt;). When a file is cached on Readwrite PCC (RW-PCC), only this single client can read/write to the file. RW-PCC can accelerate I/O intensive applications which read/write data into a file in a single client. However, in some other use cases, part of the files will never be updated, but need to be readed at the same time from multiple clients. Readonly Persistent Client Cache tries to implement a readonly cache level on Lustre clients using SSDs/NVMe.&lt;/p&gt;

&lt;p&gt;Readonly Persistent Client Cache (RO-PCC) shares the same framework with Readwrite Persistent Client Cache, except that no HSM mechanism is used in readonly mode of PCC. Instead, readonly mode of PCC uses grouplock to protect the data from being written from other clients.&lt;/p&gt;

&lt;p&gt;Whenever a file is fetched into RO-PCC, like the archive number of RW-PCC, a grouplock ID needs to be specified. The grouplock of this ID will be held in the client as long as the file is being cached in RO-PCC. Multiple clients can fetch the same file into its local cache using the same grouplock ID. Because of the semantics of grouplock, no other client can read/write from/to the file if the grouplock with the same ID is not held. Also because of the semantics of grouplock, no client can fetch the file to RO-PCC with a different grouplock ID.&lt;/p&gt;</description>
                <environment></environment>
        <key id="50196">LU-10499</key>
            <summary>Readonly Persistent Client Cache support</summary>
                <type id="7" iconUrl="https://jira.whamcloud.com/images/icons/issuetypes/task_agile.png">Technical task</type>
                            <parent id="56799">LU-12714</parent>
                                    <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="qian_wc">Qian Yingjin</assignee>
                                    <reporter username="lixi_wc">Li Xi</reporter>
                        <labels>
                    </labels>
                <created>Fri, 12 Jan 2018 02:05:18 +0000</created>
                <updated>Sat, 23 Sep 2023 06:02:11 +0000</updated>
                            <resolved>Fri, 18 Feb 2022 14:29:17 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="218065" author="lixi" created="Fri, 12 Jan 2018 02:05:45 +0000"  >&lt;p&gt;Patch will be pushed as soon as cleanup finishes.&lt;/p&gt;</comment>
                            <comment id="218086" author="gerrit" created="Fri, 12 Jan 2018 09:14:07 +0000"  >&lt;p&gt;Li Xi (lixi@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/30847&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30847&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10499&quot; title=&quot;Readonly Persistent Client Cache support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10499&quot;&gt;&lt;del&gt;LU-10499&lt;/del&gt;&lt;/a&gt; llite: add readonly support for PCC&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: a5c1ccfdfa3decb879958cff3de32372a763135b&lt;/p&gt;</comment>
                            <comment id="219238" author="adilger" created="Fri, 26 Jan 2018 09:01:44 +0000"  >&lt;p&gt;The one problem with the grouplock is that this will be dropped when the filesystem is restarted. Secondly, the grouplock prevents other clients from reading the file, even if there is still a copy on the original OST.&lt;/p&gt;

&lt;p&gt;What I think would be a better mechanism for this would be to leverage the FLR functionality and state machine directly for the PCC mirrors.&lt;/p&gt;</comment>
                            <comment id="219932" author="lixi" created="Mon, 5 Feb 2018 01:51:36 +0000"  >&lt;p&gt;&amp;gt; The one problem with the grouplock is that this will be dropped when the filesystem is restarted. Secondly, the grouplock prevents other clients from reading the file, even if there is still a copy on the original OST.&lt;/p&gt;

&lt;p&gt;Agreed. However, I don&apos;t think dropping the lock when the file system is restarted is a big problem. Remounting the client doesn&apos;t happen a lot.&lt;/p&gt;

&lt;p&gt;In order to solve the problem that other clients can&apos;t reading the PCC cached files, we can either:&lt;/p&gt;

&lt;p&gt;1) Add readonly support for the grouplock. When some on is holding the readonly grouplock of the file, no write lock is allowed, and only readlock can be granted.&lt;/p&gt;

&lt;p&gt;2) Add none-copy support for readonly PCC. When a client is accessing the file which is cached by other clients on readonly PCC, the client will require the PCC grouplock automatically, but will not copy the data to local storage. Instead, the client will read from the OSTs directly.&lt;/p&gt;

&lt;p&gt;Either way should work well. But I&apos;d prefer solution 2), unless solution 1) can help other use cases since solution 1) will be much harder.&lt;/p&gt;

&lt;p&gt;&amp;gt; What I think would be a better mechanism for this would be to leverage the FLR functionality and state machine directly for the PCC mirrors.&lt;/p&gt;

&lt;p&gt;I don&apos;t have any idea about how to use FLR for PCC. Can you explain more details?&lt;/p&gt;</comment>
                            <comment id="225083" author="gerrit" created="Wed, 4 Apr 2018 06:26:58 +0000"  >&lt;p&gt;Yingjin Qian (qian@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/31868&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31868&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10499&quot; title=&quot;Readonly Persistent Client Cache support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10499&quot;&gt;&lt;del&gt;LU-10499&lt;/del&gt;&lt;/a&gt; llite: Add new DLM mode PCCRO for readonly PCC&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: a6e8e5b5108168cfb907f23122ce2ef0c6a37822&lt;/p&gt;</comment>
                            <comment id="225084" author="qian" created="Wed, 4 Apr 2018 06:35:15 +0000"  >&lt;p&gt;&#160;Currently Readonly mode of PCC uses grouplock to protect the data from being written or even normal read from other clients, even if there is still a copy on the original OSTs.&lt;br/&gt;
 The patch above introduces a new kind of LDLM lock mode PCCRO, which is compatible with PR lock mode (but not compatible with PW and GROUP lock mode), so when the file is PCC-fetched and attached on a client, the client will obtain PCCRO lock on the file, the PCCRO lock is kept until the administrator detachs the PCC-fetched file. It allows the read access for the file data on original OSTs from other clients, but no write lock (PW) is allowed.&lt;/p&gt;</comment>
                            <comment id="226145" author="gerrit" created="Tue, 17 Apr 2018 08:38:21 +0000"  >&lt;p&gt;Yingjin Qian (qian@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/32021&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32021&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10499&quot; title=&quot;Readonly Persistent Client Cache support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10499&quot;&gt;&lt;del&gt;LU-10499&lt;/del&gt;&lt;/a&gt; llite: fix problem of fetch&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 83af1ef273fe694df1fbbf7d4cc3cbb33f803194&lt;/p&gt;</comment>
                            <comment id="230752" author="gerrit" created="Mon, 23 Jul 2018 15:06:49 +0000"  >&lt;p&gt;Yingjin Qian (qian@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/32852&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32852&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10499&quot; title=&quot;Readonly Persistent Client Cache support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10499&quot;&gt;&lt;del&gt;LU-10499&lt;/del&gt;&lt;/a&gt; pcc: add readonly mode for PCC&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 952936bcf729ff8e0a8c013bebe4ebc218bda280&lt;/p&gt;</comment>
                            <comment id="231915" author="gerrit" created="Tue, 14 Aug 2018 09:41:14 +0000"  >&lt;p&gt;Yingjin Qian (qian@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/32998&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32998&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10499&quot; title=&quot;Readonly Persistent Client Cache support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10499&quot;&gt;&lt;del&gt;LU-10499&lt;/del&gt;&lt;/a&gt; pcc: add readonly mode for PCC&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: pcc&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: d8ccc3ef8bbf7c3f180681dd758833875733956e&lt;/p&gt;</comment>
                            <comment id="268203" author="gerrit" created="Wed, 22 Apr 2020 03:08:53 +0000"  >&lt;p&gt;Yingjin Qian (qian@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/38305&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38305&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10499&quot; title=&quot;Readonly Persistent Client Cache support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10499&quot;&gt;&lt;del&gt;LU-10499&lt;/del&gt;&lt;/a&gt; pcc: add readonly mode for PCC&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 22e483f35b11758575fe1d752cf0d40d4e09315f&lt;/p&gt;</comment>
                            <comment id="275947" author="gerrit" created="Wed, 22 Jul 2020 03:31:26 +0000"  >&lt;p&gt;Yingjin Qian (qian@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/39483&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39483&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10499&quot; title=&quot;Readonly Persistent Client Cache support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10499&quot;&gt;&lt;del&gt;LU-10499&lt;/del&gt;&lt;/a&gt; hsm: make HSM layout be a kind of foreign layout&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 10e6228d530df034513d6a41f24f28243e13bae2&lt;/p&gt;</comment>
                            <comment id="286227" author="gerrit" created="Mon, 30 Nov 2020 02:29:15 +0000"  >&lt;p&gt;Yingjin Qian (qian@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/40791&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40791&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10499&quot; title=&quot;Readonly Persistent Client Cache support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10499&quot;&gt;&lt;del&gt;LU-10499&lt;/del&gt;&lt;/a&gt; pcc: introducing OBD_CONNECT2_PCCRO flag&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: d2638ccd5c1a327840c68d875eb30a0a3f4f895d&lt;/p&gt;</comment>
                            <comment id="307003" author="gerrit" created="Mon, 12 Jul 2021 18:46:55 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/40791/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40791/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10499&quot; title=&quot;Readonly Persistent Client Cache support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10499&quot;&gt;&lt;del&gt;LU-10499&lt;/del&gt;&lt;/a&gt; pcc: introducing OBD_CONNECT2_PCCRO flag&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 6007dc9382df7260841a4748158307ade25f22ef&lt;/p&gt;</comment>
                            <comment id="326707" author="JIRAUSER17312" created="Fri, 18 Feb 2022 14:29:09 +0000"  >&lt;p&gt;Per &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=lixi_wc&quot; class=&quot;user-hover&quot; rel=&quot;lixi_wc&quot;&gt;lixi_wc&lt;/a&gt; &#160;&#8211; all the known issues of Readonly PCC have been solved.&lt;/p&gt;</comment>
                            <comment id="339700" author="gerrit" created="Wed, 6 Jul 2022 14:08:11 +0000"  >&lt;p&gt;&quot;Li Xi &amp;lt;lixi@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47887&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47887&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10499&quot; title=&quot;Readonly Persistent Client Cache support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10499&quot;&gt;&lt;del&gt;LU-10499&lt;/del&gt;&lt;/a&gt; pcc: add readonly mode for PCC&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: cbe025c527067f894705df1fe55dccc3cade511a&lt;/p&gt;</comment>
                            <comment id="375932" author="gerrit" created="Tue, 20 Jun 2023 07:24:08 +0000"  >&lt;p&gt;&quot;Qian Yingjin &amp;lt;qian@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51375&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51375&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10499&quot; title=&quot;Readonly Persistent Client Cache support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10499&quot;&gt;&lt;del&gt;LU-10499&lt;/del&gt;&lt;/a&gt; pcc: use foreign layout for PCCRO on server side&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 22dc3585644251aeae2042b6a29f7846a982cbca&lt;/p&gt;</comment>
                            <comment id="387014" author="gerrit" created="Sat, 23 Sep 2023 06:02:11 +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/c/fs/lustre-release/+/51375/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51375/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10499&quot; title=&quot;Readonly Persistent Client Cache support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10499&quot;&gt;&lt;del&gt;LU-10499&lt;/del&gt;&lt;/a&gt; pcc: use foreign layout for PCCRO on server side&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: aebb405e32e4d40bc2d70a95356b3b85be280668&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10120">
                    <name>Blocker</name>
                                            <outwardlinks description="is blocking">
                                        <issuelink>
            <issuekey id="48631">LU-10092</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="59332">LU-13602</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="60209">LU-13842</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="60210">LU-13843</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="60208">LU-13841</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="50522">LU-10602</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="50588">LU-10606</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="60486">LU-13924</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="75392">LU-16700</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|hzzqzz:</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>