On Tue, Mar 31, 2009 at 07:59:19AM -0500, Felix Blyakher wrote:
> It does, though it's not as severe as other disk format changes.
> I don't have a final solution yet, but since it's already escaped
> in public, I may as well show my current thinking, and invite
> So, the older kernels would be able to mount and work with the
> new filesystem, with exception of seeing only first 25 ACL
> entries. The user may still would like to mount it as such
> confirming that he aware of consequences. This feature validation
> would not follow the current scheme of black and white. With
> the presence of the force_mount (new) option, we emit a warning
> and allow to mount.
We do need a on-disk feature flag, yes. And we can have a large-acl or
similar mount option to automatically set that flag if we create a
larger than existing number of acls.
But if we are going to change this just upping the number of entires to
another static value seems rather dumb, we should better make it
The only way why it's static is to be able to allocate the space for
the acl upfront before the attr_get call. We can just try the 25 entry
one first and if xfs_attr_get tells us it's too small try again with the