From: Leon Romanovsky <leonro@xxxxxxxxxxxx> 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 | 299 ++++++------------ 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, 115 insertions(+), 210 deletions(-) -- 2.26.2