f2fs: refactor __exchange_data_block for speed up
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 9 Jul 2016 00:42:21 +0000 (17:42 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 15 Jul 2016 22:21:19 +0000 (15:21 -0700)
commit0a2aa8fbb9693020b822ac7a23755591554eaea5
tree842512aea53c62075d1e3c6d4cea58960126f037
parent1d353eb7e43853335a3c535c204c4e86f82eaf66
f2fs: refactor __exchange_data_block for speed up

This reduces the elapsed time to do xfstests/generic/017.

Before: 715 s
After:  458 s

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