Skip to content

Align write() and ioctl() paths

Leon Romanovsky linux-rdma lkml 2 versions – Applied

Status from this message: Applied to for-next, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied
  2. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

* Fixed warning reported by kbuild where I wrote same assignment twice.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2RDMA/core: Align abort/commit object scheme for write() and ioctl() pathsdrivers/infiniband/core/uverbs_main.c drivers/infiniband/core/uverbs_std_types_device.c include/rdma/uverbs_ioctl.h +1 more+25 -10 replies
2/2RDMA/core: Update write interface to use automatic object lifetimedrivers/infiniband/core/uverbs_cmd.c+93 -2191 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH rdma-next v2 0/2] Align write() and ioctl() paths

From: Leon Romanovsky <[email protected]>

Changelog:
v2:
* Fixed warning reported by kbuild where I wrote same assignment twice.
v1:
https://lore.kernel.org/lkml/[email protected]
* v0 revealed old bug
* https://lore.kernel.org/linux-rdma/[email protected]
that took a while to find.
* create_cq() was rewritten to make sure that uobj is properly
* initialized.
v0:
https://lore.kernel.org/lkml/[email protected]

----------------------------------------------------
Hi,

The discussion about RWQ table patch revealed incosistency with use of usecnt, complex unwind flows without any reason and difference between write() and ioctl() paths.

This series extends infrastructure to be consistent, reliable and predicable in regards of commit/desotry uobject.

Thanks

Leon Romanovsky (2):
RDMA/core: Align abort/commit object scheme for write() and ioctl()
paths
RDMA/core: Update write interface to use automatic object lifetime

 drivers/infiniband/core/uverbs_cmd.c          | 312 ++++++------------
 drivers/infiniband/core/uverbs_main.c         |   4 +
 .../infiniband/core/uverbs_std_types_device.c |   7 +-
 include/rdma/uverbs_ioctl.h                   |   1 +
 include/rdma/uverbs_std_types.h               |  14 +
 5 files changed, 118 insertions(+), 220 deletions(-)

--
2.26.2