block: fsync_buffers_list() should use SWRITE_SYNC_PLUG
authorJens Axboe <jens.axboe@oracle.com>
Mon, 6 Apr 2009 12:48:03 +0000 (14:48 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 6 Apr 2009 15:04:53 +0000 (08:04 -0700)
commit9cf6b720f84d6999ff9a514d0a939dd183846aaf
tree13f58881927769c792b8b1f685282aa67264b9ed
parenta1f242524c3c1f5d40f1c9c343427e34d1aadd6e
block: fsync_buffers_list() should use SWRITE_SYNC_PLUG

Then it can submit all the buffers without unplugging for each one.
We will kick off the pending IO if we come across a new address space.

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