[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1437816495.25825.59.camel@haakon3.risingtidesystems.com>
Date: Sat, 25 Jul 2015 02:28:15 -0700
From: "Nicholas A. Bellinger" <nab@...ux-iscsi.org>
To: Christoph Hellwig <hch@....de>
Cc: Spencer Baugh <sbaugh@...ern.com>,
Sagi Grimberg <sagig@...lanox.com>,
Bart Van Assche <bart.vanassche@...disk.com>,
Alexei Potashnik <alexei@...estorage.com>,
Andy Grover <agrover@...hat.com>,
Christophe Vu-Brugier <cvubrugier@...tmail.fm>,
Roland Dreier <roland@...estorage.com>,
"open list:TARGET SUBSYSTEM" <linux-scsi@...r.kernel.org>,
"open list:TARGET SUBSYSTEM" <target-devel@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>,
Joern Engel <joern@...estorage.com>,
Spencer Baugh <Spencer.baugh@...estorage.com>
Subject: Re: [PATCH] target: fix crash in cmd tracing when cmd didn't match
a LUN
On Sat, 2015-07-25 at 08:48 +0200, Christoph Hellwig wrote:
> On Fri, Jul 24, 2015 at 01:32:14PM -0700, Nicholas A. Bellinger wrote:
> > We've already been through this discussion a couple of years back when
> > target_submit_cmd() first came into existence.
> >
> > The reason iscsi/iser-target continues to be a special case is due to
> > immediate data vs. non immediate data and their respective command
> > sequence number ordering requirements.
>
> I don't see how immediate data plays into this, the write_pending
> callbacks can simply skip the data transfer path, similar to what
> Bart's port of the latest SRP target to lio does as well.
iscsit_execute_cmd() is using iscsit_transport->iscsit_get_dataout() for
any remaining solicited data-out (R2T/RDMA_READ) payload when immediate
write data is smaller than total EDTL.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists