Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > d18fa7374095732a0ead4cb4065710a5 > files > 12

iscsi-initiator-utils-6.2.0.871-0.12.el5_4.1.src.rpm

diff -aurp open-iscsi-2.0-871-test4.bnx2i/etc/iscsid.conf open-iscsi-2.0-871-test4.bnx2i.work/etc/iscsid.conf
--- open-iscsi-2.0-871-test4.bnx2i/etc/iscsid.conf	2009-07-09 10:48:31.000000000 -0500
+++ open-iscsi-2.0-871-test4.bnx2i.work/etc/iscsid.conf	2009-07-09 11:13:22.000000000 -0500
@@ -146,27 +146,6 @@ node.session.cmds_max = 128
 # to a value between 1 and 1024. The default is 32.
 node.session.queue_depth = 32
 
-##################################
-# MISC SYSTEM PERFORMANCE SETTINGS
-##################################
-
-# For software iscsi (iscsi_tcp) and iser (ib_iser) each session
-# has a thread used to transmit or queue data to the hardware. For
-# cxgb3i you will get a thread per host.
-#
-# Setting the thread's priority to a lower value can lead to higher throughput
-# and lower latencies. The lowest value is -20. Setting the priority to
-# a higher value, can lead to reduced IO performance, but if you are seeing
-# the iscsi or scsi threads dominate the use of the CPU then you may want
-# to set this value higher.
-#
-# Note: For cxgb3i you must set all sessions to the same value, or the
-# behavior is not defined.
-#
-# The default value is -20. The setting must be between -20 and 20.
-node.session.xmit_thread_priority = -20
-
-
 #***************
 # iSCSI settings
 #***************
diff -aurp open-iscsi-2.0-871-test4.bnx2i/usr/initiator.c open-iscsi-2.0-871-test4.bnx2i.work/usr/initiator.c
--- open-iscsi-2.0-871-test4.bnx2i/usr/initiator.c	2009-07-09 10:48:31.000000000 -0500
+++ open-iscsi-2.0-871-test4.bnx2i.work/usr/initiator.c	2009-07-09 11:12:58.000000000 -0500
@@ -127,7 +127,7 @@ struct iscsi_conn_context *iscsi_conn_co
 				sizeof(struct actor));
 			conn_context->allocated = 1;
 			/* some callers abuse this pointer */
-			conn_context->data = conn_context +
+			conn_context->data = (void *)conn_context +
 					sizeof(struct iscsi_conn_context);
 			log_debug(7, "get conn context %p",
 				  &conn_context->actor);
@@ -1868,7 +1868,10 @@ retry_create:
 
 	if (!err) {
 		session->hostno = host_no;
+/*
+	Disable in RHEL 5
 		session_increase_wq_priority(session);
+*/
 	}
 	return err;
 }