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: <aM5rvjGN68iwIixV@fedora>
Date: Sat, 20 Sep 2025 16:54:22 +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 04/17] ublk: add helpers to check ublk_device flags

On Wed, Sep 17, 2025 at 07:49:40PM -0600, Caleb Sander Mateos wrote:
> Introduce ublk_device analogues of the ublk_queue flag helpers:
> - ublk_support_zero_copy() -> ublk_dev_support_user_copy()
> - ublk_support_auto_buf_reg() -> ublk_dev_support_auto_buf_reg()
> - ublk_support_user_copy() -> ublk_dev_support_user_copy()
> - ublk_need_map_io() -> ublk_dev_need_map_io()
> - ublk_need_req_ref() -> ublk_dev_need_req_ref()
> - ublk_need_get_data() -> ublk_dev_need_get_data()
> 
> These will be used in subsequent changes to avoid accessing the
> ublk_queue just for the flags, and instead use the ublk_device.
> 
> Signed-off-by: Caleb Sander Mateos <csander@...estorage.com>

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

Thanks,
Ming


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