diff options
| author | 2009-04-06 14:48:04 +0200 | |
|---|---|---|
| committer | 2009-04-06 08:04:53 -0700 | |
| commit | 6c4bac6b3351fd278dc3537dae42f88f733ff12e (patch) | |
| tree | 682fd65d652851a3a67a8994036dfb70be7b93c3 /fs/jbd2/commit.c | |
| parent | block: fsync_buffers_list() should use SWRITE_SYNC_PLUG (diff) | |
| download | wireguard-linux-6c4bac6b3351fd278dc3537dae42f88f733ff12e.tar.xz wireguard-linux-6c4bac6b3351fd278dc3537dae42f88f733ff12e.zip | |
jbd: 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 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
