All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Bob Pearson <rpearsonhpe@gmail.com>
Cc: zyjzyj2000@gmail.com, jhack@hpe.com, matsuda-daisuke@fujitsu.com,
	linux-rdma@vger.kernel.org
Subject: Re: [PATCH for-next v3 0/8] RDMA/rxe: Correct qp reference counting
Date: Fri, 24 Mar 2023 11:23:33 -0300	[thread overview]
Message-ID: <ZB2yZb2ff6T4aa3y@nvidia.com> (raw)
In-Reply-To: <20230304174533.11296-1-rpearsonhpe@gmail.com>

On Sat, Mar 04, 2023 at 11:45:26AM -0600, Bob Pearson wrote:
> This patch series corrects qp reference counting issues
> related to deferred execution of tasklets. These issues were
> discovered in attempting to resolve soft lockups of the rxe
> driver observed by Daisuke Matsuda in a version of the driver
> using work queues where the workqueue implementation was based
> on the current tasklet based driver. An attempt to find the
> root cause of those lockups lead to an error in the tasklet
> implementation that has been present since the driver went
> upstream. This patch series corrects that error.
> 
> With this patch series applied the rxe driver is more stable and
> has run the test cases reported by Matsuda for over 24 hours without
> errors.
> 
> The series also corrects some errors in qp reference counting
> related to qp cleanup.
> 
> This series depends on the RDMA/rxe: Add error logging to rxe"
> series as a prerequisite.
> 
> Link: https://lore.kernel.org/linux-rdma/TYCPR01MB845522FD536170D75068DD41E5099@TYCPR01MB8455.jpnprd01.prod.outlook.com/
> Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
> 
> v3:
>   Fixed an error in patch 4/8 "RDMA/rxe: Cleanup error state handling in
>   rxe_comp.c". Didn't set wqe.status to IB_WC_WR_FLUSH_ERR when
>   flushing send queue. This broke blktests which calls modify qp to
>   set qp to IB_QPS_ERR and waits for the flushed cqe's.
> 
> v2:
>   This version of this series split off the changes to rxe debug code
>   which have been submitted as "RDMA/rxe: Add error logging to rxe".
>   One unrelated patch was dropped and other patches earlier included
>   in a series to convert from tasklets to workqueues were moved into
>   this series because they are relevant both for the tasklet version
>   and the workqueue version of the driver.
> 
> Bob Pearson (8):
>   RDMA/rxe: Convert tasklet args to queue pairs
>   RDMA/rxe: Cleanup reset state handling in rxe_resp.c
>   RDMA/rxe: Cleanup error state handling in rxe_comp.c
>   RDMA/rxe: Remove qp reference counting in tasks
>   RDMA/rxe: Remove __rxe_do_task()
>   RDMA/rxe: Make tasks schedule each other
>   RDMA/rxe: Rewrite rxe_task.c

Applied to for-next

>   RDMA/rxe: Warn if refcnt zero in rxe_put

This one I dropped

Thanks,
Jason

      parent reply	other threads:[~2023-03-24 14:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-04 17:45 [PATCH for-next v3 0/8] RDMA/rxe: Correct qp reference counting Bob Pearson
2023-03-04 17:45 ` [PATCH for-next v3 1/8] RDMA/rxe: Convert tasklet args to queue pairs Bob Pearson
2023-03-04 17:45 ` [PATCH for-next v3 2/8] RDMA/rxe: Warn if refcnt zero in rxe_put Bob Pearson
2023-03-24 14:18   ` Jason Gunthorpe
2023-03-04 17:45 ` [PATCH for-next v3 3/8] RDMA/rxe: Cleanup reset state handling in rxe_resp.c Bob Pearson
2023-03-04 17:45 ` [PATCH for-next v3 4/8] RDMA/rxe: Cleanup error state handling in rxe_comp.c Bob Pearson
2023-03-04 17:45 ` [PATCH for-next v3 5/8] RDMA/rxe: Remove qp reference counting in tasks Bob Pearson
2023-03-04 17:45 ` [PATCH for-next v3 6/8] RDMA/rxe: Remove __rxe_do_task() Bob Pearson
2023-03-04 17:45 ` [PATCH for-next v3 7/8] RDMA/rxe: Make tasks schedule each other Bob Pearson
2023-03-04 17:45 ` [PATCH for-next v3 8/8] RDMA/rxe: Rewrite rxe_task.c Bob Pearson
2023-03-24 14:23 ` Jason Gunthorpe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZB2yZb2ff6T4aa3y@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=jhack@hpe.com \
    --cc=linux-rdma@vger.kernel.org \
    --cc=matsuda-daisuke@fujitsu.com \
    --cc=rpearsonhpe@gmail.com \
    --cc=zyjzyj2000@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.