[PATCH] f2fs: Remove lock from check_valid_map

2014-09-06 Thread Huang Ying
Only one bit is read in check_valid_map, holding a lock to do that doesn't help anything except decreasing performance. Signed-off-by: Huang, Ying --- fs/f2fs/gc.c |2 -- 1 file changed, 2 deletions(-) --- a/fs/f2fs/gc.c +++ b/fs/f2fs/gc.c @@ -382,10 +382,8 @@ static int

[PATCH] f2fs: Remove lock from check_valid_map

2014-09-06 Thread Huang Ying
Only one bit is read in check_valid_map, holding a lock to do that doesn't help anything except decreasing performance. Signed-off-by: Huang, Ying ying.hu...@intel.com --- fs/f2fs/gc.c |2 -- 1 file changed, 2 deletions(-) --- a/fs/f2fs/gc.c +++ b/fs/f2fs/gc.c @@ -382,10 +382,8 @@ static