Re: [PATCH 1/4] Cache xattr security drop check for write v2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> several fs now uses MS_NOSEC (because this flag is set in mount_bdev()) 
> but I don't see any user of the function inode_has_no_xattr() in the 
> latest version. If I well understand, a fs that wants to manage this 
> feature has to set MS_NOSEC and calls when needed this function, isn't 
> it? So at this point, why there aren't any user of this function?

Calling the function is just an optimization to avoid the lookup
for the first write.  But most of the benefit you already get
when just the flag is set.

I haven't resent the patches using it to the fs maintainers yet and none
of them took it the first round. 

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux