diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-04-06 14:48:05 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-06 17:04:54 +0200 |
commit | 4194b1eaf18ddc3eee9597e8800b6d2ffdfd3614 (patch) | |
tree | 34083152f17c6dbf61729a2194658ebcc041a62c /block | |
parent | jbd: use WRITE_SYNC_PLUG instead of WRITE_SYNC (diff) | |
download | linux-4194b1eaf18ddc3eee9597e8800b6d2ffdfd3614.tar.xz linux-4194b1eaf18ddc3eee9597e8800b6d2ffdfd3614.zip |
jbd2: use WRITE_SYNC_PLUG instead of WRITE_SYNC
When you are going to be submitting several sync writes, we want to
give the IO scheduler a chance to merge some of them. Instead of
using the implicitly unplugging WRITE_SYNC variant, use WRITE_SYNC_PLUG
and rely on sync_buffer() doing the unplug when someone does a
wait_on_buffer()/lock_buffer().
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions