Message ID | 20250328180411.2696494-1-csander@purestorage.com (mailing list archive) |
---|---|
Headers | show |
Series | Minor ublk optimizations | expand |
On 3/28/25 12:04 PM, Caleb Sander Mateos wrote: > A few cleanups on top of Ming's recent patch set that implemented > ->queue_rqs() for ublk: > https://lore.kernel.org/linux-block/20250327095123.179113-1-ming.lei@redhat.com/T/#u > > Caleb Sander Mateos (5): > ublk: remove unused cmd argument to ublk_dispatch_req() > ublk: skip 1 NULL check in ublk_cmd_list_tw_cb() loop > ublk: get ubq from pdu in ublk_cmd_list_tw_cb() > ublk: avoid redundant io->cmd in ublk_queue_cmd_list() > ublk: store req in ublk_uring_cmd_pdu for ublk_cmd_tw_cb() All look like reasonable cleanups to me.
On Fri, Mar 28, 2025 at 12:04:06PM -0600, Caleb Sander Mateos wrote: > A few cleanups on top of Ming's recent patch set that implemented > ->queue_rqs() for ublk: > https://lore.kernel.org/linux-block/20250327095123.179113-1-ming.lei@redhat.com/T/#u > > Caleb Sander Mateos (5): > ublk: remove unused cmd argument to ublk_dispatch_req() > ublk: skip 1 NULL check in ublk_cmd_list_tw_cb() loop > ublk: get ubq from pdu in ublk_cmd_list_tw_cb() > ublk: avoid redundant io->cmd in ublk_queue_cmd_list() > ublk: store req in ublk_uring_cmd_pdu for ublk_cmd_tw_cb() > > drivers/block/ublk_drv.c | 33 ++++++++++++++++----------------- > 1 file changed, 16 insertions(+), 17 deletions(-) All are nice cleanup, and pass builtin ublk selftest. Reviewed-by: Ming Lei <ming.lei@redhat.com> Thanks, Ming
On Fri, 28 Mar 2025 12:04:06 -0600, Caleb Sander Mateos wrote: > A few cleanups on top of Ming's recent patch set that implemented > ->queue_rqs() for ublk: > https://lore.kernel.org/linux-block/20250327095123.179113-1-ming.lei@redhat.com/T/#u > > Caleb Sander Mateos (5): > ublk: remove unused cmd argument to ublk_dispatch_req() > ublk: skip 1 NULL check in ublk_cmd_list_tw_cb() loop > ublk: get ubq from pdu in ublk_cmd_list_tw_cb() > ublk: avoid redundant io->cmd in ublk_queue_cmd_list() > ublk: store req in ublk_uring_cmd_pdu for ublk_cmd_tw_cb() > > [...] Applied, thanks! [1/5] ublk: remove unused cmd argument to ublk_dispatch_req() commit: dfbce8b798fb848a42706e2e544b78b3db22aaae [2/5] ublk: skip 1 NULL check in ublk_cmd_list_tw_cb() loop commit: 9d7fa99189709b80eb16094aad18f7e492b835de [3/5] ublk: get ubq from pdu in ublk_cmd_list_tw_cb() commit: 6a87fc437a034e4be2a63d8dfd4d2985c6c574bc [4/5] ublk: avoid redundant io->cmd in ublk_queue_cmd_list() commit: 108d8aecaeeb52f5fbe98ac94da534954db1da44 [5/5] ublk: store req in ublk_uring_cmd_pdu for ublk_cmd_tw_cb() commit: 00cfc05cf81f58b1bc2650e18228350a094b1f6d Best regards,