<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:20:19 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-1861] osd-ldiskfs doesn&apos;t set object file type</title>
                <link>https://jira.whamcloud.com/browse/LU-1861</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for Andreas Dilger &amp;lt;adilger@whamcloud.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/8b92f800-f77c-11e1-8b95-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/8b92f800-f77c-11e1-8b95-52540035b04c&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;It seems that when e2fsck is run against an MDT that the file type of the files/directories/objects is not being set in the directory entry.  This causes e2fsck to complain about every inode in the filesystem because the ldiskfs_dir_entry_2-&amp;gt;file_type is being left unset.&lt;/p&gt;

&lt;p&gt;The sub-test test_8 failed with the following error in the test log:&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;Setting filetype for entry &apos;last_rcvd&apos; in / (2) to 1.
Setting filetype for entry &apos;fld&apos; in / (2) to 1.
Setting filetype for entry &apos;seq_ctl&apos; in / (2) to 1.
Setting filetype for entry &apos;seq_srv&apos; in / (2) to 1.
Setting filetype for entry &apos;capa_keys&apos; in / (2) to 1.
Setting filetype for entry &apos;ROOT&apos; in / (2) to 2.
Setting filetype for entry &apos;lov_objid&apos; in / (2) to 1.
Setting filetype for entry &apos;CATALOGS&apos; in / (2) to 1.
Setting filetype for entry &apos;1&apos; in /O/1/d1 (524327) to 1.
Setting filetype for entry &apos;2&apos; in /O/1/d2 (524328) to 1.
Setting filetype for entry &apos;3&apos; in /O/1/d3 (524329) to 1.
Setting filetype for entry &apos;4&apos; in /O/1/d4 (524330) to 1.
:
:
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="15749">LU-1861</key>
            <summary>osd-ldiskfs doesn&apos;t set object file type</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="1">Fixed</resolution>
                                        <assignee username="tappro">Mikhail Pershin</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Fri, 7 Sep 2012 18:02:47 +0000</created>
                <updated>Thu, 13 Dec 2012 12:49:40 +0000</updated>
                            <resolved>Thu, 13 Dec 2012 12:49:40 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="44395" author="tappro" created="Sat, 8 Sep 2012 01:26:26 +0000"  >&lt;p&gt;These files are not looking as OST files but MDS. Files in O/1/d&amp;lt;n&amp;gt; are llogs.&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;CMD: client-24vm3 umount -d /mnt/mds1
CMD: client-24vm3 e2fsck -fy /dev/lvm-MDS/P1
client-24vm3: e2fsck 1.42.3.wc3 (15-Aug-2012)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Right, client-24vm3 is MDS. So bug is related to old master code. I am sure it is fixed in orion already.&lt;/p&gt;</comment>
                            <comment id="46069" author="adilger" created="Fri, 5 Oct 2012 17:25:40 +0000"  >&lt;p&gt;I just hit this in a new test on a newly-formatted MDT filesystem right after &lt;tt&gt;llmount.sh; llumount.sh&lt;/tt&gt;.  Note that it is not ALL of the files that are reporting problems, it seems only a subset of directory entries are missing the file type.  Below is a full list on a newly-formatted and mounted filesystem:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;noformat&lt;/tt&gt;&lt;br/&gt;
