<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:30:13 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-16811] mke2fs check_if_lustre_mounted() not working or needed</title>
                <link>https://jira.whamcloud.com/browse/LU-16811</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The &lt;tt&gt;check_if_lustre_mounted()&lt;/tt&gt; function that is patched into &lt;tt&gt;mke2fs&lt;/tt&gt; is not working properly, because it is checking &lt;tt&gt;/proc/fs/lustre/osd-ldiskfs/mntdev&lt;/tt&gt; but this file has long ago moved to &lt;tt&gt;/sys/fs/lustre/osd-ldiskfs/mntdev&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;The checking for the Lustre mount device was necessary before the kernel &lt;tt&gt;open(O_EXCL)&lt;/tt&gt; functionality was available to prevent &lt;tt&gt;mke2fs&lt;/tt&gt; and &lt;tt&gt;e2fsck&lt;/tt&gt; from running on a mounted block device.  It seems that this patch is no longer needed and could be removed from e2fsprogs, one less patch that needs to be maintained.&lt;/p&gt;

&lt;p&gt;Before removing the patch completely, it would be good to manually test this is working against a (test) mounted ZFS filesystem device.  I&apos;ve tested with ldiskfs and can confirm that &lt;tt&gt;open(O_EXCL)&lt;/tt&gt; fails for the &lt;b&gt;BLOCK DEVICE&lt;/b&gt; (e.g. &lt;tt&gt;/dev/mapper/ost4_flakey&lt;/tt&gt;), though it does &lt;b&gt;not&lt;/b&gt; work if a plain file (e.g. &lt;tt&gt;/tmp/testfs-ost4&lt;/tt&gt;) is mounted via loopback and the &lt;b&gt;file&lt;/b&gt; is formatted by &lt;tt&gt;mke2fs&lt;/tt&gt;, but that isn&apos;t unexpected and this patch wouldn&apos;t avoid it either way.&lt;/p&gt;</description>
                <environment></environment>
        <key id="75970">LU-16811</key>
            <summary>mke2fs check_if_lustre_mounted() not working or needed</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="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="wc-triage">WC Triage</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>e2fsprogs</label>
                            <label>easy</label>
                    </labels>
                <created>Tue, 9 May 2023 22:00:28 +0000</created>
                <updated>Tue, 9 May 2023 22:00:48 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</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|i03kvz:</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>