Re: [PATCH] bio: limit bio max size.

2021-01-13 Thread Changheun Lee
>On 2021/01/14 12:53, Ming Lei wrote: >> On Wed, Jan 13, 2021 at 12:02:44PM +, Damien Le Moal wrote: >>> On 2021/01/13 20:48, Ming Lei wrote: On Wed, Jan 13, 2021 at 11:16:11AM +, Damien Le Moal wrote: > On 2021/01/13 19:25, Ming Lei wrote: >> On Wed, Jan 13, 2021 at

Re: [PATCH] bio: limit bio max size.

2021-01-13 Thread Damien Le Moal
On 2021/01/14 12:53, Ming Lei wrote: > On Wed, Jan 13, 2021 at 12:02:44PM +, Damien Le Moal wrote: >> On 2021/01/13 20:48, Ming Lei wrote: >>> On Wed, Jan 13, 2021 at 11:16:11AM +, Damien Le Moal wrote: On 2021/01/13 19:25, Ming Lei wrote: > On Wed, Jan 13, 2021 at 09:28:02AM

Re: [PATCH] bio: limit bio max size.

2021-01-13 Thread Ming Lei
On Wed, Jan 13, 2021 at 12:02:44PM +, Damien Le Moal wrote: > On 2021/01/13 20:48, Ming Lei wrote: > > On Wed, Jan 13, 2021 at 11:16:11AM +, Damien Le Moal wrote: > >> On 2021/01/13 19:25, Ming Lei wrote: > >>> On Wed, Jan 13, 2021 at 09:28:02AM +, Damien Le Moal wrote: > On

Re: [PATCH] bio: limit bio max size.

2021-01-13 Thread Damien Le Moal
On 2021/01/13 20:48, Ming Lei wrote: > On Wed, Jan 13, 2021 at 11:16:11AM +, Damien Le Moal wrote: >> On 2021/01/13 19:25, Ming Lei wrote: >>> On Wed, Jan 13, 2021 at 09:28:02AM +, Damien Le Moal wrote: On 2021/01/13 18:19, Ming Lei wrote: > On Wed, Jan 13, 2021 at 12:09 PM

Re: [PATCH] bio: limit bio max size.

2021-01-13 Thread Ming Lei
On Wed, Jan 13, 2021 at 11:16:11AM +, Damien Le Moal wrote: > On 2021/01/13 19:25, Ming Lei wrote: > > On Wed, Jan 13, 2021 at 09:28:02AM +, Damien Le Moal wrote: > >> On 2021/01/13 18:19, Ming Lei wrote: > >>> On Wed, Jan 13, 2021 at 12:09 PM Changheun Lee > >>> wrote: > > > On

Re: [PATCH] bio: limit bio max size.

2021-01-13 Thread Damien Le Moal
On 2021/01/13 19:25, Ming Lei wrote: > On Wed, Jan 13, 2021 at 09:28:02AM +, Damien Le Moal wrote: >> On 2021/01/13 18:19, Ming Lei wrote: >>> On Wed, Jan 13, 2021 at 12:09 PM Changheun Lee >>> wrote: > On 2021/01/12 21:14, Changheun Lee wrote: >>> On 2021/01/12 17:52, Changheun

Re: [PATCH] bio: limit bio max size.

2021-01-13 Thread Ming Lei
On Wed, Jan 13, 2021 at 09:28:02AM +, Damien Le Moal wrote: > On 2021/01/13 18:19, Ming Lei wrote: > > On Wed, Jan 13, 2021 at 12:09 PM Changheun Lee > > wrote: > >> > >>> On 2021/01/12 21:14, Changheun Lee wrote: > > On 2021/01/12 17:52, Changheun Lee wrote: > >> From: "Changheun

Re: [PATCH] bio: limit bio max size.

2021-01-13 Thread Damien Le Moal
On 2021/01/13 18:19, Ming Lei wrote: > On Wed, Jan 13, 2021 at 12:09 PM Changheun Lee wrote: >> >>> On 2021/01/12 21:14, Changheun Lee wrote: > On 2021/01/12 17:52, Changheun Lee wrote: >> From: "Changheun Lee" >> >> bio size can grow up to 4GB when muli-page bvec is enabled.

