public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* Re: XFS filesystem setfacl has limitation?
       [not found] <4F56C4D5.1070206@eisoo.com>
@ 2012-03-07  4:42 ` Dave Chinner
  2012-03-07 21:16   ` Emmanuel Florac
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Chinner @ 2012-03-07  4:42 UTC (permalink / raw)
  To: yyq@eisoo.com; +Cc: xfs

On Wed, Mar 07, 2012 at 10:15:49AM +0800, yyq@eisoo.com wrote:
> Hi,all,
>     When set files/directories attributes with setfacl on XFS file
> system, we has encountered that ACL items is under the limitation of
> 23. I wonder that if XFS file system has this limitation and if can
> we exceed it?

>From fs/xfs/xfs_acl.h:

#define XFS_ACL_MAX_ENTRIES 25
....
/* On-disk XFS access control list structure */
struct xfs_acl {
	__be32	  acl_cnt;
	struct xfs_acl_entry {
		__be32  ae_tag;
		__be32  ae_id;
		__be16  ae_perm;
	} acl_entry[XFS_ACL_MAX_ENTRIES];
};

It's basically a limitation of the on-disk format definition that
has been carried over from Irix. It is an arbitrary limit - the real
limit is the maximum size of an attribute (64KB) and we plan to
raise it to that limit as part of the upcoming on-disk format
changes for metadata checksums...

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

* Re: XFS filesystem setfacl has limitation?
  2012-03-07  4:42 ` XFS filesystem setfacl has limitation? Dave Chinner
@ 2012-03-07 21:16   ` Emmanuel Florac
  2012-03-08  2:40     ` Dave Chinner
  0 siblings, 1 reply; 3+ messages in thread
From: Emmanuel Florac @ 2012-03-07 21:16 UTC (permalink / raw)
  To: xfs

Le Wed, 7 Mar 2012 15:42:42 +1100 vous écriviez:

> It's basically a limitation of the on-disk format definition that
> has been carried over from Irix. It is an arbitrary limit - the real
> limit is the maximum size of an attribute (64KB) and we plan to
> raise it to that limit as part of the upcoming on-disk format
> changes for metadata checksums...
> 

What's the proposed time frame or kernel version for this change?

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac@intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

* Re: XFS filesystem setfacl has limitation?
  2012-03-07 21:16   ` Emmanuel Florac
@ 2012-03-08  2:40     ` Dave Chinner
  0 siblings, 0 replies; 3+ messages in thread
From: Dave Chinner @ 2012-03-08  2:40 UTC (permalink / raw)
  To: Emmanuel Florac; +Cc: xfs

On Wed, Mar 07, 2012 at 10:16:13PM +0100, Emmanuel Florac wrote:
> Le Wed, 7 Mar 2012 15:42:42 +1100 vous écriviez:
> 
> > It's basically a limitation of the on-disk format definition that
> > has been carried over from Irix. It is an arbitrary limit - the real
> > limit is the maximum size of an attribute (64KB) and we plan to
> > raise it to that limit as part of the upcoming on-disk format
> > changes for metadata checksums...
> > 
> 
> What's the proposed time frame or kernel version for this change?

When it is ready. Think months, not years ;)

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

end of thread, other threads:[~2012-03-08  2:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <4F56C4D5.1070206@eisoo.com>
2012-03-07  4:42 ` XFS filesystem setfacl has limitation? Dave Chinner
2012-03-07 21:16   ` Emmanuel Florac
2012-03-08  2:40     ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox