Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751146AbWC0WWZ (ORCPT ); Mon, 27 Mar 2006 17:22:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751143AbWC0WWZ (ORCPT ); Mon, 27 Mar 2006 17:22:25 -0500 Received: from stat9.steeleye.com ([209.192.50.41]:57533 "EHLO hancock.sc.steeleye.com") by vger.kernel.org with ESMTP id S1751098AbWC0WWY (ORCPT ); Mon, 27 Mar 2006 17:22:24 -0500 Subject: Re: RFC: Move SG_GET_SCSI_ID from sg to scsi From: James Bottomley To: dougg@torque.net Cc: Stefan Richter , Bodo Eggert <7eggert@gmx.de>, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <442861C4.7080304@torque.net> References: <440C8E60.6020005@torque.net> <440D9F8E.7050402@s5r6.in-berlin.de> <442861C4.7080304@torque.net> Content-Type: text/plain Date: Mon, 27 Mar 2006 16:22:12 -0600 Message-Id: <1143498132.3334.28.camel@mulgrave.il.steeleye.com> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1133 Lines: 30 On Mon, 2006-03-27 at 17:05 -0500, Douglas Gilbert wrote: > I have been reviewing this thread and had one point > to add here. > > The identity of the initiator port is important, at > least to a SCSI target that can implement (PERSISTENT) > RESERVE on behalf of one of its logical units. > So you may need to keep the equivalent of Scsi_Host:this_id > somewhere. Since Scsi_Host:this_id is an integer, it's impossible that a TransportID (which is what you use to identify the port) would ever fit into it, since these are defined to be at least 24 bytes long. > That is another shortcoming of the tuple: the > initiator port isn't there. Actually, it may not be in HCIL, but it is in the transport classes (although the only implementor is FC at this time, I think). And that's where it should be since format and contents of the transport ID are transport specific. 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/