Re: [f2fs-dev] [PATCH 1/2] f2fs: get rid of kzalloc in __recover_inline_status

2015-01-06 Thread Jaegeuk Kim
Hi Chao, On Tue, Jan 06, 2015 at 02:28:43PM +0800, Chao Yu wrote: > We use kzalloc to allocate memory in __recover_inline_status, and use this > all-zero memory to check the inline date content of inode page by comparing > them. This is low effective and not needed, let's check inline date content

[f2fs-dev] [PATCH 1/2] f2fs: get rid of kzalloc in __recover_inline_status

2015-01-05 Thread Chao Yu
We use kzalloc to allocate memory in __recover_inline_status, and use this all-zero memory to check the inline date content of inode page by comparing them. This is low effective and not needed, let's check inline date content directly. Signed-off-by: Chao Yu --- fs/f2fs/inode.c | 27 +++