f2fs: use blk_plug in all the possible paths
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 14 Jul 2016 02:33:19 +0000 (19:33 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 15 Jul 2016 22:21:23 +0000 (15:21 -0700)
commit9dfa1baff76d08843aaf5e3c78f6da6950957702
tree72de844844bf3a78ed02ba11e36b405246bf8a0d
parent82e0a5aa5ddf794b3e1b21fcd091228736871882
f2fs: use blk_plug in all the possible paths

This patch reverts 19a5f5e2ef37 (f2fs: drop any block plugging),
and adds blk_plug in write paths additionally.

The main reason is that blk_start_plug can be used to wake up from low-power
mode before submitting further bios.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/data.c
fs/f2fs/file.c
fs/f2fs/gc.c
fs/f2fs/node.c
fs/f2fs/segment.c