Re: [PATCH V6 04/12] block: move block polling code into one dedicated source file

Hannes Reinecke
2021-04-26T07:12:19Z

On 4/22/21 2:20 PM, Ming Lei wrote:
> Prepare for supporting bio based io polling, and move blk polling
> code into one dedicated source file. And three shared functions are
> put into private header of blk-mq.h
>
> Suggested-by: Christoph Hellwig <hch@lst.de>
> Signed-off-by: Ming Lei <ming.lei@redhat.com>
> ---
> block/Makefile | 3 +-
> block/blk-mq.c | 230 -----------------------------------------------
> block/blk-mq.h | 40 +++++++++
> block/blk-poll.c | 196 ++++++++++++++++++++++++++++++++++++++++
> 4 files changed, 238 insertions(+), 231 deletions(-)
> create mode 100644 block/blk-poll.c
>
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@suse.de +49 911 74053 688
SUSE Software Solutions Germany GmbH, 90409 Nürnberg
GF: F. Imendörffer, HRB 36809 (AG Nürnberg)