Re: [PATCH 6/10] iscsi: seperate iscsi interface from setup functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 12, 2006 at 11:08:39PM -0600, Mike Christie wrote:
> >From Mike Christie <michaelc@xxxxxxxxxxx>"
> 
> HW iscsi LLDs like qla4xxx cannot use the iscsi class becuase
> the scsi_host is tied to the interface and class code. This patch
> just seperates the session and connection creation code from
> the sysfs and netlink interface code so that HW iscsi can use
> the class.
> 
> This is also fixes a couple refcount bugs that can be triggered
> when users have a sysfs file open, close the session, then
> read or write to the file.
> 
> 
> Signed-off-by: Alex Aizman <itn780@xxxxxxxxx>
> Signed-off-by: Dmitry Yusupov <dmitry_yus@xxxxxxxxx>
> Signed-off-by: Mike Christie <michaelc@xxxxxxxxxxx>
> 
> 
> diff --git a/drivers/scsi/Makefile b/drivers/scsi/Makefile
> index b9d2bb8..1261a4f 100644
> --- a/drivers/scsi/Makefile
> +++ b/drivers/scsi/Makefile
> @@ -164,6 +164,7 @@ CFLAGS_ncr53c8xx.o	:= $(ncr53c8xx-flags-
>  zalon7xx-objs	:= zalon.o ncr53c8xx.o
>  NCR_Q720_mod-objs	:= NCR_Q720.o ncr53c8xx.o
>  libata-objs	:= libata-core.o libata-scsi.o
> +scsi_transport_iscsi-objs := libiscsi.o iscsi_if.o

Please keep the interface file as scsi_transport_iscsi.c.  libiscsi should
become a separate module and/or be linked with with iscsi_tcp.ko

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux