[PATCH 2/5] xfs: reduce ilock hold times in xfs_file_aio_write_checks

Mark Tinguely tinguely at sgi.com
Mon Apr 2 14:26:11 CDT 2012


On 03/27/12 09:34, Christoph Hellwig wrote:
> We do not need the ilock for generic_write_checks and the i_size read,
> which are protected by i_mutex and/or iolock, so reduce the ilock
> critical section to just the call to xfs_zero_eof.
>
> 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