Re: Re: [PATCH] bio: limit bio max size.

2021-01-13 Thread Ming Lei
On Wed, Jan 13, 2021 at 12:09 PM Changheun Lee wrote: > > >On 2021/01/12 21:14, Changheun Lee wrote: > >>> On 2021/01/12 17:52, Changheun Lee wrote: > From: "Changheun Lee" > > bio size can grow up to 4GB when muli-page bvec is enabled. > but sometimes it would lead to

Re: [PATCH] bio: limit bio max size.

2021-01-12 Thread Damien Le Moal
On 2021/01/13 15:54, Changheun Lee wrote: >> On 2021/01/13 13:01, Changheun Lee wrote: On 2021/01/12 21:14, Changheun Lee wrote: >> On 2021/01/12 17:52, Changheun Lee wrote: >>> From: "Changheun Lee" >>> >>> bio size can grow up to 4GB when muli-page bvec is enabled. >>>

Re: Re: [PATCH] bio: limit bio max size.

2021-01-12 Thread Changheun Lee
>On 2021/01/13 13:01, Changheun Lee wrote: >>> On 2021/01/12 21:14, Changheun Lee wrote: > On 2021/01/12 17:52, Changheun Lee wrote: >> From: "Changheun Lee" >> >> bio size can grow up to 4GB when muli-page bvec is enabled. >> but sometimes it would lead to inefficient

Re: [PATCH] bio: limit bio max size.

2021-01-12 Thread Damien Le Moal
On 2021/01/13 13:01, Changheun Lee wrote: >> On 2021/01/12 21:14, Changheun Lee wrote: On 2021/01/12 17:52, Changheun Lee wrote: > From: "Changheun Lee" > > bio size can grow up to 4GB when muli-page bvec is enabled. > but sometimes it would lead to inefficient behaviors.

Re: Re: [PATCH] bio: limit bio max size.

2021-01-12 Thread Changheun Lee
>On 2021/01/12 21:14, Changheun Lee wrote: >>> On 2021/01/12 17:52, Changheun Lee wrote: From: "Changheun Lee" bio size can grow up to 4GB when muli-page bvec is enabled. but sometimes it would lead to inefficient behaviors. in case of large chunk direct I/O, - 64MB chunk

Re: [PATCH] bio: limit bio max size.

2021-01-12 Thread Damien Le Moal
On 2021/01/12 21:14, Changheun Lee wrote: >> On 2021/01/12 17:52, Changheun Lee wrote: >>> From: "Changheun Lee" >>> >>> bio size can grow up to 4GB when muli-page bvec is enabled. >>> but sometimes it would lead to inefficient behaviors. >>> in case of large chunk direct I/O, - 64MB chunk read

Re: Re: [PATCH] bio: limit bio max size.

2021-01-12 Thread Changheun Lee
>On 2021/01/12 17:52, Changheun Lee wrote: >> From: "Changheun Lee" >> >> bio size can grow up to 4GB when muli-page bvec is enabled. >> but sometimes it would lead to inefficient behaviors. >> in case of large chunk direct I/O, - 64MB chunk read in user space - >> all pages for 64MB would be

Re: [PATCH] bio: limit bio max size.

2021-01-12 Thread Damien Le Moal
On 2021/01/12 17:52, Changheun Lee wrote: > From: "Changheun Lee" > > bio size can grow up to 4GB when muli-page bvec is enabled. > but sometimes it would lead to inefficient behaviors. > in case of large chunk direct I/O, - 64MB chunk read in user space - > all pages for 64MB would be merged to

[PATCH] bio: limit bio max size.

2021-01-12 Thread Changheun Lee
From: "Changheun Lee" bio size can grow up to 4GB when muli-page bvec is enabled. but sometimes it would lead to inefficient behaviors. in case of large chunk direct I/O, - 64MB chunk read in user space - all pages for 64MB would be merged to a bio structure if memory address is continued