f2fs: submit node page write bios when really required
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 11 Mar 2016 23:33:22 +0000 (15:33 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 18 Mar 2016 04:19:47 +0000 (21:19 -0700)
commit12bb0a8fd47e6020a7b52dc283a2d855f03d6ef5
tree5d171f34fd57e28ca6b12a4425a840fdc4ec1bd6
parentfff4c55d36a160ae38f4de7650e341006e0adff2
f2fs: submit node page write bios when really required

If many threads calls fsync with data writes, we don't need to flush every
bios having node page writes.
The f2fs_wait_on_page_writeback will flush its bios when the page is really
needed.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/node.c