]> www.infradead.org Git - nvme.git/commit
ublk: call io_uring_cmd_to_pdu to get uring_cmd pdu
authorMing Lei <ming.lei@redhat.com>
Thu, 27 Mar 2025 09:51:14 +0000 (17:51 +0800)
committerKeith Busch <kbusch@kernel.org>
Mon, 31 Mar 2025 15:48:24 +0000 (08:48 -0700)
commit874b1e598f73701afa39394f7c5bdabe6efef4c0
tree2a49689e2338b4b987b6266e029bfc5b002a9be1
parent139c3d972ebafdfb27d05ab33cfc3583fb98a7b2
ublk: call io_uring_cmd_to_pdu to get uring_cmd pdu

Call io_uring_cmd_to_pdu() to get uring_cmd pdu, and one big benefit
is the automatic pdu size build check.

Suggested-by: Uday Shankar <ushankar@purestorage.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Caleb Sander Mateos <csander@purestorage.com>
Link: https://lore.kernel.org/r/20250327095123.179113-6-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/ublk_drv.c