Re: [f2fs-dev] [PATCH] f2fs: use BIO_MAX_PAGES for bio allocation

2016-10-27 Thread Jaegeuk Kim
On Thu, Oct 27, 2016 at 06:28:04PM +0800, Chao Yu wrote: > On 2016/10/19 2:48, Jaegeuk Kim wrote: > > We don't need to allocate bio partially in order to maximize sequential > > writes. > > We are going to allocate bio with max size supposing that there will be more > opportunity to merge small

Re: [f2fs-dev] [PATCH] f2fs: use BIO_MAX_PAGES for bio allocation

2016-10-27 Thread Chao Yu
On 2016/10/19 2:48, Jaegeuk Kim wrote: > We don't need to allocate bio partially in order to maximize sequential > writes. We are going to allocate bio with max size supposing that there will be more opportunity to merge small IOs into one bio. Otherwise, if MAX_BIO_BLOCKS is smaller than