<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:56:47 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-12918] PCC should tolerate backend running out of inodes</title>
                <link>https://jira.whamcloud.com/browse/LU-12918</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When the space of the local PCC file system (backend) is exhausted, PCC-RW falls back to the normal I/O path automatically since the capacity of the Lustre file system is probably much larger than the capacity of the PCC device. In this case, the user may notice a pause in writing, but all operations should complete successfully. &lt;/p&gt;

&lt;p&gt;PCC should tolerate running out of inodes on the local PCC file system (backend) and continue the operation by writing/creating files directly to the Lustre file system. Currently, the application gets an error when the PCC backend runs out of inodes. I&#8217;ve seen this issue with auto attach and without auto attach.&lt;/p&gt;

&lt;p&gt;In the following example, /mnt/pcc is a small local ext4 file system on a client node. &lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# mkdir /lustre/scratch/lpcc
# lfs project -sp 100 /lustre/scratch/lpcc
# lctl pcc add /lustre/scratch/ /mnt/pcc/ -p &quot;projid={100} rwid=2 open_attach=1&quot;
# lctl pcc list /lustre/scratch/
/mnt/pcc/:
  rwid: 2
  flags: 7
  autocache: projid={100}
# lfs df
UUID                   1K-blocks        Used   Available Use% Mounted on
scratch-MDT0000_UUID    26213000       77904    23777136   1% /lustre/scratch[MDT:0]
scratch-OST0000_UUID    45430936       54292    43000964   1% /lustre/scratch[OST:0]
scratch-OST0001_UUID    45430936     3202076    39853180   8% /lustre/scratch[OST:1]

filesystem_summary:     90861872     3256368    82854144   4% /lustre/scratch

# df /mnt/pcc
Filesystem     1K-blocks  Used Available Use% Mounted on
/dev/vda3        1998672  6416   1871016   1% /mnt/pcc
# compilebench -D /lustre/scratch/lpcc -i 2 -r 2
using working directory /lustre/scratch/lpcc, 2 intial dirs 2 runs
Traceback (most recent call last):
  File &quot;/usr/bin/compilebench&quot;, line 567, in &amp;lt;module&amp;gt;
    dset = dataset(options.sources, rnd)
  File &quot;/usr/bin/compilebench&quot;, line 319, in _init_
    self.unpatched = native_order(self.unpatched, &quot;unpatched&quot;)
  File &quot;/usr/bin/compilebench&quot;, line 97, in native_order
    run_directory(tmplist, dirname, &quot;native %s&quot; % tag)
  File &quot;/usr/bin/compilebench&quot;, line 225, in run_directory
    fp = file(fname, &apos;a+&apos;)
IOError: [Errno 28] No space left on device: &apos;/lustre/scratch/lpcc/native-0/include/linux/font.h&apos;

# df /mnt/pcc
Filesystem     1K-blocks   Used Available Use% Mounted on
/dev/vda3        1998672 695880   1181552  38% /mnt/pcc
# df -i /mnt/pcc
Filesystem     Inodes  IUsed IFree IUse% Mounted on
/dev/vda3      131072 131072     0  100% /mnt/pcc

# lfs df
UUID                   1K-blocks        Used   Available Use% Mounted on
scratch-MDT0000_UUID    26213000       82676    23772364   1% /lustre/scratch[MDT:0]
scratch-OST0000_UUID    45430936       54292    43000964   1% /lustre/scratch[OST:0]
scratch-OST0001_UUID    45430936     3202076    39853180   8% /lustre/scratch[OST:1]

filesystem_summary:     90861872     3256368    82854144   4% /lustre/scratch
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="57271">LU-12918</key>
            <summary>PCC should tolerate backend running out of inodes</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <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="jamesanunez">James Nunez</reporter>
                        <labels>
                            <label>PCC</label>
                    </labels>
                <created>Wed, 30 Oct 2019 15:11:18 +0000</created>
                <updated>Wed, 6 Nov 2019 09:38:53 +0000</updated>
                                            <version>Lustre 2.13.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                    <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|i00orb:</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>