On Thu, Dec 17, 2020 at 03:18:56PM +0100, Jack Wang wrote: > Hi Jason, hi Doug, > > Please consider to include following changes to the next merge window. > > It contains a few bugfix and cleanup: > - Fix memory leak incase of failure in kobj_init_and_add in both clt/srv > - reduce memory footprint by set proper limit when create QP > - fix missing wr_cqe in a few cases on srv, it could lead to crash in error > case. > - remove the SIGNAL flag for heartbeat, otherwise it could mess around > the send_wr_awail accouting. > - flush on going session closing to release the memory presure on server. > - other misc fix and cleanup. > > The patches are created based on rdma/for-next. > > V2->V1 > * more descprition for the patches above as requested by Jason, also include > Fixes tag for bugfix. > * suppress the lockdep warning for PATCH 2 `Occasionally flush ongoing session closing` > with comment. > * new bugfix PATCH 19 RDMA/rtrs: Fix KASAN: stack-out-of-bounds bug > > Thanks! > > Guoqing Jiang (8): > RDMA/rtrs-srv: Jump to dereg_mr label if allocate iu fails > RDMA/rtrs: Call kobject_put in the failure path > RDMA/rtrs-clt: Consolidate rtrs_clt_destroy_sysfs_root_{folder,files} > RDMA/rtrs-clt: Kill wait_for_inflight_permits > RDMA/rtrs-clt: Remove unnecessary 'goto out' > RDMA/rtrs-clt: Kill rtrs_clt_change_state > RDMA/rtrs-clt: Rename __rtrs_clt_change_state to rtrs_clt_change_state > RDMA/rtrs-clt: Refactor the failure cases in alloc_clt > > Jack Wang (11): > RDMA/rtrs: Extend ibtrs_cq_qp_create > RDMA/rtrs-srv: Release lock before call into close_sess > RDMA/rtrs-srv: Use sysfs_remove_file_self for disconnect > RDMA/rtrs-clt: Set mininum limit when create QP > RDMA/rtrs-srv: Fix missing wr_cqe > RDMA/rtrs: Do not signal for heatbeat > RDMA/rtrs-clt: Use bitmask to check sess->flags > RDMA/rtrs-srv: Do not signal REG_MR > RDMA/rtrs-srv: Init wr_cnt as 1 > RDMA/rtrs: Fix KASAN: stack-out-of-bounds bug Every one except: > RMDA/rtrs-srv: Occasionally flush ongoing session closing Applied to for-next, thanks Jason