jbd: finish conversion from WRITE_SYNC_PLUG to WRITE_SYNC and explicit plugging
authorJens Axboe <jaxboe@fusionio.com>
Thu, 17 Mar 2011 09:56:45 +0000 (10:56 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Thu, 17 Mar 2011 09:56:45 +0000 (10:56 +0100)
commit65ab80279d7c323ce151e858d951e2684df72a97
treeb00d0400360e11dd337a701ffbb66d097894da2b
parent4ee2491ed8569f370bf4c1a4c046a6efb8032bd2
jbd: finish conversion from WRITE_SYNC_PLUG to WRITE_SYNC and explicit plugging

'write_op' was still used, even though it was always WRITE_SYNC now.
Add plugging around the cases where it submits IO, and flush them
before we end up waiting for that IO.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
fs/jbd/commit.c