Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754453Ab0HXOlg (ORCPT ); Tue, 24 Aug 2010 10:41:36 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:63286 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751407Ab0HXOle (ORCPT ); Tue, 24 Aug 2010 10:41:34 -0400 Message-ID: <4C73DA15.2010207@vlnb.net> Date: Tue, 24 Aug 2010 18:41:25 +0400 From: Vladislav Bolkhovitin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100527 Thunderbird/3.0.5 MIME-Version: 1.0 To: James Bottomley CC: "Nicholas A. Bellinger" , Dirk Meister , linux-scsi@vger.kernel.org, Chetan Loke , Chetan Loke , scst-devel , linux-kernel@vger.kernel.org, Mike Christie Subject: Re: [Scst-devel] Fwd: Re: linuxcon 2010... References: <594039.74663.qm@web111905.mail.gq1.yahoo.com> <1282144271.3035.31.camel@mulgrave.site> <1282148296.3035.49.camel@mulgrave.site> <4C6C1D70.7020502@vlnb.net> <41A1E2691BBB412BADCDE5F515CD8EDA@usish.com.cn> <8A96806D-6CD7-44AD-8A9D-143C098C95A4@uni-paderborn.de> <1282256949.30453.278.camel@haakon2.linux-iscsi.org> <4C701E08.2020005@vlnb.net> <1282423398.3015.39.camel@mulgrave.site> In-Reply-To: <1282423398.3015.39.camel@mulgrave.site> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:O0ZxVj1wU+/CAFBnUSBVgRDNWYgxKVtzwurnv7wIZku Ldm89HnUsoAJqNx8Q6BLjQfVgGMbOiY6HUKFn9qyXTbQWg1HpW fQtnADaxiRlHKd/s8NW9ldpmyJ7fMq57gwkLYXWc5bfn9Pn/jg 9W6yUqp1EDHQYvaDZgvEvM3Yl5LCe/oJy9ktvgh8iM65DgBUef FVssSqCpv9Q+0QIR2230Q== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1658 Lines: 35 James Bottomley, on 08/22/2010 12:43 AM wrote: > Interface re-use (or at least ABI compatibility) is the whole point, > it's what makes the solution a drop in replacement. I see now. You want ABI compatibility to keep the "contract" that no kernel changes can break applications binary compatibility for unlimited time. OK, we will write the compatibility module. It shouldn't take much time. But before we start, I'd like to clear 2 related questions: 1. How far the ABI compatibility "contract" goes? Are there cases, where it isn't so strong? I'm asking, because I can recall that open-iscsi at least once has broken ABI compatibility with user space tools. Was it an accidental (but not corrected) mistake or was it deliberate? If the latter, then, I guess, there must be some exceptions defining when ABI compatibility can be not followed. 2. Currently STGT in the kernel is just 2 files, scsi_tgt_if.c and scsi_tgt_lib.c (with headers), + ibmvstgt driver. The C files define the STGT interface in question. So, if we keep ABI compatibility with the new target engine, we would have to keep those 2 files included in the kernel, which would effectively mean that STGT would stay in the kernel. This would lead to the situation you are trying to avoid: 2 SCSI target infrastructures in the kernel. Would it be OK? Thanks for (eventually!) defining clear rules and removing confusions! Vlad -- 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/