Re: [PATCH 3/4] f2fs: fix removing cache entry within proper lock

2013-01-01 Thread Jaegeuk Kim
NAK, we don't need to do this. There is no relationship between kmem_cache_* and free_nid_list_lock. Moreover, IMO, it would be better unlock free_nid_list_lock as quickly as possible in order to reduce lock contention. 2012-12-30 (일), 14:52 +0900, Namjae Jeon: > From: Namjae Jeon > > Cache entr

[PATCH 3/4] f2fs: fix removing cache entry within proper lock

2012-12-29 Thread Namjae Jeon
From: Namjae Jeon Cache entry for free NID, is not getting removed under proper lock in case of error in add_free_nid. So, free the cache entry first before releasing the spinlock. Signed-off-by: Namjae Jeon Signed-off-by: Amit Sahrawat --- fs/f2fs/node.c |2 +- 1 file changed, 1 insertio