f2fs: avoid frequent background GC
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 24 Apr 2013 04:00:14 +0000 (13:00 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Fri, 26 Apr 2013 01:35:03 +0000 (10:35 +0900)
commit6cb968d9b0358c7e807416a85699a526e820083c
tree8958e38642c540ea611b37b083e77e701a780c1a
parent2af4bd6ca556d690ee166200abd16fdbe749782e
f2fs: avoid frequent background GC

If there is no victim segments selected by background GC, let's wait
a little bit longer time to collect dirty segments.
By default, let's give 5 minutes.

Reviewed-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/gc.c
fs/f2fs/gc.h