commit | a1f242524c3c1f5d40f1c9c343427e34d1aadd6e | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Mon Apr 06 14:48:02 2009 +0200 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Apr 06 08:04:53 2009 -0700 |
tree | 53d085bd25792ab45dafbd4ab1dc537c6ab8e467 | |
parent | 1faa16d22877f4839bd433547d770c676d1d964c [diff] |
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>