public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Bart Van Assche <Bart.VanAssche@sandisk.com>
To: "robert@leblancnet.us" <robert@leblancnet.us>,
	"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>,
	"sagi@grimberg.me" <sagi@grimberg.me>
Cc: "target-devel@vger.kernel.org" <target-devel@vger.kernel.org>
Subject: Re: Target core task management function handling rework
Date: Mon, 23 Jan 2017 22:32:39 +0000	[thread overview]
Message-ID: <1485210745.2825.15.camel@sandisk.com> (raw)
In-Reply-To: <07f540b9-f57b-6110-d94c-9ab0e9766b1b@grimberg.me>

On Tue, 2017-01-24 at 00:20 +0200, Sagi Grimberg wrote:
> Bart, I recall you had a patch at some point to periodically print
> out the hanging session commands in target_wait_for_sess_cmds(), do we
> want to get it in? I think we can all benefit from it.

(+target-devel)

Hello Sagi,

I have pushed the current state of these patches to the
scsi-target-for-v4.11 branch of
https://git.kernel.org/cgit/linux/kernel/git/bvanassche/linux.git/

So far these patches have been tested with iSCSI/TCP, ib_srpt and
qla2xxx drivers. The patches that are present on this branch are:

Bart Van Assche (36):
      qla2xxx: Avoid using variable-length arrays
      target/iscsi: Fix indentation in iscsi_target_start_negotiation()
      target/iscsi: Fix spelling of "perform"
      target/iscsi: Fix spelling of "reallegiance"
      target/iscsi: Introduce a helper function for TMF translation
      target/iscsi: Fix iSCSI task reassignment handling
      target/iscsi: Fix solicited data sequence offset calculations
      cxgbit: Fix endianness annotations
      target/tcm_fc: Remove a set-but-not-used variable
      target: Remove se_tmr_req.tmr_lun
      target: Make core_tmr_abort_task() consider all commands
      target: Make it possible to specify I_T nexus for SCSI abort
      tcm_qla2xxx: Let the target core look up the LUN of the aborted cmd
      target: Fix transport_wait_for_tasks() documentation
      target: Remove an overly chatty debug message
      target: Add a missing target_put_nacl() call
      target: Stop execution if CMD_T_STOP has been set
      target: Fix a reference leak in transport_cmd_check_stop_to_fabric()
      target: Inline transport_cmd_check_stop()
      target: Make ABORT and LUN RESET handling synchronous
      target: Simplify session shutdown code
      target: Remove the SCF_SEND_DELAYED_TAS command flag
      target: Inline transport_check_aborted_status()
      target: Remove the write_pending_status() callback function
      target: Remove several state tests from TMF code
      target: Remove command flag CMD_T_BUSY
      target: Simplify LUN RESET implementation
      target: Remove command flag CMD_T_DEV_ACTIVE
      target: Reduce number of __transport_wait_for_tasks() arguments
      target: Remove command flag CMD_T_TAS
      target: Remove unused arguments from __target_check_io_state()
      target: Change return type of transport_wait_for_tasks() into void
      target: Inline transport_put_cmd()
      target: Reduce the number of transport_lun_remove_cmd() callers
      target: Move target_remove_from_state_list() into target_release_cmd_kref()
      target: Avoid that XCOPY commands trigger a deadlock

Himanshu Madhani (2):
      qla2xxx: Remove SRR code
      qla2xxx: Remove unused reverse_ini_mode

Joe Carnuccio (1):
      qla2xxx: Simplify usage of SRB structure in driver

Quinn Tran (9):
      qla2xxx: Remove direct access of scsi_status field in se_cmd
      qla2xxx: Cleanup TMF code translation from qla_target
      qla2xxx: Make trace flags more readable
      qla2xxx: Fix wrong argument in sp done callback
      qla2xxx: Use d_id instead of s_id for more clarity
      qla2xxx: Track I-T nexus as single fc_port struct
      qla2xxx: Add framework for Async fabric discovery
      qla2xxx: Add Dual mode support in the driver
      qla2xxx: Improve RSCN handling in driver

Varun Prakash (1):
      target/iscsi: Fix unsolicited data seq_end_offset calculation

Bart.

  reply	other threads:[~2017-01-23 22:32 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-23 19:01 [RFC] Clear out stuck ops to prevent iSER from going init D state Robert LeBlanc
     [not found] ` <CAANLjFpi2E-2UxS3YSgjN=GzyZdLBhqJa4LN++52HTw6_3DKJA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-01-23 19:10   ` Bart Van Assche
     [not found]     ` <1485198613.2825.4.camel-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2017-01-23 19:24       ` Robert LeBlanc
2017-01-23 20:20       ` Laurence Oberman
     [not found]         ` <1131067681.19851058.1485202831888.JavaMail.zimbra-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-01-23 21:41           ` Laurence Oberman
     [not found]             ` <854924612.19878721.1485207662742.JavaMail.zimbra-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-01-23 22:42               ` Robert LeBlanc
2017-01-23 22:20   ` Sagi Grimberg
2017-01-23 22:32     ` Bart Van Assche [this message]
2017-01-23 22:43       ` Target core task management function handling rework Sagi Grimberg
2017-01-23 23:15         ` Robert LeBlanc
     [not found]     ` <07f540b9-f57b-6110-d94c-9ab0e9766b1b-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
2017-01-23 23:12       ` [RFC] Clear out stuck ops to prevent iSER from going init D state Robert LeBlanc
     [not found]         ` <CAANLjFp3Zo_QpR7WCmVOfO0AEDxCXabbenac3KNR-RosCgGx+A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-01-24 10:37           ` Max Gurtovoy
     [not found]             ` <c7f1af87-a846-ed8a-a46e-ab5888ea9b92-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2017-01-24 21:59               ` Robert LeBlanc
     [not found]                 ` <CAANLjFo1N=1BqY8Vur8jheDP4h9_9Q7Ns7MsgbRJX+TDhJbcOw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-01-24 22:26                   ` Bart Van Assche
2017-01-26 10:52                   ` Sagi Grimberg
     [not found]                     ` <21bfa6a7-9199-9341-1193-7d186fd36326-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
2017-01-26 18:05                       ` Robert LeBlanc
     [not found]                         ` <CAANLjFpVMMp9kaqmugT0yxoR=0f0gmvxGzhBnW-djXyZgMN-CA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-01-27 23:18                           ` Robert LeBlanc
2017-01-29  7:42                           ` Sagi Grimberg
     [not found]                             ` <b5beb647-31f1-30d2-1162-2398f654c63d-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
2017-01-29 19:13                               ` Robert LeBlanc
     [not found]                                 ` <CAANLjFoFocDMFFCSvYsGzYHOoRT-5DD3UDVpf51j9mU--LVL+A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-01-30  7:39                                   ` Sagi Grimberg
     [not found]                                     ` <4be8cfd7-c50c-18a2-347a-745e4a70113a-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
2017-01-30 19:36                                       ` Robert LeBlanc
     [not found]                                         ` <CAANLjFqNu2EjkWJGtRx=kjcgSq5SmyJJ2xnvMsgrJEu7Un0CzA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-02-01 17:56                                           ` Robert LeBlanc
2017-01-24 21:49           ` Robert LeBlanc

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=1485210745.2825.15.camel@sandisk.com \
    --to=bart.vanassche@sandisk.com \
    --cc=linux-rdma@vger.kernel.org \
    --cc=robert@leblancnet.us \
    --cc=sagi@grimberg.me \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox