[PATCH 1/5] xfs: avoid taking the ilock unnessecarily in xfs_qm_dqattach
Mark Tinguely
tinguely at sgi.com
Mon Apr 2 14:24:59 CDT 2012
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 at lst.de>
Looks good.
Reviewed-by: Mark Tinguely <tinguely at sgi.com>
More information about the xfs
mailing list