[Pkg-iscsi-maintainers] [SCM] Debian Open-iSCSI Packaging branch, upstream-mnc, updated. 2.0-872-193-gde2c0e7

Mike Christie michaelc at cs.wisc.edu
Sat Apr 7 15:44:18 UTC 2012


The following commit has been merged in the upstream-mnc branch:
commit e6e47f08eef2978c0915658f610c5251e86925ae
Author: Mike Christie <michaelc at cs.wisc.edu>
Date:   Thu Mar 22 03:16:31 2012 -0400

    iscsiadm: make sure offload drivers are loaded in host mode
    
    If a user wanted to print out host info then make sure
    the module is loaded.

diff --git a/usr/host.c b/usr/host.c
index e8c43b7..b03e50f 100644
--- a/usr/host.c
+++ b/usr/host.c
@@ -295,6 +295,7 @@ int host_info_print(int info_level, uint32_t host_no)
 			break;
 		}
 
+		transport_probe_for_offload();
 		err = iscsi_sysfs_for_each_host(&flags, &num_found,
 						host_info_print_tree);
 		break;
diff --git a/usr/iscsiadm.c b/usr/iscsiadm.c
index 4303135..b8f86a2 100644
--- a/usr/iscsiadm.c
+++ b/usr/iscsiadm.c
@@ -2240,6 +2240,8 @@ static uint32_t parse_host_info(char *optarg, int *rc)
 
 	*rc = 0;
 	if (strstr(optarg, ":")) {
+		transport_probe_for_offload();
+
 		host_no = iscsi_sysfs_get_host_no_from_hwaddress(optarg,
 								 &err);
 		if (err) {

-- 
Debian Open-iSCSI Packaging



More information about the Pkg-iscsi-maintainers mailing list