All of lore.kernel.org
 help / color / mirror / Atom feed
* the question about ext4 noacl mount option
@ 2022-04-15  3:41 xuyang2018.jy
  2022-05-31 10:40 ` Jan Kara
  2022-05-31 14:47 ` Theodore Ts'o
  0 siblings, 2 replies; 4+ messages in thread
From: xuyang2018.jy @ 2022-04-15  3:41 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: Ext4 Developers List

Hi Teo

When I use mount option noacl on 5.18-rc2, I got the following warning

[  179.441511] EXT4-fs: Mount option "noacl" will be removed by 3.5
               Contact linux-ext4@vger.kernel.org if you think we should
keep it.

But now is 5.18-rc2, so ext4 do you plan to remove this option
or keep the option util a fix version ie 5.20? Or, remove deprecated
flag for this mount option?

Best Regards
Yang Xu

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: the question about ext4 noacl mount option
  2022-04-15  3:41 the question about ext4 noacl mount option xuyang2018.jy
@ 2022-05-31 10:40 ` Jan Kara
  2022-05-31 14:47 ` Theodore Ts'o
  1 sibling, 0 replies; 4+ messages in thread
From: Jan Kara @ 2022-05-31 10:40 UTC (permalink / raw)
  To: xuyang2018.jy; +Cc: Theodore Ts'o, Ext4 Developers List

Hello!

On Fri 15-04-22 03:41:32, xuyang2018.jy@fujitsu.com wrote:
> When I use mount option noacl on 5.18-rc2, I got the following warning
> 
> [  179.441511] EXT4-fs: Mount option "noacl" will be removed by 3.5
>                Contact linux-ext4@vger.kernel.org if you think we should
> keep it.
> 
> But now is 5.18-rc2, so ext4 do you plan to remove this option
> or keep the option util a fix version ie 5.20? Or, remove deprecated
> flag for this mount option?

Just submit a patch removing it. Thanks! :)

								Honza
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: the question about ext4 noacl mount option
  2022-04-15  3:41 the question about ext4 noacl mount option xuyang2018.jy
  2022-05-31 10:40 ` Jan Kara
@ 2022-05-31 14:47 ` Theodore Ts'o
  2022-05-31 15:03   ` xuyang2018.jy
  1 sibling, 1 reply; 4+ messages in thread
From: Theodore Ts'o @ 2022-05-31 14:47 UTC (permalink / raw)
  To: xuyang2018.jy; +Cc: Ext4 Developers List

On Fri, Apr 15, 2022 at 03:41:32AM +0000, xuyang2018.jy@fujitsu.com wrote:
> Hi Teo
> 
> When I use mount option noacl on 5.18-rc2, I got the following warning
> 
> [  179.441511] EXT4-fs: Mount option "noacl" will be removed by 3.5
>                Contact linux-ext4@vger.kernel.org if you think we should
> keep it.

I'm curious... is there a reason why you use noacl?  That is, if we
made the noacl mount option a no-op (that is, it wouldn't disable
Posix ACL's), would it make a difference for your use case?

      	      	       	    - Ted

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: the question about ext4 noacl mount option
  2022-05-31 14:47 ` Theodore Ts'o
@ 2022-05-31 15:03   ` xuyang2018.jy
  0 siblings, 0 replies; 4+ messages in thread
From: xuyang2018.jy @ 2022-05-31 15:03 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: Ext4 Developers List

on 2022/5/31 22:47, Theodore Ts'o wrote:
> On Fri, Apr 15, 2022 at 03:41:32AM +0000, xuyang2018.jy@fujitsu.com wrote:
>> Hi Teo
>>
>> When I use mount option noacl on 5.18-rc2, I got the following warning
>>
>> [  179.441511] EXT4-fs: Mount option "noacl" will be removed by 3.5
>>                 Contact linux-ext4@vger.kernel.org if you think we should
>> keep it.
>
> I'm curious... is there a reason why you use noacl?

> That is, if we
> made the noacl mount option a no-op (that is, it wouldn't disable
> Posix ACL's), would it make a difference for your use case?

I don't have use case for this and I use noacl when I wrote a xfstests 
case[1] to verify setgid whether works correctly for my kernel patchset 
that move setgid stripping code into vfs[2].

noacl will affect setgid stripping logic.

The S_ISGID stripping logic is entangled with umask stripping.

If a filesystem doesn't support or enable POSIX ACLs then umask
stripping is done directly in the vfs before calling into the
filesystem.

If the filesystem does support POSIX ACLs then unmask stripping may be
done in the filesystem itself when calling posix_acl_create().

[1]https://patchwork.kernel.org/project/fstests/patch/1653062664-2125-1-git-send-email-xuyang2018.jy@fujitsu.com/
[2]https://patchwork.kernel.org/project/linux-fsdevel/list/?series=643645

>
>        	      	       	    - Ted

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-31 15:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-15  3:41 the question about ext4 noacl mount option xuyang2018.jy
2022-05-31 10:40 ` Jan Kara
2022-05-31 14:47 ` Theodore Ts'o
2022-05-31 15:03   ` xuyang2018.jy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.