From: Minwoo Im <minwoo.im.dev@gmail.com>
To: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Cc: Hannes Reinecke <hare@suse.de>,
minwoo.im@samsung.com,
"sathya.prakash@broadcom.com" <sathya.prakash@broadcom.com>,
"suganath-prabu.subramani@broadcom.com"
<suganath-prabu.subramani@broadcom.com>,
"jejb@linux.ibm.com" <jejb@linux.ibm.com>,
"martin.petersen@oracle.com" <martin.petersen@oracle.com>,
"MPT-FusionLinux.pdl@broadcom.com"
<MPT-FusionLinux.pdl@broadcom.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
Euihyeok Kwon <eh81.kwon@samsung.com>,
Sarah Cho <sohyeon.jo@samsung.com>,
Sanggwan Lee <sanggwan.lee@samsung.com>,
Gyeongmin Nam <gm.nam@samsung.com>,
Sungjun Park <sj1228.park@samsung.com>,
Minwoo Im <minwoo.im.dev@gmail.com>
Subject: Re: [PATCH V2] mpt3sas: support target smid for [abort|query] task
Date: Fri, 26 Jul 2019 01:53:27 +0900 [thread overview]
Message-ID: <20190725165327.GA3081@minwoo-desktop> (raw)
In-Reply-To: <CAK=zhgocY3Ute_6RiowaWsOROx3+Nzq6+WvkobmR_SB0Rt9_1g@mail.gmail.com>
On 19-07-23 16:57:49, Sreekanth Reddy wrote:
> On Mon, Jul 15, 2019 at 11:43 AM Hannes Reinecke <hare@suse.de> wrote:
> > I think this is fundamentally wrong.
> > ABORT_TASK is used to abort a single task, which of course has to be
> > known beforehand. If you don't know the task, what exactly do you hope
> > to achieve here? Aborting random I/O?
> > Or, even worse, aborting I/O the driver uses internally and corrupt the
> > internal workflow of the driver?
> >
> > We should simply disallow any ABORT TASK from userspace if the TaskMID
> > is zero. And I would even argue to disabllow ABORT TASK from userspace
> > completely, as the smid is never relayed to userland, and as such the
> > user cannot know which task should be aborted.
>
> Hannes,
>
> This interface was added long time back in mpt2sas driver and I don't
> have exact reason of adding this interface at that time.
> But I know that this interface is still used by BRCM test team & few
> customers only for some functionality and regression testing.
Sreekanth, and Hannes,
Could you please give some review points on this?
Thanks,
next prev parent reply other threads:[~2019-07-25 16:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20190714034415epcms2p25f9787cb71993a30f58524d2f355b543@epcms2p2>
2019-07-14 3:44 ` [PATCH V2] mpt3sas: support target smid for [abort|query] task Minwoo Im
2019-07-15 6:13 ` Hannes Reinecke
2019-07-16 5:44 ` Minwoo Im
2019-07-17 12:12 ` Minwoo Im
2019-07-23 11:27 ` Sreekanth Reddy
2019-07-23 13:33 ` Minwoo Im
2019-07-25 16:53 ` Minwoo Im [this message]
2019-07-26 9:49 ` Sreekanth Reddy
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=20190725165327.GA3081@minwoo-desktop \
--to=minwoo.im.dev@gmail.com \
--cc=MPT-FusionLinux.pdl@broadcom.com \
--cc=eh81.kwon@samsung.com \
--cc=gm.nam@samsung.com \
--cc=hare@suse.de \
--cc=jejb@linux.ibm.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=minwoo.im@samsung.com \
--cc=sanggwan.lee@samsung.com \
--cc=sathya.prakash@broadcom.com \
--cc=sj1228.park@samsung.com \
--cc=sohyeon.jo@samsung.com \
--cc=sreekanth.reddy@broadcom.com \
--cc=suganath-prabu.subramani@broadcom.com \
/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