From: Mike Christie <michaelc@cs.wisc.edu>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH RFC 0/3] SCSI Userspace Target
Date: Fri, 27 Jan 2006 04:46:01 -0600 [thread overview]
Message-ID: <43D9F9E9.3060701@cs.wisc.edu> (raw)
In-Reply-To: <20060125174649.GH14225@havoc.gtf.org>
Jeff Garzik wrote:
> On Tue, Jan 24, 2006 at 08:58:02PM -0600, Mike Christie wrote:
>
>>The following patches begin to add the infrastructure for the SCSI
>>Userspace target framework. We were not sure about what James meant by
>>some of his comments, so rather than getting to far we want to post a
>>early.
>>
>>As the email subject hints, the goal of the project is to push most of
>>the target code to userspace. The only parts we kept in the kernel were
>>for transferring data between the LLD and userpsace and the netlink
>>interface. We included the relevant parts of a software iscsi target as
>>an example.
>
>
> I'm glad this got posted, I've been wanting something like this for a
> while. My own personal interest is implementing a tSCSI (my answer to
> iSCSI) target.
>
> One random comment: Take a look at the mmap'd ring buffer interface
> provided by mmap'ing the packet socket. That's the ideal async
> interface, since that's fully async, very close to hardware reality.
>
Thanks will do. I had actually replaced our mapping code with calls to
block layer functions like bio_map_user() and blk_rq_map_sg(). I am
still looking into the packet socket interface, but if we have to change
interaces I would like to somehow hook whatever is decided on into bio.c
and ll_rw_blk.c so that it could be used by anyone. SG_IO through a
packet socket for example. Is bsg still being worked on? Is it going to
use a new interface or is it ioctl based like block/scsi_ioctl.c?
next prev parent reply other threads:[~2006-01-27 10:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-25 2:58 [PATCH RFC 0/3] SCSI Userspace Target Mike Christie
2006-01-25 17:46 ` Jeff Garzik
2006-01-27 10:46 ` Mike Christie [this message]
2006-01-27 14:48 ` Jeff Garzik
2006-01-27 14:54 ` Jens Axboe
2006-02-06 2:54 ` FUJITA Tomonori
2006-01-26 3:28 ` Dave C Boutcher
2006-01-27 10:45 ` Mike Christie
2006-01-27 10:52 ` Mike Christie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43D9F9E9.3060701@cs.wisc.edu \
--to=michaelc@cs.wisc.edu \
--cc=jgarzik@pobox.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.