]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xfs: do not flush data workqueues in xfs_flush_buftarg
authorChristoph Hellwig <hch@infradead.org>
Mon, 10 Oct 2011 16:52:53 +0000 (16:52 +0000)
committerAlex Elder <aelder@sgi.com>
Tue, 11 Oct 2011 16:38:57 +0000 (11:38 -0500)
commit3dda1f2ef7f90231dad44a9334ea58285699fea5
tree024828871b643dffd56acabb2da6b470712e73e2
parent380f1bfe86522c48e0efde956caf82e99f3043ff
xfs: do not flush data workqueues in xfs_flush_buftarg

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@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_buf.c