mbox series

[PATCHv3,for-next,00/20] RTRS update for 5.14

Message ID 20210528113018.52290-1-jinpu.wang@ionos.com (mailing list archive)
Headers show
Series RTRS update for 5.14 | expand

Message

Jinpu Wang May 28, 2021, 11:29 a.m. UTC
Hi Jason, hi Doug,

Please consider to include following changes to the next merge window.
It contains:
- Patch 01 ~ 10: Typical code refactoring patches
- Patch 11: Requested by Jason
https://www.spinics.net/lists/linux-rdma/msg102009.html
- Patch 12 RDMA/rtrs-srv: Replace atomic_t with percpu_ref for ids_inflight, we
  split the sysfs_emit conversion to a seperate patch 13.
- Patch 14 ~ 20: Bug fixes

V3->V2:
- ratelimit error message for first_con check. (Jason)
- split the sysfs_emit conversion to a new patch 13.

V2->V1:
- drop one patch "RDMA/rtrs-clt: No need to check queue_depth when
receiving" as requested by Leon
- (void) casting will be removed by next patch set
as requested by Leon.
https://www.spinics.net/lists/linux-rdma/msg102200.html


Dima Stepanov (1):
  RDMA/rtrs: Use strscpy instead of strlcpy

Gioh Kim (7):
  RDMA/rtrs-clt: Remove MAX_SESS_QUEUE_DEPTH from rtrs_send_sess_info
  RDMA/rtrs: Change MAX_SESS_QUEUE_DEPTH
  RDMA/rtrs: Define MIN_CHUNK_SIZE
  RDMA/rtrs: Do not reset hb_missed_max after re-connection
  RDMA/rtrs-srv: Duplicated session name is not allowed
  RDMA/rtrs-srv: Fix memory leak of unfreed rtrs_srv_stats object
  RDMA/rtrs-clt: Fix memory leak of not-freed sess->stats and
    stats->pcpu_stats

Guoqing Jiang (6):
  RDMA/rtrs-srv: Kill reject_w_econnreset label
  RDMA/rtrs-srv: Clean up the code in __rtrs_srv_change_state
  RDMA/rtrs-clt: Kill rtrs_clt_{start,stop}_hb
  RDMA/rtrs-clt: Kill rtrs_clt_disconnect_from_sysfs
  RDMA/rtrs-srv: Kill __rtrs_srv_change_state
  RDMA/rtrs-clt: Remove redundant 'break'

Jack Wang (2):
  RDMA/rtrs-srv: convert scnprintf to sysfs_emit
  RDMA/rtrs-srv: Fix memory leak when having multiple sessions

Md Haris Iqbal (4):
  RDMA/rtrs-srv: Add error messages for cases when failing RDMA
    connection
  RDMA/rtrs-clt: Check state of the rtrs_clt_sess before reading its
    stats
  RDMA/rtrs-srv: Replace atomic_t with percpu_ref for ids_inflight
  RDMA/rtrs-clt: Check if the queue_depth has changed during a
    reconnection

 drivers/infiniband/ulp/rtrs/rtrs-clt-sysfs.c |   5 +-
 drivers/infiniband/ulp/rtrs/rtrs-clt.c       |  58 +++----
 drivers/infiniband/ulp/rtrs/rtrs-clt.h       |   2 +-
 drivers/infiniband/ulp/rtrs/rtrs-pri.h       |  14 +-
 drivers/infiniband/ulp/rtrs/rtrs-srv-stats.c |  12 +-
 drivers/infiniband/ulp/rtrs/rtrs-srv-sysfs.c |   1 +
 drivers/infiniband/ulp/rtrs/rtrs-srv.c       | 163 +++++++++++--------
 drivers/infiniband/ulp/rtrs/rtrs-srv.h       |   4 +-
 drivers/infiniband/ulp/rtrs/rtrs.c           |   1 -
 9 files changed, 146 insertions(+), 114 deletions(-)

Comments

Jason Gunthorpe May 28, 2021, 11:53 p.m. UTC | #1
On Fri, May 28, 2021 at 01:29:58PM +0200, Jack Wang wrote:
> Hi Jason, hi Doug,
> 
> Please consider to include following changes to the next merge window.
> It contains:
> - Patch 01 ~ 10: Typical code refactoring patches
> - Patch 11: Requested by Jason
> https://www.spinics.net/lists/linux-rdma/msg102009.html
> - Patch 12 RDMA/rtrs-srv: Replace atomic_t with percpu_ref for ids_inflight, we
>   split the sysfs_emit conversion to a seperate patch 13.
> - Patch 14 ~ 20: Bug fixes
> 
> V3->V2:
> - ratelimit error message for first_con check. (Jason)
> - split the sysfs_emit conversion to a new patch 13.
> 
> V2->V1:
> - drop one patch "RDMA/rtrs-clt: No need to check queue_depth when
> receiving" as requested by Leon
> - (void) casting will be removed by next patch set
> as requested by Leon.
> https://www.spinics.net/lists/linux-rdma/msg102200.html
> 
> 
> Dima Stepanov (1):
>   RDMA/rtrs: Use strscpy instead of strlcpy
> 
> Gioh Kim (7):
>   RDMA/rtrs-clt: Remove MAX_SESS_QUEUE_DEPTH from rtrs_send_sess_info
>   RDMA/rtrs: Change MAX_SESS_QUEUE_DEPTH
>   RDMA/rtrs: Define MIN_CHUNK_SIZE
>   RDMA/rtrs: Do not reset hb_missed_max after re-connection
>   RDMA/rtrs-srv: Duplicated session name is not allowed
>   RDMA/rtrs-srv: Fix memory leak of unfreed rtrs_srv_stats object
>   RDMA/rtrs-clt: Fix memory leak of not-freed sess->stats and
>     stats->pcpu_stats
> 
> Guoqing Jiang (6):
>   RDMA/rtrs-srv: Kill reject_w_econnreset label
>   RDMA/rtrs-srv: Clean up the code in __rtrs_srv_change_state
>   RDMA/rtrs-clt: Kill rtrs_clt_{start,stop}_hb
>   RDMA/rtrs-clt: Kill rtrs_clt_disconnect_from_sysfs
>   RDMA/rtrs-srv: Kill __rtrs_srv_change_state
>   RDMA/rtrs-clt: Remove redundant 'break'
> 
> Jack Wang (2):
>   RDMA/rtrs-srv: convert scnprintf to sysfs_emit
>   RDMA/rtrs-srv: Fix memory leak when having multiple sessions
> 
> Md Haris Iqbal (4):
>   RDMA/rtrs-srv: Add error messages for cases when failing RDMA
>     connection
>   RDMA/rtrs-clt: Check state of the rtrs_clt_sess before reading its
>     stats
>   RDMA/rtrs-srv: Replace atomic_t with percpu_ref for ids_inflight
>   RDMA/rtrs-clt: Check if the queue_depth has changed during a

Applied to for-next, thanks

Jason