Re: [f2fs-dev] [PATCH] f2fs: optimize the flow of f2fs_map_blocks

2015-12-17 Thread Chao Yu
> -Original Message- > From: Fan Li [mailto:fanofcode...@samsung.com] > Sent: Thursday, December 17, 2015 1:21 PM > To: 'Jaegeuk Kim' > Cc: linux-ker...@vger.kernel.org; linux-f2fs-devel@lists.sourceforge.net > Subject: [f2fs-dev] [PATCH] f2fs: optimize the flow

[f2fs-dev] [PATCH] f2fs: optimize the flow of f2fs_map_blocks

2015-12-16 Thread Fan Li
check map->m_len right after it changes to avoid excess call to update dnode_of_data. Signed-off-by: Fan li --- fs/f2fs/data.c | 69 +--- 1 file changed, 36 insertions(+), 33 deletions(-) diff --git