f2fs: remove two steps to flush dirty data pages
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 26 May 2016 03:57:16 +0000 (20:57 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 3 Jun 2016 01:05:21 +0000 (18:05 -0700)
commit46ae957f9b1611be2935ae626f601cda74f8160e
tree25e16458328da67a57490a98f173c95d9e919efa
parent28ea6162e29ba0db87a512dda2bb6d6e63a6006f
f2fs: remove two steps to flush dirty data pages

If there is no cold page, we don't need to do a loop to flush dirty
data pages.

On /dev/pmem0,

1. dd if=/dev/zero of=/mnt/test/testfile bs=1M count=2048 conv=fsync
 Before : 1.1 GB/s
 After  : 1.2 GB/s

2. dd if=/dev/zero of=/mnt/test/testfile bs=1M count=2048
 Before : 2.2 GB/s
 After  : 2.3 GB/s

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
This page took 0.024688 seconds and 5 git commands to generate.