lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aMDdsp0dYjVitaE6@fedora>
Date: Wed, 10 Sep 2025 10:08:50 +0800
From: Ming Lei <ming.lei@...hat.com>
To: Caleb Sander Mateos <csander@...estorage.com>
Cc: Jens Axboe <axboe@...nel.dk>, linux-block@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ublk: consolidate nr_io_ready and nr_queues_ready

On Mon, Sep 08, 2025 at 12:45:41PM -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.
> 
> Signed-off-by: Caleb Sander Mateos <csander@...estorage.com>

Looks fine:

Reviewed-by: Ming Lei <ming.lei@...hat.com>


Thanks,
Ming


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