Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358992
b: refs/heads/master
c: 48600e4
h: refs/heads/master
v: v3
  • Loading branch information
Changman Lee authored and Jaegeuk Kim committed Feb 11, 2013
1 parent 42ce3b2 commit 27c0c6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 94787d91cba7ba168b028703b50a0224702ace9c
refs/heads/master: 48600e44c18e4eb0f7c02ec8633c4c56aef292f0
7 changes: 2 additions & 5 deletions trunk/fs/f2fs/gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ static int gc_thread_func(void *data)
continue;
}

f2fs_balance_fs(sbi);

if (!test_opt(sbi, BG_GC))
continue;

/*
* [GC triggering condition]
* 0. GC is not conducted currently.
Expand Down Expand Up @@ -96,6 +91,8 @@ int start_gc_thread(struct f2fs_sb_info *sbi)
{
struct f2fs_gc_kthread *gc_th;

if (!test_opt(sbi, BG_GC))
return 0;
gc_th = kmalloc(sizeof(struct f2fs_gc_kthread), GFP_KERNEL);
if (!gc_th)
return -ENOMEM;
Expand Down

0 comments on commit 27c0c6b

Please sign in to comment.