All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bart Van Assche <bart.vanassche@wdc.com>
To: target-devel@vger.kernel.org
Subject: [PATCH 00/11] SCSI target patches for kernel v4.16
Date: Wed, 13 Dec 2017 23:50:18 +0000	[thread overview]
Message-ID: <20171213235029.581-1-bart.vanassche@wdc.com> (raw)
In-Reply-To: <20171031180319.19258-1-bart.vanassche@wdc.com>

Hello Martin,

As you maybe know some time ago I started working on simplifying task
management function handling in the SCSI target core (see e.g. "[PATCH 00/34]
SCSI target patches for kernel v4.11"; January 2017;
https://www.spinics.net/lists/target-devel/msg14054.html). There were some
patches in that series that rightfully raised Nic's eyebrows. Reviewing these
patches myself made me realize that before TMF handling can be made
synchronous that some unusual constructs in the SCSI target core have to be
reworked first. Hence this patch series. The following tests have been run
against this patch series for both the iSCSI and SRPT target drivers:
- Run the libiscsi conformance tests.
- Run fio ${dev} in one shell and while sg_reset -d ${dev}; do :; done from
  another shell. This is a good way to stress test TMF handling.
- For the SRP target driver: run the srp-test software.

Please consider this patch series for kernel v4.16.

Thanks,

Bart.

Bart Van Assche (11):
  target: Fix an argument name in a function documentation header
  target: Use config_item_name() instead of open-coding it
  target: Avoid that EXTENDED COPY commands trigger lock inversion
  target: Make the session shutdown code also wait for commands that are
    being aborted
  target: Add more documentation
  target: Simplify core_tmr_handle_tas_abort()
  target: Fold core_tmr_handle_tas_abort() into
    transport_cmd_finish_abort()
  target: Simplify transport_generic_free_cmd() (1/2)
  target: Simplify transport_generic_free_cmd() (2/2)
  target: Simplify the code for waiting for command completion
  target/iscsi: Reduce number of __iscsit_free_cmd() callers

 drivers/target/iscsi/iscsi_target.c          |   2 -
 drivers/target/iscsi/iscsi_target_configfs.c |   1 +
 drivers/target/iscsi/iscsi_target_util.c     |   4 +-
 drivers/target/target_core_configfs.c        |   4 +-
 drivers/target/target_core_device.c          |  31 +++--
 drivers/target/target_core_internal.h        |   2 +-
 drivers/target/target_core_sbc.c             |   7 +-
 drivers/target/target_core_tmr.c             |  30 +----
 drivers/target/target_core_transport.c       | 166 ++++++++++++---------------
 include/target/target_core_base.h            |   5 +-
 10 files changed, 113 insertions(+), 139 deletions(-)

-- 
2.15.1


  reply	other threads:[~2017-12-13 23:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-31 18:03 [PATCH 00/11] SCSI target patches for kernel v4.15 Bart Van Assche
2017-12-13 23:50 ` Bart Van Assche [this message]
2018-01-18 16:11 ` [PATCH 00/11] SCSI target patches for kernel v4.16 Bart Van Assche
2019-04-02 19:58 ` [PATCH 00/11] SCSI target patches for kernel v5.2 Bart Van Assche
2019-04-16  2:38 ` Martin K. Petersen

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=20171213235029.581-1-bart.vanassche@wdc.com \
    --to=bart.vanassche@wdc.com \
    --cc=target-devel@vger.kernel.org \
    /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.