jbd2: finish conversion from WRITE_SYNC_PLUG to WRITE_SYNC and explicit plugging
authorJens Axboe <jaxboe@fusionio.com>
Thu, 17 Mar 2011 10:01:52 +0000 (11:01 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Thu, 17 Mar 2011 10:01:52 +0000 (11:01 +0100)
commit82f04ab47e1d94d78503591a7460b2cad9601ede
treea79fd1ba1c8dce2147cb3bea54357321f73e642d
parent65ab80279d7c323ce151e858d951e2684df72a97
jbd2: 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/jbd2/commit.c