On 02/18/2010 09:02 AM, ram krishnan wrote:
On Tue, Feb 16, 2010 at 8:44 AM, Mike Christie<micha...@cs.wisc.edu>  wrote:

  On 02/14/2010 01:04 AM, ramki wrote:

Hi,

I am trying some experiments with the open iscsi sg interface.

Does the open-iscsi sg interface support all the SCSI commands -
including R2T responses for writes ?


What do you mean by the open-iscsi sg interface? Do you mean the sg device
that is accessed through /dev/sg or doing SGIO to the block device? If so
then I think it supports all scsi commands. It at least supports all scsi
commands that you can do with that interface. I do not think you can do
commands that require bidi. For that you have to use bsg.


Hi Mike,

Many thanks for the information. Is there a separate device /dev/bsg like
/dev/sg ?


Yes. Load the bsg driver

modprobe bsg

and you should get that device (see kernel-source/block/bsg.c for the bsg code if you want).

--
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to