]> git.karo-electronics.de Git - linux-beck.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>
Wed, 12 Oct 2011 03:34:31 +0000 (22:34 -0500)
commit5a93a064d27b42e4af1772b0599b53e3241191ac
tree67d51441dba4fd8645ec9f5eaacb5d60c62049c7
parenta9add83e5abd29bf2b7b3658311199eeabbdefc6
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>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_buf.c