Re: [PATCH] add iSCSI session creation sysfs attributes

Mike Christie
2005-01-25T20:37:35Z

James Bottomley wrote:
> On Mon, 2005-01-24 at 02:39 -0800, Mike Christie wrote:
>
>>The attached patch built against scsi-misc-2.6 moves the
>>target iSCSI attributes to a new structure representing
>>a iSCSI session. The reason for doing this is to
>>create a interface that allows the Sourceforge iSCSI driver
>>to create and setup a session through sysfs (no more
>>IOCTL at all in our driver), display session info, and at the same
>>time share code and use the same interface HW iSCSI drivers would
>>use.
>
>
> This no longer applies to the iscsi transport class because I converted
> it over to the generic framework. Could you look at the code in
>
> bk://linux-scsi.bkbits.net/scsi-rc-fixes-2.6 (or the patch on
> www.parisc-linux.org/~jejb/scsi_diffs)
>
> and reroll your patch against that?

Will do. One question though. If a function like
transport_add_device or transport_setup_device fails,
how does the caller detect this?

>
> Thanks,
>
> James
>
>