[dm-devel] [PATCH V4 03/12] block: create io poll context for submission and poll task
Hannes Reinecke
hare at suse.de
Tue Mar 30 06:17:24 UTC 2021
On 3/29/21 5:26 PM, 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, written by submission task
> and read by poll task.
> 2) polling queue(pq) for holding data moved from sq, only used in poll
> context for running bio polling.
>
> Following patches will support bio based io polling.
>
> Signed-off-by: Ming Lei <ming.lei at redhat.com>
> ---
> block/blk-core.c | 79 +++++++++++++++++++++++++++++++++------
> block/blk-ioc.c | 1 +wed
> block/blk-mq.c | 14 +++++++
> block/blk.h | 38 +++++++++++++++++++
> include/linux/iocontext.h | 2 +
> 5 files changed, 123 insertions(+), 11 deletions(-)
> Reviewed-by: Hannes Reinecke <hare at suse.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer
More information about the dm-devel
mailing list