[f2fs-dev][PATCH 1/3] f2fs: avoid unable to restart gc thread in remount

2014-11-17 Thread Chao Yu
In f2fs_remount, we will stop gc thread and set need_restart_gc as true when new option is set without BG_GC, then if any error occurred in the following procedure, we can restore to start the gc thread. But after that, We will fail to restore gc thread in start_gc_thread as BG_GC is not set in

[f2fs-dev][PATCH 1/3] f2fs: avoid unable to restart gc thread in remount

2014-11-17 Thread Chao Yu
In f2fs_remount, we will stop gc thread and set need_restart_gc as true when new option is set without BG_GC, then if any error occurred in the following procedure, we can restore to start the gc thread. But after that, We will fail to restore gc thread in start_gc_thread as BG_GC is not set in