<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:35:49 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-3660] Can&apos;t disable ACL support with ZFS MDT</title>
                <link>https://jira.whamcloud.com/browse/LU-3660</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;With ldiskfs, the MDT can be mounted with &lt;tt&gt;-o noacl&lt;/tt&gt; to disable POSIX ACL support.  With ZFS, that option seems to have no effect, and clients are still able to set and honor ACLs.  It would be desirable to be able to turn off ACLs, as they can be detrimental to performance.  For example, the &lt;tt&gt;cp -a&lt;/tt&gt; command tries to write the xattr &lt;tt&gt;system.posix_acl_access&lt;/tt&gt; on every destination file, regardless of whether the source file has that attribute.  The ACL update is handled synchronously on the MDT, so the request handler has to wait for a ZFS transaction group to sync.  This can introduce significant latency on a busy MDS, effectively limiting the per-file copy rate to the txg sync rate.  On ldiskfs, &lt;tt&gt;cp -a&lt;/tt&gt; performance is significantly improved by disabling ACLs.&lt;/p&gt;

&lt;p&gt;(This performance problem is a separate issue that may be helped by integrating ZIL support in Lustre.  Turning off ACLs is a temporary workaround.)&lt;/p&gt;

&lt;p&gt;LLNL-bug-ID: TOSS-2207&lt;/p&gt;</description>
                <environment></environment>
        <key id="20083">LU-3660</key>
            <summary>Can&apos;t disable ACL support with ZFS MDT</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="laisiyao">Lai Siyao</assignee>
                                    <reporter username="nedbass">Ned Bass</reporter>
                        <labels>
                            <label>llnl</label>
                            <label>prz</label>
                            <label>zfs</label>
                    </labels>
                <created>Mon, 29 Jul 2013 23:42:29 +0000</created>
                <updated>Fri, 19 Sep 2014 02:17:58 +0000</updated>
                            <resolved>Tue, 26 Aug 2014 15:29:59 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                    <fixVersion>Lustre 2.5.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="63196" author="adilger" created="Mon, 29 Jul 2013 23:55:36 +0000"  >&lt;p&gt;Is there a reason that ACL updates are done synchronously on the MDS?  I don&apos;t think there is a valid security rationale for this, since (AFAIK) chmod(), chown(), or chgrp() operations are not synchronous either, and they can have the same security impact as any ACL change.  It would be far more beneficial to disable synchronous updates on the MDS entirely for this operation than to make them somewhat more efficient with the ZIL.&lt;/p&gt;</comment>
                            <comment id="63197" author="nedbass" created="Tue, 30 Jul 2013 00:15:14 +0000"  >&lt;p&gt;I don&apos;t know why they&apos;re done synchronously. In fact my claim that it is synchronous is based on the observation that the request handler seems to block until the txg syncs, not on a close reading of the code.  It think it&apos;s related to this comment, but it doesn&apos;t explain &lt;em&gt;why&lt;/em&gt;.&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;mdt_xattr.c:mdt_reint_setxattr()&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;334         /* Revoke all clients&apos; lookup lock, since the access
335          * permissions &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; inode is changed when ACL_ACCESS is
336          * set. This isn&apos;t needed &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; ACL_DEFAULT, since that does
337          * not change the access permissions of &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; inode, nor any
338          * other existing inodes. It is setting the ACLs inherited
339          * by &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; directories/files at create time. */
340         &lt;span class=&quot;code-comment&quot;&gt;/* We need revoke both LOOKUP|PERM lock here, see mdt_attr_set. */&lt;/span&gt;
341         &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!strcmp(xattr_name, XATTR_NAME_ACL_ACCESS))
342                 lockpart |= MDS_INODELOCK_PERM | MDS_INODELOCK_LOOKUP;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="63259" author="pjones" created="Tue, 30 Jul 2013 15:29:01 +0000"  >&lt;p&gt;Lai&lt;/p&gt;

&lt;p&gt;Could you please advise on this one?&lt;/p&gt;

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="63290" author="nedbass" created="Tue, 30 Jul 2013 18:41:33 +0000"  >&lt;p&gt;Created &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3671&quot; title=&quot;why are permission changes synchronous?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3671&quot;&gt;&lt;del&gt;LU-3671&lt;/del&gt;&lt;/a&gt; to discuss the synchronous behavior.  This issue is to discuss whether we need a mechanism to disable ACL support with ZFS.&lt;/p&gt;</comment>
                            <comment id="63312" author="nedbass" created="Tue, 30 Jul 2013 21:44:12 +0000"  >&lt;p&gt;Lowered priority to minor because disabling ACL support is not really an effective workaround to the performance issue described here.  But, we should still decide if this should be fixed and document ACL functionality as it relates to ZFS backends.&lt;/p&gt;</comment>
                            <comment id="64067" author="laisiyao" created="Mon, 12 Aug 2013 09:27:11 +0000"  >&lt;p&gt;osd_conf_get() for zfs osd doesn&apos;t really get mount options from super_block like ldiskfs, but enables ACL by default. I&apos;ll see how to get it work.&lt;/p&gt;</comment>
                            <comment id="90518" author="emoly.liu" created="Thu, 31 Jul 2014 07:03:42 +0000"  >&lt;p&gt;Lai&apos;s patch for this problem is at &lt;a href=&quot;http://review.whamcloud.com/#/c/10850/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/10850/&lt;/a&gt; .&lt;/p&gt;</comment>
                            <comment id="92436" author="pjones" created="Tue, 26 Aug 2014 15:29:59 +0000"  >&lt;p&gt;Landed for 2.7&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="20098">LU-3671</issuekey>
        </issuelink>
                            </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|hzvwmv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9444</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>