[PATCH 0/8] ublk: simplify NEED_GET_DATA handling and request lookup

Caleb Sander Mateos posted 8 patches 9 months, 2 weeks ago
There is a newer version of this series
drivers/block/ublk_drv.c | 234 ++++++++++++++++++++-------------------
1 file changed, 120 insertions(+), 114 deletions(-)
[PATCH 0/8] ublk: simplify NEED_GET_DATA handling and request lookup
Posted by Caleb Sander Mateos 9 months, 2 weeks ago
Remove accesses to ublk_io's cmd field after the I/O request is posted to the
ublk server. This allows the cmd field to be overlapped with a pointer to the
struct request, avoiding several blk_mq_tag_to_rq() lookups.

Fix a couple of typos noticed along the way.

Caleb Sander Mateos (7):
  ublk: fix "immepdately" typo in comment
  ublk: remove misleading "ubq" in "ubq_complete_io_cmd()"
  ublk: don't log uring_cmd cmd_op in ublk_dispatch_req()
  ublk: factor out ublk_start_io() helper
  ublk: don't call ublk_dispatch_req() for NEED_GET_DATA
  ublk: check UBLK_IO_FLAG_OWNED_BY_SRV in ublk_abort_queue()
  ublk: store request pointer in ublk_io

Uday Shankar (1):
  ublk: factor out ublk_commit_and_fetch

 drivers/block/ublk_drv.c | 234 ++++++++++++++++++++-------------------
 1 file changed, 120 insertions(+), 114 deletions(-)

-- 
2.45.2