<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:48:45 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-11994] Add support for LSOM in LFSCK</title>
                <link>https://jira.whamcloud.com/browse/LU-11994</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;From Andreas:&lt;/p&gt;

&lt;p&gt;It makes sense to enhance LFSCK to update the LSOM size during a scan so that it is available and accurate for all existing files.&lt;/p&gt;</description>
                <environment></environment>
        <key id="54963">LU-11994</key>
            <summary>Add support for LSOM in LFSCK</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="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="lixi_wc">Li Xi</reporter>
                        <labels>
                    </labels>
                <created>Sat, 23 Feb 2019 15:25:08 +0000</created>
                <updated>Wed, 13 Oct 2021 22:59:28 +0000</updated>
                                                            <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="243785" author="lixi_wc" created="Wed, 13 Mar 2019 01:30:21 +0000"  >&lt;p&gt;Agreed on the importance of this ticket. @Joeseph Gmitter Anyone can help Yingjin on the LFSCK development? It would reduce the time spending on learning the codes.&lt;/p&gt;</comment>
                            <comment id="243934" author="pfarrell" created="Thu, 14 Mar 2019 15:53:18 +0000"  >&lt;p&gt;So how would we do this?&#160; The client has a mechanism for getting size, sending glimpse requests to the OSTs, but is that available from the MDS/from lfsck?&#160; I assume not, since it uses the whole CLIO stack to calculate file size.&#160; Is there an equivalent mechanism available to the MDS?&#160; The MDS has the layout, of course, but the problem is using it to get the size.&lt;/p&gt;

&lt;p&gt;Next question is, where would we put this?&#160; A new kind of lfsck scan seems like the right place for this, rather than in one of the existing scans, but I don&apos;t have that much detail on lfsck.&lt;/p&gt;

&lt;p&gt;A little more input on the high level design would help make this implementable for someone like Yingjin or I, who don&apos;t know lfsck well.&lt;/p&gt;</comment>
                            <comment id="243952" author="bzzz" created="Thu, 14 Mar 2019 20:29:49 +0000"  >&lt;p&gt;LFSCK can get attributes for OST objects using OUT. not sure one dedicated scan is required.&lt;/p&gt;</comment>
                            <comment id="292582" author="adilger" created="Mon, 22 Feb 2021 08:56:31 +0000"  >&lt;p&gt;I don&apos;t think that the whole CLIO stack is needed for this.&lt;/p&gt;

&lt;p&gt;There are functions available in the LOV code to calculate the file size from the file layout and the object sizes, essentially just calling &lt;tt&gt;lov_stripe_size()&lt;/tt&gt; (or an equivalent function) for each stripe the last initialized component and pick the largest size would be enough for 99% of cases.  In some rare cases, the file was truncated smaller than the start of the last component, in which case &lt;tt&gt;lov_stripe_size()&lt;/tt&gt; should be called on stripes of the previous component, repeat as necessary until an object with a size &amp;gt;= start of component or first component is hit.&lt;/p&gt;

&lt;p&gt;I also don&apos;t think a dedicated scan is needed.  The &lt;tt&gt;layout&lt;/tt&gt; scan is already checking every OST object in the filesystem in order to check for object existence, fix ownership for quota, etc., so that is enough to get the object size to the MDS as needed.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="62976">LU-14461</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                        </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|i00c4f:</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>