<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:10:08 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-7582] Manual delete of oi directory in ZFS backed server causes panic</title>
                <link>https://jira.whamcloud.com/browse/LU-7582</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When trying to manually delete an oi directory after manually mounting zfs filesystem created with mkfs.lustre.  The following panic happens:&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;PANIC: zfs: link count on 43 is 1, should be at least 2
Showing stack for process 9291
Pid: 9291, comm: rmdir Tainted: P           -- ------------    2.6.32-573.12.1.el6.x86_64 #1
Call Trace:
 [&amp;lt;ffffffffa0237f5d&amp;gt;] ? spl_dumpstack+0x3d/0x40 [spl]
 [&amp;lt;ffffffffa0237fed&amp;gt;] ? vcmn_err+0x8d/0xf0 [spl]
 [&amp;lt;ffffffffa0299520&amp;gt;] ? dbuf_rele+0x40/0x50 [zfs]
 [&amp;lt;ffffffffa029953e&amp;gt;] ? dmu_buf_rele+0xe/0x10 [zfs]
 [&amp;lt;ffffffffa030893a&amp;gt;] ? zap_put_leaf+0x4a/0xc0 [zfs]
 [&amp;lt;ffffffffa0299520&amp;gt;] ? dbuf_rele+0x40/0x50 [zfs]
 [&amp;lt;ffffffffa029953e&amp;gt;] ? dmu_buf_rele+0xe/0x10 [zfs]
 [&amp;lt;ffffffffa030ccca&amp;gt;] ? zap_unlockdir+0x4a/0xc0 [zfs]
 [&amp;lt;ffffffffa02f1cf2&amp;gt;] ? zfs_panic_recover+0x52/0x60 [zfs]
 [&amp;lt;ffffffffa0317e00&amp;gt;] ? zfs_link_destroy+0x4f0/0x570 [zfs]
 [&amp;lt;ffffffffa02f6b65&amp;gt;] ? txg_rele_to_quiesce+0x35/0x50 [zfs]
 [&amp;lt;ffffffffa02b1f0e&amp;gt;] ? dmu_tx_assign+0x41e/0x570 [zfs]
 [&amp;lt;ffffffffa03350b6&amp;gt;] ? zfs_rmdir+0x546/0x650 [zfs]
 [&amp;lt;ffffffff811484a5&amp;gt;] ? vma_prio_tree_add+0x75/0xd0
 [&amp;lt;ffffffffa034a095&amp;gt;] ? zpl_rmdir+0x65/0xa0 [zfs]
 [&amp;lt;ffffffff811a0abe&amp;gt;] ? vfs_rmdir+0xbe/0xf0
 [&amp;lt;ffffffff8119fbca&amp;gt;] ? lookup_hash+0x3a/0x50
 [&amp;lt;ffffffff811a3cd4&amp;gt;] ? do_rmdir+0x184/0x1f0
 [&amp;lt;ffffffff810e8a57&amp;gt;] ? audit_syscall_entry+0x1d7/0x200
 [&amp;lt;ffffffff811a3d96&amp;gt;] ? sys_rmdir+0x16/0x20
 [&amp;lt;ffffffff8100b0d2&amp;gt;] ? system_call_fastpath+0x16/0x1b
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The following commands were used:&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;# zfs import tank
# mkfs.lustre --mgs --mdt --index=0 --backfstype=zfs --fsname lustre --reformat tank/foo
# mount -t lustre tank/foo /mnt/MGS/
# umount /mnt/MGS
# zfs set canmount=on tank/foo
# zfs mount tank/foo
# ls /tank/foo/oi.36/
# cd /tank/foo
# rmdir oi.36
Message from syslogd@ieel-oss07 at Dec 18 14:43:50 ...
 kernel:PANIC: zfs: link count on 43 is 1, should be at least 2
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>lustre-2.7.64&lt;br/&gt;
zfs-0.6.5.3-1</environment>
        <key id="33777">LU-7582</key>
            <summary>Manual delete of oi directory in ZFS backed server causes panic</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="6">Not a Bug</resolution>
                                        <assignee username="jay">Jinshan Xiong</assignee>
                                    <reporter username="utopiabound">Nathaniel Clark</reporter>
                        <labels>
                            <label>zfs</label>
                    </labels>
                <created>Fri, 18 Dec 2015 20:29:40 +0000</created>
                <updated>Fri, 13 Jan 2017 19:04:55 +0000</updated>
                            <resolved>Mon, 21 Dec 2015 02:07:42 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="136956" author="utopiabound" created="Sat, 19 Dec 2015 01:38:46 +0000"  >&lt;p&gt;ZFS 0.6.3-1.1 exhibits the same behaviour.&lt;/p&gt;</comment>
                            <comment id="136963" author="pjones" created="Sat, 19 Dec 2015 05:16:08 +0000"  >&lt;p&gt;Jinshan&lt;/p&gt;

&lt;p&gt;Could you please comment?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="137000" author="jay" created="Mon, 21 Dec 2015 02:07:27 +0000"  >&lt;p&gt;This is not a bug. OSD-ZFS uses zap to map FID to ZFS object ID, but it doesn&apos;t actually take a reference to the objects.&lt;/p&gt;</comment>
                            <comment id="137109" author="adilger" created="Mon, 21 Dec 2015 22:38:13 +0000"  >&lt;p&gt;The disconnect here is that the OI file looks like a directory to ZPL, but it isn&apos;t really a directory. &lt;/p&gt;

&lt;p&gt;It is also worthwhile to note that until we implement ZFS OI Scrub (&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7585&quot; title=&quot;Implement OI Scrub for ZFS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7585&quot;&gt;&lt;del&gt;LU-7585&lt;/del&gt;&lt;/a&gt;) it isn&apos;t safe to delete the OI files. There is no way to rebuild them. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="33790">LU-7585</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </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|hzxwcf:</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>
                                                                                            <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>