Re: [PATCH] blk-mq: Unexport blk_mq_flush_busy_ctxs()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/23/24 13:28, Bart Van Assche wrote:
> Commit a6088845c2bf ("block: kyber: make kyber more friendly with merging")
> removed the only blk_mq_flush_busy_ctxs() call from outside the block layer
> core. Hence unexport blk_mq_flush_busy_ctxs().
>
> Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>
> ---
>   block/blk-mq.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/block/blk-mq.c b/block/blk-mq.c
> index 7482e682deca..9abe6b9dd2ea 100644
> --- a/block/blk-mq.c
> +++ b/block/blk-mq.c
> @@ -1716,7 +1716,6 @@ void blk_mq_flush_busy_ctxs(struct blk_mq_hw_ctx *hctx, struct list_head *list)
>   
>   	sbitmap_for_each_set(&hctx->ctx_map, flush_busy_ctx, &data);
>   }
> -EXPORT_SYMBOL_GPL(blk_mq_flush_busy_ctxs);
>   
>   struct dispatch_rq_data {
>   	struct blk_mq_hw_ctx *hctx;
>

Indeed [1], looks good.

Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx>

-ck

[1]

block/blk-mq-sched.c:   blk_mq_flush_busy_ctxs(hctx, &rq_list);
block/blk-mq.c:void blk_mq_flush_busy_ctxs(struct blk_mq_hw_ctx *hctx, 
struct list_head *list)
block/blk-mq.c:EXPORT_SYMBOL_GPL(blk_mq_flush_busy_ctxs);
block/blk-mq.h:void blk_mq_flush_busy_ctxs(struct blk_mq_hw_ctx *hctx, 
struct list_head *list);





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux