Re: [f2fs-dev] [PATCH RFC] f2fs: add fast symlink

2015-03-12 Thread Wanpeng Li
Hi Chao, On Thu, Mar 12, 2015 at 05:02:47PM +0800, Chao Yu wrote: >Hi Wanpeng, > >> -Original Message- >> From: Wanpeng Li [mailto:wanpeng...@linux.intel.com] >> Sent: Thursday, March 12, 2015 2:42 PM >> To: Chao Yu >> Cc: 'Wanpeng Li'; 'Jaegeuk Kim'; 'Changman Lee'; >> linux-f2fs-devel@li

Re: [f2fs-dev] [PATCH RFC] f2fs: add fast symlink

2015-03-12 Thread Chao Yu
Hi Wanpeng, > -Original Message- > From: Wanpeng Li [mailto:wanpeng...@linux.intel.com] > Sent: Thursday, March 12, 2015 2:42 PM > To: Chao Yu > Cc: 'Wanpeng Li'; 'Jaegeuk Kim'; 'Changman Lee'; > linux-f2fs-devel@lists.sourceforge.net; > linux-fsde...@vger.kernel.org; linux-ker...@vger.ke

Re: [f2fs-dev] [PATCH RFC] f2fs: add fast symlink

2015-03-12 Thread Wanpeng Li
Hi Chao, On Thu, Mar 12, 2015 at 12:17:29PM +0800, Chao Yu wrote: > >We always remain space in inode page for inline xattr data, >so it's better to define our max size of fast symlink as below: > >#define MAX_FAST_SYMLINK_SIZE (MAX_INLINE_DATA + 1) > Thanks for your review, I just handle all your

Re: [f2fs-dev] [PATCH RFC] f2fs: add fast symlink

2015-03-11 Thread Chao Yu
Hi Wanpeng, > -Original Message- > From: Wanpeng Li [mailto:wanpeng...@linux.intel.com] > Sent: Wednesday, March 11, 2015 7:52 PM > To: Jaegeuk Kim > Cc: Changman Lee; Chao Yu; linux-f2fs-devel@lists.sourceforge.net; > linux-fsde...@vger.kernel.org; linux-ker...@vger.kernel.org; Wanpeng Li

[f2fs-dev] [PATCH RFC] f2fs: add fast symlink

2015-03-11 Thread Wanpeng Li
This patch add fast symlink for f2fs, I'm not sure if inline interference with fast symlink, f2fs_follow_link can't be called in my patch, so my patch still can't work correctly, please help review and give comments to help me out. Signed-off-by: Wanpeng Li --- fs/f2fs/f2fs.h | 9 +