f2fs: don't need to collect dirty sit entries and flush journal when there's no dirty...
authorWanpeng Li <wanpeng.li@linux.intel.com>
Fri, 27 Feb 2015 08:52:50 +0000 (16:52 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 10 Apr 2015 22:08:29 +0000 (15:08 -0700)
commit2b11a74b21b040270d19fc3b61265c75413c0dc1
tree17f34878bbaf99ca57fff2d085173dda954b2009
parent2bda542d59f970b61095bd8205c6c76062f286e3
f2fs: don't need to collect dirty sit entries and flush journal when there's no dirty sit entries

 Don't need to collect dirty sit entries and flush sit journal to sit
 entries when there's no dirty sit entries. This patch check dirty_sentries
 earlier just like flush_nat_entries.

Signed-off-by: Wanpeng Li <wanpeng.li@linux.intel.com>
Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c