ib_srpt: Remove an obsolete patch

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4150 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2012-03-04 13:16:27 +00:00
parent e83c2ebe66
commit b07403a23d
2 changed files with 3 additions and 34 deletions

View File

@@ -29,35 +29,17 @@ Installation
Proceed as follows to compile and install the SRP target driver:
1. The SRP initiator (ib_srp) included with Linux kernel 2.6.36 and before
frequently makes ib_srpt send BUSY responses, which hurts performance.
This can be avoided by making SCST's SCSI command queue size identical
to that of the initiator by applying the scst_increase_max_tgt_cmds patch:
cd ${SCST_DIR}
patch -p0 < srpt/patches/scst_increase_max_tgt_cmds.patch
This patch increases SCST's per-device queue size from 48 to 64. This
helps to avoid BUSY conditions because the size of the transmit
queue in Linux' SRP initiator is also 64.
Note: avoiding BUSY conditions is also possible by limiting the number of
outstanding requests on the initiator. This is possible either by setting
nr_requests low enough or by enabling the dynamic queue depth adjustment
feature. Dynamic queue depth adjustment is available from kernel version
2.6.33 on. See also scst/README for more information.
2. Now compile and install SRPT:
1. Now compile and install SRPT:
cd ${SCST_DIR}
make -s scst_clean scst scst_install
make -s srpt_clean srpt srpt_install
make -s scstadm scstadm_install
3. Edit the installed file /etc/init.d/scst and add ib_srpt to the
2. Edit the installed file /etc/init.d/scst and add ib_srpt to the
SCST_MODULES variable.
4. Configure SCST such that it will be started during system boot:
3. Configure SCST such that it will be started during system boot:
chkconfig scst on

View File

@@ -1,13 +0,0 @@
Index: scst/src/scst_priv.h
===================================================================
--- scst/src/scst_priv.h (revision 303)
+++ scst/src/scst_priv.h (working copy)
@@ -110,7 +110,7 @@ extern unsigned long scst_trace_flag;
** Maximum count of uncompleted commands that an initiator could
** queue on any device. Then it will start getting TASK QUEUE FULL status.
**/
-#define SCST_MAX_TGT_DEV_COMMANDS 48
+#define SCST_MAX_TGT_DEV_COMMANDS 64
/**
** Maximum count of uncompleted commands that could be queued on any device.