[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0e3e70d5-9ce0-36f6-1340-1800c7dddfd5@suse.de>
Date: Tue, 14 Sep 2021 07:46:56 +0200
From: Hannes Reinecke <hare@...e.de>
To: John Garry <john.garry@...wei.com>, axboe@...nel.dk
Cc: linux-kernel@...r.kernel.org, linux-block@...r.kernel.org,
ming.lei@...hat.com, linux-scsi@...r.kernel.org
Subject: Re: [PATCH RESEND v3 09/13] blk-mq: Add
blk_mq_tag_update_sched_shared_sbitmap()
On 9/13/21 5:12 PM, John Garry wrote:
> Put the functionality to update the sched shared sbitmap size in a common
> function.
>
> Since the same formula is always used to resize, and it can be got from
> the request queue argument, so just pass the request queue pointer.
>
> Signed-off-by: John Garry <john.garry@...wei.com>
> Reviewed-by: Ming Lei <ming.lei@...hat.com>
> ---
> block/blk-mq-sched.c | 3 +--
> block/blk-mq-tag.c | 6 ++++++
> block/blk-mq-tag.h | 1 +
> block/blk-mq.c | 3 +--
> 4 files changed, 9 insertions(+), 4 deletions(-)
> Reviewed-by: Hannes Reinecke <hare@...e.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@...e.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
Powered by blists - more mailing lists