[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <172833280891.162752.17563005273256584675.b4-ty@kernel.dk>
Date: Mon, 07 Oct 2024 14:26:48 -0600
From: Jens Axboe <axboe@...nel.dk>
To: SurajSonawane2415 <surajsonawane0215@...il.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
hch@...radead.org
Subject: Re: [PATCH V2] block: Fix elevator_get_default() to check for null
q->tag_set
On Mon, 07 Oct 2024 16:44:16 +0530, SurajSonawane2415 wrote:
> Fix error "block/elevator.c:569 elevator_get_default() error:
> we previously assumed 'q->tag_set' could be null (see line 565)".
> Since 'q->tag_set' cannot be NULL for blk-mq queues,
> remove the unnecessary check in both `elevator_get_default`
> and `elv_support_iosched`. This simplifies the logic and
> ensures correct assumptions about 'q->tag_set' in blk-mq queues.
>
> [...]
Applied, thanks!
[1/1] block: Fix elevator_get_default() to check for null q->tag_set
commit: b402328a24ee7193a8ab84277c0c90ae16768126
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists