mbox series

[v2,00/10] Make ABORT and LUN RESET handling synchronous

Message ID 20181127235204.186731-1-bvanassche@acm.org (mailing list archive)
Headers show
Series Make ABORT and LUN RESET handling synchronous | expand

Message

Bart Van Assche Nov. 27, 2018, 11:51 p.m. UTC
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(-)

Comments

Bart Van Assche Dec. 4, 2018, 12:37 a.m. UTC | #1
On Tue, 2018-11-27 at 15:51 -0800, Bart Van Assche wrote:
> 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.

Hi Martin,

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

Thanks,

Bart.
Martin K. Petersen Dec. 8, 2018, 2:26 a.m. UTC | #2
Bart,

> 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!