Re: [PATCH-v5 07/13] iscsi-target: Add iSCSI Login Negotiation +Parameter logic

From: James Bottomley
Date: Fri May 27 2011 - 19:23:31 EST


On Thu, 2011-05-26 at 17:07 -0700, Nicholas A. Bellinger wrote:
> On Fri, 2011-05-27 at 08:47 +0900, FUJITA Tomonori wrote:
> > On Thu, 26 May 2011 16:28:10 -0700
> > "Nicholas A. Bellinger" <nab@xxxxxxxxxxxxxxx> wrote:
> >
> > > As we have discussed at length over the years, the split needs to be all
> > > userspace or all kernelspace, and when implementations start doing
> > > things in-between they quickly get painful to debug, maintain and
> > > extend. I have no interest in trying to evolve this further when LIO
> >
> > Sorry, I disagree. As I explained, once user space passes established nexuses
> > to kernel, kernel handles all. I don't think it's painful.
> >
> >
>
> Then we are going to have to agree to disgree on this for an individual
> target endpoint context and being able to manage (via configfs) a
> complete set of iscsi-target features with native python library code.
>
> As for moving the mainline iscsi-target efforts to a more complex
> default direction is something that we (speaking as LIO maintainer and
> on behalf of RisingTide userspace) do not have an interest for an
> initial merge. We owe our users a complete set of functional and stable
> kernel and userspace library+shell, and not an untested design with
> undetermined time-frame for deployment.

OK, so I understand the commercial imperatives. However, when a trusted
reviewer raises issues, and I check and find myself agreeing, I need
them addressed to make forward progress.

The issue is simple:

* We can put all the auth mechanisms in the kernel, so we need a
userspace upcall anyway
* Since we have to have an upcall, it should be the default path
for everything (so it gets well tested).

Just saying "everything has to be in the kernel because mixed
user/kernel code is too complex" doesn't fly because we already have a
growing list of counter examples, some of which were cited.

James


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/