xfs: use proper interfaces for on-stack plugging
authorChristoph Hellwig <hch@infradead.org>
Wed, 30 Mar 2011 11:05:09 +0000 (11:05 +0000)
committerAlex Elder <aelder@sgi.com>
Fri, 8 Apr 2011 13:09:28 +0000 (08:09 -0500)
commita1b7ea5d58c53c13f082110e535d98bc4e8e5cfe
tree8238090fc86fa6198680012b9d65d272529ba44b
parent957935dcd8e11d6f789b4ed769b376040e15565b
xfs: use proper interfaces for on-stack plugging

Add proper blk_start_plug/blk_finish_plug pairs for the two places where
we issue buffer I/O, and remove the blk_flush_plug in xfs_buf_lock and
xfs_buf_iowait, given that context switches already flush the per-process
plugging lists.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/linux-2.6/xfs_buf.c