« Return to Thread: [PATCH 0/5] reduce exclusive ilock hold times V2

Re: [PATCH 1/5] xfs: avoid taking the ilock unnessecarily in xfs_qm_dqattach

by Mark Tinguely-3 :: Rate this Message:

| View in Thread

On 03/27/12 09:34, Christoph Hellwig wrote:
> Check if we actually need to attach a dquot before taking the ilock in
> xfs_qm_dqattach.  This avoid superflous lock roundtrips for the common cases
> of quota support compiled in but not activated on a filesystem and an
> inode that already has the dquots attached.
>
> Signed-off-by: Christoph Hellwig<hch@...>

Looks good.

Reviewed-by: Mark Tinguely <tinguely@...>

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

 « Return to Thread: [PATCH 0/5] reduce exclusive ilock hold times V2