Re: [dm-devel] [RFC PATCH V2 04/13] block: create io poll context for submission and poll task

2021-03-23 Thread Ming Lei
On Fri, Mar 19, 2021 at 01:05:09PM -0400, Mike Snitzer wrote: > On Thu, Mar 18 2021 at 12:48pm -0400, > Ming Lei wrote: > > > Create per-task io poll context for both IO submission and poll task > > if the queue is bio based and supports polling. > > > > This io polling context includes two

Re: [dm-devel] [RFC PATCH V2 04/13] block: create io poll context for submission and poll task

2021-03-19 Thread Mike Snitzer
On Thu, Mar 18 2021 at 12:48pm -0400, Ming Lei wrote: > Create per-task io poll context for both IO submission and poll task > if the queue is bio based and supports polling. > > This io polling context includes two queues: 1) submission queue(sq) for storing HIPRI bio submission result(cookie)

[dm-devel] [RFC PATCH V2 04/13] block: create io poll context for submission and poll task

2021-03-18 Thread Ming Lei
Create per-task io poll context for both IO submission and poll task if the queue is bio based and supports polling. This io polling context includes two queues: submission queue(sq) for storing HIPRI bio submission result(cookie) and the bio, written by submission task and read by poll task;