[PATCH 11/11] xfs: do not flush data workqueues in xfs_flush_buftarg

Alex Elder aelder at sgi.com
Tue Oct 11 14:04:31 CDT 2011


On Mon, 2011-10-10 at 12:52 -0400, Christoph Hellwig wrote:
> When we call xfs_flush_buftarg (generally from sync or umount) it already
> is too late to flush the data workqueues, as I/O completion is signalled
> for them and we are thus already done with the data we would flush here.
> 
> There are places where flushing them might be useful, but the current
> sync interface doesn't give us that opportunity.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Looks OK to me.

Reviewed-by: Alex Elder <aelder at sgi.com>




More information about the xfs mailing list