[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175750380033.204398.14564992598850434752.b4-ty@kernel.dk>
Date: Wed, 10 Sep 2025 05:30:00 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Ming Lei <ming.lei@...hat.com>,
Caleb Sander Mateos <csander@...estorage.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ublk: consolidate nr_io_ready and nr_queues_ready
On Mon, 08 Sep 2025 12:45:41 -0600, Caleb Sander Mateos wrote:
> ublk_mark_io_ready() tracks whether all the ublk_device's I/Os have been
> fetched by incrementing ublk_queue's nr_io_ready count and incrementing
> ublk_device's nr_queues_ready count if the whole queue is ready.
> Simplify the logic by just tracking the total number of fetched I/Os on
> each ublk_device. When this count reaches nr_hw_queues * queue_depth,
> the ublk_device is ready to receive I/O.
>
> [...]
Applied, thanks!
[1/1] ublk: consolidate nr_io_ready and nr_queues_ready
commit: 97e8ba31b8f1b743c918bf31586cdc272376226b
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists