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
Hi Chao, On Mon, Mar 16, 2015 at 09:03:30PM +0800, Chao Yu wrote: >Hi Wanpeng, Jaegeuk, > >> -Original Message- >> From: Wanpeng Li [mailto:wanpeng...@linux.intel.com] >> Sent: Friday, March 13, 2015 2:34 PM >> To: Jaegeuk Kim >> Cc: Changman Lee; Chao Yu; linux-f2fs-de...@lists.sourceforge

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
Hi Wanpeng, Jaegeuk, > -Original Message- > From: Wanpeng Li [mailto:wanpeng...@linux.intel.com] > Sent: Friday, March 13, 2015 2:34 PM > To: Jaegeuk Kim > Cc: Changman Lee; Chao Yu; linux-f2fs-de...@lists.sourceforge.net; > linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; Wanp