f2fs: skip clean segment for gc
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 7 Jun 2016 01:49:54 +0000 (18:49 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 8 Jun 2016 17:25:52 +0000 (10:25 -0700)
commitaa987273290d206b298e9d09db83e32ead661098
tree8d082a03a5e2cc4af524073fcbacb650308a41a5
parent19a5f5e2ef37f032efd840ada257bce2e91c8066
f2fs: skip clean segment for gc

If a segment in a section is clean or prefreed, we don't need to get its summary
and do gc.

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