e2fsck -f /dev/vg_sookie/lvmdt1 &lt;br/&gt;
e2fsck 1.42.5.wc3 (15-Sep-2012)&lt;br/&gt;
Pass 1: Checking inodes, blocks, and sizes&lt;br/&gt;
Pass 2: Checking directory structure&lt;br/&gt;
Setting filetype for entry &apos;last_rcvd&apos; in / (2) to 1.&lt;br/&gt;
Setting filetype for entry &apos;fld&apos; in / (2) to 1.&lt;br/&gt;
Setting filetype for entry &apos;seq_ctl&apos; in / (2) to 1.&lt;br/&gt;
Setting filetype for entry &apos;seq_srv&apos; in / (2) to 1.&lt;br/&gt;
Setting filetype for entry &apos;lov_objid&apos; in / (2) to 1.&lt;br/&gt;
Setting filetype for entry &apos;CATALOGS&apos; in / (2) to 1.&lt;br/&gt;
Setting filetype for entry &apos;1&apos; in /O/1/d1 (25027) to 1.&lt;br/&gt;
Setting filetype for entry &apos;2&apos; in /O/1/d2 (25028) to 1.&lt;br/&gt;
Setting filetype for entry &apos;3&apos; in /O/1/d3 (25029) to 1.&lt;br/&gt;
Setting filetype for entry &apos;4&apos; in /O/1/d4 (50011) to 1.&lt;br/&gt;
Setting filetype for entry &apos;5&apos; in /O/1/d5 (50012) to 1.&lt;br/&gt;
Setting filetype for entry &apos;6&apos; in /O/1/d6 (50013) to 1.&lt;br/&gt;
Setting filetype for entry &apos;7&apos; in /O/1/d7 (50014) to 1.&lt;br/&gt;
Setting filetype for entry &apos;8&apos; in /O/1/d8 (50015) to 1.&lt;br/&gt;
Setting filetype for entry &apos;9&apos; in /O/1/d9 (50016) to 1.&lt;br/&gt;
Setting filetype for entry &apos;10&apos; in /O/1/d10 (50017) to 1.&lt;br/&gt;
Setting filetype for entry &apos;12&apos; in /O/1/d12 (50019) to 1.&lt;br/&gt;
Setting filetype for entry &apos;14&apos; in /O/1/d14 (50021) to 1.&lt;br/&gt;
Pass 3: Checking directory connectivity&lt;br/&gt;
Pass 4: Checking reference counts&lt;br/&gt;
Pass 5: Checking group summary information&lt;/p&gt;

&lt;p&gt;testfs-MDT0000: ***** FILE SYSTEM WAS MODIFIED *****&lt;br/&gt;
testfs-MDT0000: 209/100000 files (1.4% non-contiguous), 16988/50000 blocks&lt;br/&gt;
&lt;tt&gt;noformat&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;I&apos;m surprised that there are llogs already on a newly-formatted filesystem?  It hasn&apos;t even done anything yet.&lt;/p&gt;</comment>
                            <comment id="46136" author="tappro" created="Mon, 8 Oct 2012 06:52:54 +0000"  >&lt;p&gt;Thanks for checking that, I will investigate that&lt;/p&gt;</comment>
                            <comment id="46483" author="adilger" created="Fri, 12 Oct 2012 15:28:21 +0000"  >&lt;p&gt;See this also on the OST though:&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;testfs-OST0000: recovering journal
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Setting filetype for entry &apos;last_rcvd&apos; in / (2) to 1.
Setting filetype for entry &apos;health_check&apos; in / (2) to 1.
Setting filetype for entry &apos;LAST_GROUP&apos; in / (2) to 1.
Setting filetype for entry &apos;LAST_ID&apos; in /O/0 (80) to 1.
Setting filetype for entry &apos;96&apos; in /O/0/d0 (81) to 1.
Setting filetype for entry &apos;1&apos; in /O/0/d1 (82) to 1.
Setting filetype for entry &apos;97&apos; in /O/0/d1 (82) to 1.
Setting filetype for entry &apos;2&apos; in /O/0/d2 (83) to 1.
:
:
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="46506" author="bzzz" created="Sat, 13 Oct 2012 10:25:41 +0000"  >&lt;p&gt;it&apos;s a bit strange this do not happen to MDS ? e.g. sanity/17m does not complain.&lt;/p&gt;</comment>
                            <comment id="46521" author="adilger" created="Sat, 13 Oct 2012 22:17:22 +0000"  >&lt;p&gt;I see this with test_17m regularly in my local testing.  Note that test_17m is relatively new, and the original test failure predates when it was added.&lt;/p&gt;</comment>
                            <comment id="48344" author="tappro" created="Sun, 25 Nov 2012 15:25:08 +0000"  >&lt;p&gt;e2fsck complains about file_type in ldiskfs directory entry, which is not set properly by osd_compat_add_entry(), in fact it is not set at all.&lt;br/&gt;
I am working on patch, the easiest way could be just set regular type unconditionally there, because all compatibility entries are regular files.&lt;/p&gt;</comment>
                            <comment id="48346" author="tappro" created="Mon, 26 Nov 2012 01:07:40 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#change,4669&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,4669&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="49197" author="pjones" created="Thu, 13 Dec 2012 12:49:40 +0000"  >&lt;p&gt;Landed for 2.4&lt;/p&gt;</comment>
                    </comments>
                    <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|hzv30f:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3987</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

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