Re: [f2fs-dev] F2FS still EXPERIMENTAL

2016-11-15 Thread HUANG Weller (CM/ESW12-CN)
> Hello, > > On Tue, Nov 15, 2016 at 05:45:12AM +, HUANG Weller (CM/ESW12-CN) wrote: > > Hi f2fs developers, > > > > I am working on the kernel 3.14. I found the F2FS still EXPERIMENTAL. > > Could you tell me from which kernel version the f2fs is stable version ? > > You can pick a backport

[f2fs-dev] [PATCH v2] f2fs: don't wait writeback for datas during checkpoint

2016-11-15 Thread Chao Yu
Normally, while committing checkpoint, we will wait on all pages to be writebacked no matter the page is data or metadata, so in scenario where there are lots of data IO being submitted with metadata, we may suffer long latency for waiting writeback during checkpoint. Indeed, we only care about pe

Re: [f2fs-dev] [PATCH 2/2] fscrypto: don't use on-stack buffer for key derivation

2016-11-15 Thread Theodore Ts'o
On Thu, Nov 03, 2016 at 03:03:02PM -0700, Eric Biggers wrote: > With the new (in 4.9) option to use a virtually-mapped stack > (CONFIG_VMAP_STACK), stack buffers cannot be used as input/output for > the scatterlist crypto API because they may not be directly mappable to > struct page. get_crypt_in

Re: [f2fs-dev] [PATCH 1/2] fscrypto: don't use on-stack buffer for filename encryption

2016-11-15 Thread Theodore Ts'o
On Thu, Nov 03, 2016 at 03:03:01PM -0700, Eric Biggers wrote: > With the new (in 4.9) option to use a virtually-mapped stack > (CONFIG_VMAP_STACK), stack buffers cannot be used as input/output for > the scatterlist crypto API because they may not be directly mappable to > struct page. For short fi

Re: [f2fs-dev] F2FS still EXPERIMENTAL

2016-11-15 Thread Jaegeuk Kim
On Tue, Nov 15, 2016 at 09:59:25AM +, HUANG Weller (CM/ESW12-CN) wrote: > > Hello, > > > > On Tue, Nov 15, 2016 at 05:45:12AM +, HUANG Weller (CM/ESW12-CN) wrote: > > > Hi f2fs developers, > > > > > > I am working on the kernel 3.14. I found the F2FS still EXPERIMENTAL. > > > Could you t

Re: [f2fs-dev] [PATCH 2/2] fscrypto: don't use on-stack buffer for key derivation

2016-11-15 Thread Eric Biggers
On Tue, Nov 15, 2016 at 11:47:04AM -0500, Theodore Ts'o wrote: > On Thu, Nov 03, 2016 at 03:03:02PM -0700, Eric Biggers wrote: > > With the new (in 4.9) option to use a virtually-mapped stack > > (CONFIG_VMAP_STACK), stack buffers cannot be used as input/output for > > the scatterlist crypto API be

Re: [f2fs-dev] [PATCH v2] f2fs: don't wait writeback for datas during checkpoint

2016-11-15 Thread Jaegeuk Kim
Hi Chao, On Tue, Nov 15, 2016 at 07:33:27PM +0800, Chao Yu wrote: > Normally, while committing checkpoint, we will wait on all pages to be > writebacked no matter the page is data or metadata, so in scenario where > there are lots of data IO being submitted with metadata, we may suffer > long late

Re: [f2fs-dev] F2FS still EXPERIMENTAL

2016-11-15 Thread HUANG Weller (CM/ESW12-CN)
> > > > I am working on the kernel 3.14. I found the F2FS still EXPERIMENTAL. > > > > Could you tell me from which kernel version the f2fs is stable version ? > > > > > > You can pick a backported f2fs from: > > > > > > http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-stable.git > > > > Th

Re: [f2fs-dev] [PATCH v2] f2fs: don't wait writeback for datas during checkpoint

2016-11-15 Thread Chao Yu
Hi Jaegeuk, Thanks for your review, I will clean up codes as you remind. :) Thanks, On 2016/11/16 4:09, Jaegeuk Kim wrote: > Hi Chao, > > On Tue, Nov 15, 2016 at 07:33:27PM +0800, Chao Yu wrote: >> Normally, while committing checkpoint, we will wait on all pages to be >> writebacked no matter t

Re: [f2fs-dev] [PATCH v2] f2fs: don't wait writeback for datas during checkpoint

2016-11-15 Thread Chao Yu
On 2016/11/16 4:09, Jaegeuk Kim wrote: > Hi Chao, > > On Tue, Nov 15, 2016 at 07:33:27PM +0800, Chao Yu wrote: >> Normally, while committing checkpoint, we will wait on all pages to be >> writebacked no matter the page is data or metadata, so in scenario where >> there are lots of data IO being su

[f2fs-dev] [PATCH v3] f2fs: don't wait writeback for datas during checkpoint

2016-11-15 Thread Chao Yu
Normally, while committing checkpoint, we will wait on all pages to be writebacked no matter the page is data or metadata, so in scenario where there are lots of data IO being submitted with metadata, we may suffer long latency for waiting writeback during checkpoint. Indeed, we only care about pe