Christoph Hellwig <hch@xxxxxx> writes:
> On Sat, Jun 14, 2008 at 06:01:27PM +0200, Christoph Hellwig wrote:
>> Switch XFS to use the generic ACL code and enable caching the ACL values
>> in the XFS inode.
>> Compared to the last post various bugs have been fixed and a locking
>> strategy has been designed and implemented. This now passes XFSQA.
>> You'll need my various attr-related patches applies before this one.
> With various recent changes going in it needed another rediff. I also
> moved the xfs_acl_chmod call into xfs_setattr from xfs_vn_setattr
> because we would miss it for updates from dmapi. While doing this
> I found out that xfs_acl_chmod is non-atomic vs the setattr which is
> probably a bad thing, but also done that way in all other filesystems.
> Maybe we want to delay this patch until Niv's infrastructure to
> piggy-back an attr_set ontop of an existing transaction is done so
> that this issue could be solved.
I like the patch, and don't think we need to wait for the trans aware
attr code to get it in (it's not attomic now and nobody cares as you
pointed out) that said, it's pretty big, and I'm did not review it
carefully enough, and'd be *much* more comfortable if someone that knows
the code more (like tes) could have a look at it before putting it in.