Add WRITE_SYNC_PLUG and SWRITE_SYNC_PLUG
authorJens Axboe <jens.axboe@oracle.com>
Mon, 6 Apr 2009 12:48:02 +0000 (14:48 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 6 Apr 2009 15:04:53 +0000 (08:04 -0700)
commita1f242524c3c1f5d40f1c9c343427e34d1aadd6e
tree53d085bd25792ab45dafbd4ab1dc537c6ab8e467
parent1faa16d22877f4839bd433547d770c676d1d964c
Add WRITE_SYNC_PLUG and SWRITE_SYNC_PLUG

(S)WRITE_SYNC always unplugs the device right after IO submission.
Sometimes we want to build up a queue before doing so, so add
variants that explicitly DON'T unplug the queue. The caller must
then do that after submitting all the IO.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/fs.h