public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Henrik Stokseth <henrik@hw0.org>
To: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>,
	Linux SCSI ML <linux-scsi@vger.kernel.org>
Subject: Re: need help to merge (small) virtual scsi driver upstream.
Date: Wed, 21 Jan 2009 08:45:04 +0100	[thread overview]
Message-ID: <4976D280.5000506@hw0.org> (raw)
In-Reply-To: <20090121151113X.fujita.tomonori@lab.ntt.co.jp>

FUJITA Tomonori wrote:
>
>
> From a quick look at the patch, your driver links requests to a list
> and then the user-space daemon reads the requests via the special
> character device file and sends the response back to kernel space.
>
> If I correctly understand what you want, there are some possible
> alternatives, I guess.
>
> Note that I'm not sure 2) and 3) is acceptable to the SCSI maintainer.
>
>
> 1) use iSCSI initiator and target on the same machine
>
> First, set up iSCSI target software supporting CD/DVD. For example,
> you can use tgt (http://stgt.berlios.de), user-space program.
>
> Then you set up the iSCSI initiator to connect the target. Basically,
> the iSCSI initiator works like a virtual hba as you like. The iSCSI
> initiator and target communicate via tcp while your software
> communicates via the special character device.
>
> If you go with this setup, all you need are already in mainline.
>   

It would be desirable for us to rely upon an interface already present
in the mainstream kernel for practical reasons.

Pardon the dumb question but is it possible to talk to the TGT framework
without using iSCSI?
SCST has a nice user-space interface but I couldn't tell whether STGT
had something similar (as documentation is pretty much non-existent).

ありがとう。


Sincerely,
Henrik Stokseth.

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2009-01-21  7:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-19 19:04 need help to merge (small) virtual scsi driver upstream Henrik Stokseth
2009-01-19 19:29 ` Bart Van Assche
2009-01-21  6:12 ` FUJITA Tomonori
2009-01-21  7:45   ` Henrik Stokseth [this message]
2009-01-21 23:09     ` FUJITA Tomonori
2009-01-23 20:23     ` Vladislav Bolkhovitin

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=4976D280.5000506@hw0.org \
    --to=henrik@hw0.org \
    --cc=fujita.tomonori@lab.ntt.co.jp \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox