Skip to contentSkip to conversation

Make ABORT and LUN RESET handling synchronous

PATCH Applied Bart Van Assche 2 participants 3 messages Nov 27, 2018 – Dec 8, 2018 SCSI target

lore
Share & tools
lore
#0 lore raw

v2 cover Make ABORT and LUN RESET handling synchronous

Hello Martin,

This is a respin of the patch series that makes ABORT and LUN RESET handling synchronous. Compared to last time when this patch series was posted, the actual patch that makes task management function handling synchronous has been split into three patches. That makes the changes easier to follow. Please consider this patch series for kernel v4.21.

Thanks,

Bart.

Changes compared to v1: restored the __GFP_RETRY_MAYFAIL flag in patch 2/10
which had been left out accidentally.

Bart Van Assche (10):
target/tcmu: Fix queue_cmd_ring() declaration target/core: Use kvcalloc() instead of open-coding it target/core: Simplify transport_clear_lun_ref() target/core: Make sure that target_wait_for_sess_cmds() waits long
enough
target/core: Use system workqueues for TMF
target/core: Make it possible to wait from more than one context for
command completion
target/core: Simplify the code for aborting SCSI commands target/core: Fix TAS handling for aborted commands target/core: Make ABORT and LUN RESET handling synchronous target/core: Reduce the amount of code executed with a spinlock held

 drivers/target/iscsi/iscsi_target.c          |  11 +-
 drivers/target/iscsi/iscsi_target_configfs.c |   2 +
 drivers/target/iscsi/iscsi_target_erl1.c     |  28 +-
 drivers/target/target_core_device.c          |  17 -
 drivers/target/target_core_internal.h        |   2 -
 drivers/target/target_core_tmr.c             |  52 ++-
 drivers/target/target_core_tpg.c             |   1 -
 drivers/target/target_core_transport.c       | 406 ++++++++-----------
 drivers/target/target_core_user.c            |   2 +-
 drivers/target/target_core_xcopy.c           |   6 +-
 include/target/target_core_base.h            |   7 +-
 include/target/target_core_fabric.h          |  11 +-
 12 files changed, 222 insertions(+), 323 deletions(-)
Signature · 1 line
2.20.0.rc0.387.gc7a69e6b6c-goog
#1 lore raw

On Tue, 2018-11-27 at 15:51 -0800, Bart Van Assche wrote:
+AD4 This is a respin of the patch series that makes ABORT and LUN RESET handling +AD4 synchronous. Compared to last time when this patch series was posted, the +AD4 actual patch that makes task management function handling synchronous has +AD4 been split into three patches. That makes the changes easier to follow. +AD4 Please consider this patch series for kernel v4.21.

Hi Martin,

Do you need more feedback about this patch series in order to queue it?

Thanks,

Bart.

#2 lore raw
In reply to Bart Van Assche

Bart,

Quoted 5 lines

This is a respin of the patch series that makes ABORT and LUN RESET handling synchronous. Compared to last time when this patch series was posted, the actual patch that makes task management function handling synchronous has been split into three patches. That makes the changes easier to follow. Please consider this patch series for kernel v4.21.

Applied to 4.21/scsi-queue. Thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering