<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:56:16 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-12859] Both &quot;flock&quot; and &quot;localflock&quot; appear in /proc/mounts</title>
                <link>https://jira.whamcloud.com/browse/LU-12859</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Both &quot;&lt;tt&gt;flock&lt;/tt&gt;&quot; and &quot;&lt;tt&gt;localflock&lt;/tt&gt;&quot; appear in &quot;&lt;tt&gt;mount&lt;/tt&gt;&quot; output, although only &quot;&lt;tt&gt;localflock&lt;/tt&gt;&quot; is set in &lt;tt&gt;/etc/fstab&lt;/tt&gt;:&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;root@client:~# mount | grep lustre
10.0.0.1@o2ib:/testfs on /mnt/testfs type lustre (rw,flock,localflock)

root@client:~# grep lustre /etc/fstab
10.0.0.1@o2ib:/testfs /mnt/testfs lustre noauto,_netdev,localflock 0 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="57152">LU-12859</key>
            <summary>Both &quot;flock&quot; and &quot;localflock&quot; appear in /proc/mounts</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="1">Fixed</resolution>
                                        <assignee username="adilger">Andreas Dilger</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Mon, 14 Oct 2019 21:32:13 +0000</created>
                <updated>Thu, 12 Dec 2019 23:28:32 +0000</updated>
                            <resolved>Wed, 23 Oct 2019 02:16:33 +0000</resolved>
                                    <version>Lustre 2.13.0</version>
                    <version>Lustre 2.12.3</version>
                                    <fixVersion>Lustre 2.13.0</fixVersion>
                    <fixVersion>Lustre 2.12.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="256379" author="adilger" created="Mon, 14 Oct 2019 21:37:23 +0000"  >&lt;p&gt;AFAICS, this issue affects the flock mode, not just the display.. It makes it very confusing to know which flock behavior is present on a client node. NOTE: it appears that the &quot;most global&quot; option takes precedence, so in this case &quot;&lt;tt&gt;localflock&lt;/tt&gt;&quot; is overridden by the default &quot;&lt;tt&gt;flock&lt;/tt&gt;&quot; option. It may be possible to work around this issue temporarily by using both &quot;&lt;tt&gt;noflock,localflock&lt;/tt&gt;&quot; mount options to first clear the &quot;&lt;tt&gt;flock&lt;/tt&gt;&quot; option before enabling &quot;&lt;tt&gt;localflock&lt;/tt&gt;&quot;. &lt;/p&gt;

&lt;p&gt;The fix needs a small change to &lt;tt&gt;ll_options()&lt;/tt&gt; to fix the parsing of these options. Right now it looks like any one of the options that is passed at mount will set the corresponding &lt;tt&gt;LL_SBI_&amp;#42;FLOCK&lt;/tt&gt; option, but does not clear the other options. Any flock option should clear both of the other option flags, and the last one specified wins. &lt;/p&gt;</comment>
                            <comment id="256389" author="gerrit" created="Tue, 15 Oct 2019 00:46:04 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36452&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36452&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12859&quot; title=&quot;Both &amp;quot;flock&amp;quot; and &amp;quot;localflock&amp;quot; appear in /proc/mounts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12859&quot;&gt;&lt;del&gt;LU-12859&lt;/del&gt;&lt;/a&gt; llite: clear flock when using localflock&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 2543dd9733580a8dbb553b0f84bd77154a9b91f9&lt;/p&gt;</comment>
                            <comment id="256879" author="gerrit" created="Tue, 22 Oct 2019 23:56:55 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/36452/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36452/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12859&quot; title=&quot;Both &amp;quot;flock&amp;quot; and &amp;quot;localflock&amp;quot; appear in /proc/mounts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12859&quot;&gt;&lt;del&gt;LU-12859&lt;/del&gt;&lt;/a&gt; llite: clear flock when using localflock&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 22ee4a1f64eca526ef34a3fd89dc4e95bb307732&lt;/p&gt;</comment>
                            <comment id="256895" author="pjones" created="Wed, 23 Oct 2019 02:16:33 +0000"  >&lt;p&gt;Landed for 2.13&lt;/p&gt;</comment>
                            <comment id="259232" author="gerrit" created="Thu, 5 Dec 2019 18:03:58 +0000"  >&lt;p&gt;Minh Diep (mdiep@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36934&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36934&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12859&quot; title=&quot;Both &amp;quot;flock&amp;quot; and &amp;quot;localflock&amp;quot; appear in /proc/mounts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12859&quot;&gt;&lt;del&gt;LU-12859&lt;/del&gt;&lt;/a&gt; llite: clear flock when using localflock&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: e5173badfcb6d3448adb0dc46311285253e19e12&lt;/p&gt;</comment>
                            <comment id="259768" author="gerrit" created="Thu, 12 Dec 2019 23:05:58 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/36934/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36934/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12859&quot; title=&quot;Both &amp;quot;flock&amp;quot; and &amp;quot;localflock&amp;quot; appear in /proc/mounts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12859&quot;&gt;&lt;del&gt;LU-12859&lt;/del&gt;&lt;/a&gt; llite: clear flock when using localflock&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: bfa43920135dacffb77adedeac213966ea450b2c&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </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|i00o0v:</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>