]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libiscsi: Added new boot entries in the session sysfs
authorEddie Wai <eddie.wai@broadcom.com>
Thu, 20 Jun 2013 17:21:26 +0000 (10:21 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 27 Jun 2013 01:04:11 +0000 (18:04 -0700)
commitc211b584038d897e4a095cbe325b7f382f7bbb31
treee3d97d87fb7c960b0da5e67acb74cf2c5470a420
parent76f5c5127bf046d489eece872b35c0250748cf56
[SCSI] libiscsi: Added new boot entries in the session sysfs

This is the kernel part of the modification to extract the net params
from the ibft sysfs to the iface struct used for the connection
request upon sync_session in the open-iscsi util.

Three new session sysfs params are defined:
boot_root - holds the name of the /sys/firmware/ibft or iscsi_rootN
boot_nic  - holds the ethernetN name
boot_target - holds the targetN name

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/libiscsi.c
drivers/scsi/scsi_transport_iscsi.c
include/scsi/iscsi_if.h
include/scsi/libiscsi.h