Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757644Ab1E0XX2 (ORCPT ); Fri, 27 May 2011 19:23:28 -0400 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:41677 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757352Ab1E0XX1 (ORCPT ); Fri, 27 May 2011 19:23:27 -0400 Subject: Re: [PATCH-v5 07/13] iscsi-target: Add iSCSI Login Negotiation + Parameter logic From: James Bottomley To: "Nicholas A. Bellinger" Cc: FUJITA Tomonori , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, hch@lst.de, hare@suse.de, agrover@redhat.com, michaelc@cs.wisc.edu, bharrosh@panasas.com, akpm@linux-foundation.org, martin.svec@zoner.cz, jxm@risingtidesystems.com In-Reply-To: <1306454848.23461.77.camel@haakon2.linux-iscsi.org> References: <1306445587.23461.22.camel@haakon2.linux-iscsi.org> <1306451068.4048.69.camel@mulgrave.site> <1306452490.23461.60.camel@haakon2.linux-iscsi.org> <20110527084752T.fujita.tomonori@lab.ntt.co.jp> <1306454848.23461.77.camel@haakon2.linux-iscsi.org> Content-Type: text/plain; charset="UTF-8" Date: Fri, 27 May 2011 18:23:22 -0500 Message-ID: <1306538602.12244.22.camel@mulgrave.site> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2180 Lines: 49 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" 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/