Re: [PATCH v3] f2fs: add fast symlink support

2015-03-22 Thread Wanpeng Li
gt;> > Sent: Thursday, March 19, 2015 7:02 AM >> > To: Jaegeuk Kim >> > Cc: Wanpeng Li; Changman Lee; Chao Yu; >> > linux-f2fs-de...@lists.sourceforge.net; >> > linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org >> > Subject: Re: [P

Re: [PATCH v3] f2fs: add fast symlink support

2015-03-20 Thread Jaegeuk Kim
el.org; linux-kernel@vger.kernel.org > > Subject: Re: [PATCH v3] f2fs: add fast symlink support > > > > Hi Jaegeuk, > > On Wed, Mar 18, 2015 at 11:05:28AM -0700, Jaegeuk Kim wrote: > > >Hi, > > > > > >On Wed, Mar 18, 2015 at 04:58:5

RE: [PATCH v3] f2fs: add fast symlink support

2015-03-18 Thread Chao Yu
el@vger.kernel.org > Subject: Re: [PATCH v3] f2fs: add fast symlink support > > Hi Jaegeuk, > On Wed, Mar 18, 2015 at 11:05:28AM -0700, Jaegeuk Kim wrote: > >Hi, > > > >On Wed, Mar 18, 2015 at 04:58:52PM +0800, Wanpeng Li wrote: > >> Hi Jaegeuk, > &g

Re: [PATCH v3] f2fs: add fast symlink support

2015-03-18 Thread Wanpeng Li
Hi Jaegeuk, On Wed, Mar 18, 2015 at 11:05:28AM -0700, Jaegeuk Kim wrote: >Hi, > >On Wed, Mar 18, 2015 at 04:58:52PM +0800, Wanpeng Li wrote: >> Hi Jaegeuk, >> On Tue, Mar 17, 2015 at 10:21:27AM -0700, Jaegeuk Kim wrote: >> >> - err = page_symlink(inode, symname, symlen); >> >> + >> >> + if (symlen

Re: [PATCH v3] f2fs: add fast symlink support

2015-03-18 Thread Jaegeuk Kim
Hi, On Wed, Mar 18, 2015 at 04:58:52PM +0800, Wanpeng Li wrote: > Hi Jaegeuk, > On Tue, Mar 17, 2015 at 10:21:27AM -0700, Jaegeuk Kim wrote: > >> - err = page_symlink(inode, symname, symlen); > >> + > >> + if (symlen > MAX_FAST_SYMLINK_SIZE) { > >> + /* slow symlink */ > >> + i

Re: [PATCH v3] f2fs: add fast symlink support

2015-03-18 Thread Wanpeng Li
Hi Jaegeuk, On Tue, Mar 17, 2015 at 10:21:27AM -0700, Jaegeuk Kim wrote: >> -err = page_symlink(inode, symname, symlen); >> + >> +if (symlen > MAX_FAST_SYMLINK_SIZE) { >> +/* slow symlink */ >> +inode->i_op = &f2fs_symlink_inode_operations; >> +inode->i_m

Re: [PATCH v3] f2fs: add fast symlink support

2015-03-17 Thread Jaegeuk Kim
Hi guys, Sorry for the delay due to travel. On Fri, Mar 13, 2015 at 02:33:39PM +0800, Wanpeng Li wrote: > This patch introduces the improvement fast symlinks to allow storage of > the target path within inode, thus symlinks with short target paths are > more accessed quickly. It will fall back to

Re: [PATCH v3] f2fs: add fast symlink support

2015-03-16 Thread Wanpeng Li
Changman Lee; Chao Yu; linux-f2fs-de...@lists.sourceforge.net; >> linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; Wanpeng Li >> Subject: [PATCH v3] f2fs: add fast symlink support >> >> This patch introduces the improvement fast symlinks to allow storage of >> the target pa

Re: [PATCH v3] f2fs: add fast symlink support

2015-03-16 Thread Wanpeng Li
Ping Jaegeuk, On Fri, Mar 13, 2015 at 02:33:39PM +0800, Wanpeng Li wrote: >This patch introduces the improvement fast symlinks to allow storage of >the target path within inode, thus symlinks with short target paths are >more accessed quickly. It will fall back to using the original slow >symlink i

RE: [PATCH v3] f2fs: add fast symlink support

2015-03-16 Thread Chao Yu
el@vger.kernel.org; Wanpeng Li > Subject: [PATCH v3] f2fs: add fast symlink support > > This patch introduces the improvement fast symlinks to allow storage of > the target path within inode, thus symlinks with short target paths are > more accessed quickly. It will fall back to using t

[PATCH v3] f2fs: add fast symlink support

2015-03-12 Thread Wanpeng Li
This patch introduces the improvement fast symlinks to allow storage of the target path within inode, thus symlinks with short target paths are more accessed quickly. It will fall back to using the original slow symlink if the target path exceeds the available inode space. Signed-off-by: Wanpeng L