diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-24 22:39:15 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-24 22:39:15 +0100 |
commit | ae2fb3cb0f00482c0ec0079e4244bdee3e1fc46b (patch) | |
tree | 39102f757a3ecbabdd6ea259f2b659821ea5c374 /drivers/infiniband/ulp | |
parent | scsi: target: uapi: Replace fake flex-array with flexible-array member (diff) | |
parent | scsi: target: iscsi: Handle abort for WRITE_PENDING cmds (diff) | |
download | linux-ae2fb3cb0f00482c0ec0079e4244bdee3e1fc46b.tar.xz linux-ae2fb3cb0f00482c0ec0079e4244bdee3e1fc46b.zip |
Merge patch series "target: TMF and recovery fixes"
Mike Christie <michael.christie@oracle.com> says:
The following patches apply over Martin's 6.4 branches and Linus's tree.
They fix a couple regressions in iscsit that occur when there are TMRs
executing and a connection is closed. It also includes Dimitry's fixes in
related code paths for cmd cleanup when ERL2 is used and the write pending
hang during conn cleanup.
This version of the patchset brings it back to just regressions and fixes
for bugs we have a lot of users hitting. I'm going to fix isert and get it
hooked into iscsit properly in a second patchset, because this one was
getting so large. I've also moved my cleanup type of patches for a 3rd
patchset.
Link: https://lore.kernel.org/r/20230319015620.96006-1-michael.christie@oracle.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/infiniband/ulp')
-rw-r--r-- | drivers/infiniband/ulp/isert/ib_isert.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/ulp/isert/ib_isert.c b/drivers/infiniband/ulp/isert/ib_isert.c index 75404885cf98..f290cd49698e 100644 --- a/drivers/infiniband/ulp/isert/ib_isert.c +++ b/drivers/infiniband/ulp/isert/ib_isert.c @@ -2506,8 +2506,8 @@ isert_wait4cmds(struct iscsit_conn *conn) isert_info("iscsit_conn %p\n", conn); if (conn->sess) { - target_stop_session(conn->sess->se_sess); - target_wait_for_sess_cmds(conn->sess->se_sess); + target_stop_cmd_counter(conn->cmd_cnt); + target_wait_for_cmds(conn->cmd_cnt); } } |