Re: [dm-devel] [PATCH v5 10/12] block: fastpath for bio-based polling

2021-03-15 Thread JeffleXu
On 3/11/21 2:36 PM, JeffleXu wrote: > > > On 3/11/21 7:18 AM, Mike Snitzer wrote: >> On Wed, Mar 03 2021 at 6:57am -0500, >> Jeffle Xu wrote: >> >>> Offer one fastpath for bio-based polling when bio submitted to dm >>> device is not split. >>> >>> In this case, there will be only one bio

Re: [dm-devel] [PATCH v5 10/12] block: fastpath for bio-based polling

2021-03-15 Thread JeffleXu
On 3/11/21 9:56 PM, Ming Lei wrote: > On Wed, Mar 03, 2021 at 07:57:38PM +0800, Jeffle Xu wrote: >> Offer one fastpath for bio-based polling when bio submitted to dm >> device is not split. >> >> In this case, there will be only one bio submitted to only one polling >> hw queue of one

Re: [dm-devel] [PATCH v5 10/12] block: fastpath for bio-based polling

2021-03-11 Thread Ming Lei
On Wed, Mar 03, 2021 at 07:57:38PM +0800, Jeffle Xu wrote: > Offer one fastpath for bio-based polling when bio submitted to dm > device is not split. > > In this case, there will be only one bio submitted to only one polling > hw queue of one underlying mq device, and thus we don't need to track

Re: [dm-devel] [PATCH v5 10/12] block: fastpath for bio-based polling

2021-03-11 Thread JeffleXu
On 3/11/21 7:18 AM, Mike Snitzer wrote: > On Wed, Mar 03 2021 at 6:57am -0500, > Jeffle Xu wrote: > >> Offer one fastpath for bio-based polling when bio submitted to dm >> device is not split. >> >> In this case, there will be only one bio submitted to only one polling >> hw queue of one

Re: [dm-devel] [PATCH v5 10/12] block: fastpath for bio-based polling

2021-03-10 Thread Mike Snitzer
On Wed, Mar 03 2021 at 6:57am -0500, Jeffle Xu wrote: > Offer one fastpath for bio-based polling when bio submitted to dm > device is not split. > > In this case, there will be only one bio submitted to only one polling > hw queue of one underlying mq device, and thus we don't need to track >

[dm-devel] [PATCH v5 10/12] block: fastpath for bio-based polling

2021-03-04 Thread Jeffle Xu
Offer one fastpath for bio-based polling when bio submitted to dm device is not split. In this case, there will be only one bio submitted to only one polling hw queue of one underlying mq device, and thus we don't need to track all split bios or iterate through all polling hw queues. The pointer