All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bart Van Assche <bart.vanassche@sandisk.com>
To: "Nicholas A. Bellinger" <nab@linux-iscsi.org>
Cc: "Nicholas A. Bellinger" <nab@daterainc.com>,
	target-devel <target-devel@vger.kernel.org>,
	linux-scsi <linux-scsi@vger.kernel.org>,
	Quinn Tran <quinn.tran@qlogic.com>,
	Himanshu Madhani <himanshu.madhani@qlogic.com>,
	Sagi Grimberg <sagig@mellanox.com>,
	Christoph Hellwig <hch@lst.de>, Hannes Reinecke <hare@suse.de>,
	Andy Grover <agrover@redhat.com>,
	Mike Christie <mchristi@redhat.com>
Subject: Re: [PATCH-v4 0/5] Fix LUN_RESET active I/O + TMR handling
Date: Sun, 7 Feb 2016 08:02:06 -0800	[thread overview]
Message-ID: <56B76A7E.6080903@sandisk.com> (raw)
In-Reply-To: <1454822367.10001.38.camel@haakon3.risingtidesystems.com>

On 02/06/16 21:19, Nicholas A. Bellinger wrote:
> On Sat, 2016-02-06 at 20:19 -0800, Bart Van Assche wrote:
>> On 02/06/16 19:17, Nicholas A. Bellinger wrote:
>>> Here is -v4 series to address the set of of LUN_RESET
>>> active I/O + TMR se_cmd->cmd_kref < 0 bugs as reported
>>> recently by Quinn & Co.  This can occur during active
>>> I/O remote port TMR LUN_RESET with multi-port LIO
>>> configurations.
>>
>> Hi Nic,
>>
>> If I understood the purpose of this patch series correctly then this
>> patch series is a brave attempt to fix what is also fixed by my patch
>> called "target: Make ABORT and LUN RESET handling synchronous". Wouldn't
>> it be better to focus on that patch instead of trying to fix the current
>> approach in which TMR handling happens from the another context than the
>> command processing context ?
>>
>
> This statement is a gross oversimplification of the issues involved.
>
> If you'll recall, this was already highlighted in the context of your
> patch here:
>
> http://www.spinics.net/lists/target-devel/msg11057.html
>
> There are a number of comments on why the bug-fix was incorrect and
> broken, the basics of what needed to be done and in what order it should
> happen.
>
> But instead of replying to the comments, this was your response:
>
> http://www.spinics.net/lists/target-devel/msg11542.html
>
> If you are authentically interested in understanding the issues
> involved, you'll probably need to go back and comment on those topics
> individually, instead of ignoring them.

Hi Nic,

What you write is not correct. All your review comments that made sense 
have been addressed in the latest version of my patch 
(http://www.spinics.net/lists/target-devel/msg11666.html).

Additionally, you haven't answered my question. My question was: why to 
spend more energy on trying to fix the current approach if the LIO TMR 
handling code can be simplified greatly by handling ABORT and LUN RESET 
from the regular command execution path ?

Bart.

  reply	other threads:[~2016-02-07 16:02 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-07  3:17 [PATCH-v4 0/5] Fix LUN_RESET active I/O + TMR handling Nicholas A. Bellinger
2016-02-07  3:17 ` [PATCH-v4 1/5] target: Fix LUN_RESET active I/O handling for ACK_KREF Nicholas A. Bellinger
2016-02-07  3:17 ` [PATCH-v4 2/5] target: Fix LUN_RESET active TMR descriptor handling Nicholas A. Bellinger
2016-02-07  3:18 ` [PATCH-v4 3/5] target: Fix TAS handling for multi-session se_node_acls Nicholas A. Bellinger
2016-02-07  3:18 ` [PATCH-v4 4/5] target: Fix remote-port TMR ABORT + se_cmd fabric stop Nicholas A. Bellinger
2016-02-07  3:18 ` [PATCH-v4 5/5] target: Fix race with SCF_SEND_DELAYED_TAS handling Nicholas A. Bellinger
2016-02-07  4:19 ` [PATCH-v4 0/5] Fix LUN_RESET active I/O + TMR handling Bart Van Assche
2016-02-07  5:19   ` Nicholas A. Bellinger
2016-02-07 16:02     ` Bart Van Assche [this message]
2016-02-07 19:24       ` Nicholas A. Bellinger
2016-02-08 23:27 ` Himanshu Madhani
2016-02-09  5:25   ` Nicholas A. Bellinger
2016-02-09 18:03     ` Himanshu Madhani
2016-02-11  6:53       ` Nicholas A. Bellinger
2016-02-11 23:47         ` Nicholas A. Bellinger
2016-02-12  5:30           ` Himanshu Madhani
2016-02-12  8:48             ` Nicholas A. Bellinger
2016-02-13  7:03               ` Nicholas A. Bellinger
2016-02-15 19:02                 ` Himanshu Madhani
2016-02-27  2:43             ` Dan Lane

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=56B76A7E.6080903@sandisk.com \
    --to=bart.vanassche@sandisk.com \
    --cc=agrover@redhat.com \
    --cc=hare@suse.de \
    --cc=hch@lst.de \
    --cc=himanshu.madhani@qlogic.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mchristi@redhat.com \
    --cc=nab@daterainc.com \
    --cc=nab@linux-iscsi.org \
    --cc=quinn.tran@qlogic.com \
    --cc=sagig@mellanox.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.