From owner-freebsd-scsi@FreeBSD.ORG Fri Jun 1 04:53:25 2007 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ACC7A16A46C for ; Fri, 1 Jun 2007 04:53:25 +0000 (UTC) (envelope-from freebsd@gm.nunu.org) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.freebsd.org (Postfix) with ESMTP id 755E413C458 for ; Fri, 1 Jun 2007 04:53:25 +0000 (UTC) (envelope-from freebsd@gm.nunu.org) Received: by py-out-1112.google.com with SMTP id a29so744162pyi for ; Thu, 31 May 2007 21:53:24 -0700 (PDT) Received: by 10.35.101.1 with SMTP id d1mr2360622pym.1180672097101; Thu, 31 May 2007 21:28:17 -0700 (PDT) Received: by 10.35.79.1 with HTTP; Thu, 31 May 2007 21:28:17 -0700 (PDT) Message-ID: <626eb4530705312128x503bf613q740cbe855d225346@mail.gmail.com> Date: Fri, 1 Jun 2007 13:28:17 +0900 From: "Hidetoshi Shimokawa" Sender: freebsd@gm.nunu.org To: "Scott Long" In-Reply-To: <465F955E.7050103@samsco.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <86tztspdil.wl%simokawa@FreeBSD.ORG> <465F955E.7050103@samsco.org> X-Google-Sender-Auth: cffe76d2f07746ba Cc: freebsd-scsi@freebsd.org Subject: Re: scsi_target with multiple luns X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 04:53:25 -0000 On 6/1/07, Scott Long wrote: > > Maybe, we should rewrite scsi_target in kernel space with GEOM support.. > > I'm unclear on how GEOM would fix this. Also, scsi targets aren't > always DA devices. I dedicated scsi_da_target device that is backed > by GEOM might be interesting, though. Even more interesting would be > a direct DMA method that required no KVA mappings for the data. > > Scott I don't say GEOM fixes the problem. I just say if it's implemented in kernel, we don't need to care about the context of userland. Though it's true that it's not only for DA device, I think using GEOM would be useful for applications such as iSCSI. -- /\ Hidetoshi Shimokawa \/ simokawa@FreeBSD.ORG