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 I
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 BIO_MAX
We don't need to allocate bio partially in order to maximize sequential writes.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/checkpoint.c | 2 +-
fs/f2fs/data.c | 4 +---
fs/f2fs/node.c | 3 +--
fs/f2fs/segment.c| 4 ++--
fs/f2fs/segment.h| 17 +++--
5 files changed