mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 01:01:27 +00:00
Fix spelling in documentation and source code
See also https://github.com/bvanassche/scst/pull/20. [ bvanassche: left out qla2x00t-32gbit changes and changed patch description ] git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8920 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -278,7 +278,7 @@ Target driver doesn't have to always allocate buffer in this function,
|
||||
but if it decided to do it, it must check that
|
||||
scst_cmd_get_data_buff_alloced() returns 0, otherwise to avoid double
|
||||
buffer allocation and memory leaks alloc_data_buf() shall fail. Returns
|
||||
0 in case of success or < 0 (preferrably -ENOMEM) in case of error, or >
|
||||
0 in case of success or < 0 (preferably -ENOMEM) in case of error, or >
|
||||
0 if the regular SCST allocation should be done. In case of returning
|
||||
successfully, scst_cmd->tgt_data_buf_alloced will be set by SCST. It is
|
||||
possible that both target driver and dev handler request own memory
|
||||
|
||||
@@ -58,7 +58,7 @@ Remove any distro-provided InfiniBand drivers:
|
||||
rm -rf /lib/modules/$(uname -r)/kernel/drivers/infiniband
|
||||
rm -rf /lib/modules/$(uname -r)/kernel/drivers/net/mlx4
|
||||
|
||||
Next, download and install an OFED pacakge.
|
||||
Next, download and install an OFED package.
|
||||
|
||||
For MLNX_OFED, just run the mlnxofedinstall script inside the MLNX_OFED directory.
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ b) Specific branch (3.0 used in example)
|
||||
In this example disk01 is a virtual disk that is stored in the file
|
||||
/vdisks/vdisk1 and is mounted read_only, disk02 is the same as disk01
|
||||
but with file /vdisks/vdisk2 and it has its blocksize increased from 512
|
||||
to 4096 (see notes below), and finaly disk03 is a real disk used as a
|
||||
to 4096 (see notes below), and finally disk03 is a real disk used as a
|
||||
blockdevice. Both disk01 and disk02 are connected to the same target
|
||||
with different luns and disk03 is connected to a different target as
|
||||
LUN0, if the allowed_target atttribute is not set the target is open
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
* Add suppport for immediate data in iSER
|
||||
* Add suppport for data-out in iSER
|
||||
* Look into seperating between RX pdu and TX pdu
|
||||
* Look into separating between RX pdu and TX pdu
|
||||
* Do not signal every "response sent" notification
|
||||
* Make the code NUMA aware
|
||||
* Add support for AHS
|
||||
|
||||
@@ -496,7 +496,7 @@ static int __init isert_init_module(void)
|
||||
int ret;
|
||||
|
||||
if (isert_nr_devs > 999) {
|
||||
PRINT_ERROR("Invalid argument for isert_nr_devs provded: %d",
|
||||
PRINT_ERROR("Invalid argument for isert_nr_devs provided: %d",
|
||||
isert_nr_devs);
|
||||
ret = -EINVAL;
|
||||
goto out;
|
||||
|
||||
@@ -287,7 +287,7 @@ extern void __log_pdu(const char *func, int line, int level, struct PDU *pdu);
|
||||
|
||||
/* Conditional versions of log_* functions. Useful when log priority depends
|
||||
* on some parameter, say recurrence of some event. In these cases the first
|
||||
* occurence could be logged as log_info while the latter ones may be logged
|
||||
* occurrence could be logged as log_info while the latter ones may be logged
|
||||
* with log_debug. So, if level != 0 then log_debug is called.
|
||||
*/
|
||||
#define log_info_cond(level, args...) \
|
||||
|
||||
@@ -27,18 +27,18 @@
|
||||
#define EXT_STATUS_MAILBOX 11
|
||||
#define EXT_STATUS_NO_MEMORY 17
|
||||
|
||||
/* BSG definations for interpreting CommandSent field */
|
||||
/* BSG definitions for interpreting CommandSent field */
|
||||
#define INT_DEF_LB_LOOPBACK_CMD 0
|
||||
#define INT_DEF_LB_ECHO_CMD 1
|
||||
|
||||
/* Loopback related definations */
|
||||
/* Loopback related definitions */
|
||||
#define EXTERNAL_LOOPBACK 0xF2
|
||||
#define ENABLE_INTERNAL_LOOPBACK 0x02
|
||||
#define INTERNAL_LOOPBACK_MASK 0x000E
|
||||
#define MAX_ELS_FRAME_PAYLOAD 252
|
||||
#define ELS_OPCODE_BYTE 0x10
|
||||
|
||||
/* BSG Vendor specific definations */
|
||||
/* BSG Vendor specific definitions */
|
||||
#define A84_ISSUE_WRITE_TYPE_CMD 0
|
||||
#define A84_ISSUE_READ_TYPE_CMD 1
|
||||
#define A84_CLEANUP_CMD 2
|
||||
|
||||
@@ -725,7 +725,7 @@ typedef struct {
|
||||
#define MBC_GET_LINK_STATUS 0x6b /* Get port link status. */
|
||||
#define MBC_LIP_RESET 0x6c /* LIP reset. */
|
||||
#define MBC_SEND_SNS_COMMAND 0x6e /* Send Simple Name Server */
|
||||
/* commandd. */
|
||||
/* command. */
|
||||
#define MBC_LOGIN_FABRIC_PORT 0x6f /* Login fabric port. */
|
||||
#define MBC_SEND_CHANGE_REQUEST 0x70 /* Send Change Request. */
|
||||
#define MBC_LOGOUT_FABRIC_PORT 0x71 /* Logout fabric port. */
|
||||
|
||||
@@ -973,7 +973,7 @@ qla82xx_rom_fast_read(struct qla_hw_data *ha, int addr, int *valp)
|
||||
}
|
||||
if (loops >= 50000) {
|
||||
ql_log(ql_log_fatal, vha, 0x00b9,
|
||||
"Failed to aquire SEM2 lock.\n");
|
||||
"Failed to acquire SEM2 lock.\n");
|
||||
return -1;
|
||||
}
|
||||
ret = qla82xx_do_rom_fast_read(ha, addr, valp);
|
||||
|
||||
@@ -176,7 +176,7 @@ function compile_scst_no_dlm {
|
||||
)
|
||||
}
|
||||
|
||||
# Test out-of-tree compilation agains the kernel header files in
|
||||
# Test out-of-tree compilation against the kernel header files in
|
||||
# /lib/modules/$(uname -r)/build.
|
||||
function compile_scst_patched {
|
||||
local scst="$PWD"
|
||||
|
||||
@@ -58,7 +58,7 @@ Summary of changes between versions 3.0 and 3.1
|
||||
- scst_vdisk: LBPRZ now follows limits.discard_zeroes_data.
|
||||
- scst core: support for 64-bit LUNs has been added. This requires a Linux
|
||||
kernel that supports 64-bit LUNs.
|
||||
- A new kernel module parameter, scst_forcibly_close_sessions, controls wheter
|
||||
- A new kernel module parameter, scst_forcibly_close_sessions, controls whether
|
||||
or not attempting to remove an access control group with one or more active
|
||||
sessions succeeds or fails with -EBUSY.
|
||||
- scst_vdisk: the EUI-64 and NAA IDs are now configurable.
|
||||
@@ -245,7 +245,7 @@ Summary of changes between versions 1.0.0 and 1.0.1
|
||||
|
||||
- Depecated scst_cmd_get_tgt_resp_flags() removed
|
||||
|
||||
- SWP and TAS parameters made changable in vdisk handler
|
||||
- SWP and TAS parameters made changeable in vdisk handler
|
||||
|
||||
- External interface changed to fix usage of in_atomic(). Now target
|
||||
drivers and dev handlers need to explicitly supply preferred execution
|
||||
@@ -290,7 +290,7 @@ Summary of changes between versions 0.9.5 and 1.0.0
|
||||
|
||||
- Fixed READ POSITION command handling
|
||||
|
||||
- TM processing made independant from other TM commands (before it was serialized)
|
||||
- TM processing made independent from other TM commands (before it was serialized)
|
||||
|
||||
- Sense buffer made dynamic
|
||||
|
||||
@@ -302,7 +302,7 @@ Summary of changes between versions 0.9.5 and 1.0.0
|
||||
|
||||
- Processing latency measurement facility added
|
||||
|
||||
- Sessions registration/unregistration made independant from other activities
|
||||
- Sessions registration/unregistration made independent from other activities
|
||||
|
||||
- Major performance improvements
|
||||
|
||||
|
||||
@@ -1142,7 +1142,7 @@ cache. The following parameters possible for vdisk_fileio:
|
||||
limits VPD page. Value is in bytes, and must be a multiple of the block
|
||||
size. Default is 524288. Setting this parameter to a multiple of the
|
||||
optimal transfer length below 4 MB may improve performance. Setting this
|
||||
paramter to a value above 4 MB hurts performance because the SGV cache
|
||||
parameter to a value above 4 MB hurts performance because the SGV cache
|
||||
only supports buffers up to 4 MB.
|
||||
|
||||
- write_through - disables write back caching. Note, this option
|
||||
|
||||
@@ -2465,7 +2465,7 @@ EXPORT_SYMBOL_GPL(__scst_check_local_events);
|
||||
* No locks. Returns true, if expected_sn was incremented.
|
||||
*
|
||||
* !! At this point cmd can be processed in parallel by some other thread!
|
||||
* !! As consecuence, no pointer in cmd, except cur_order_data and
|
||||
* !! As consequence, no pointer in cmd, except cur_order_data and
|
||||
* !! sn_slot, can be touched here! The same is for assignments to cmd's
|
||||
* !! fields. As protection cmd declared as const.
|
||||
*
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
SCST Configuration/Administration scripts. Here you'll find scstadmin which reads
|
||||
a configuration file /etc/scst.conf, or one if your choosing. With it you can manually
|
||||
or automatically configure every aspect of SCST incuding enabling/disabling target mode
|
||||
or automatically configure every aspect of SCST including enabling/disabling target mode
|
||||
on your target SCSI controller. The old directory contains scst_db which uses a mysql
|
||||
backend database to configure SCST but doesn't handle all the things scstadmin handles.
|
||||
The perl module SCST::SCST is very generic and tries to handle error checking as well.
|
||||
|
||||
@@ -56,7 +56,7 @@ h. echo "add vdisk2 2" >/proc/scsi_tgt/groups/Default/devices
|
||||
2. modprobe ib_srpt
|
||||
|
||||
|
||||
B. On initiator machines you can manualy do the following steps:
|
||||
B. On initiator machines you can manually do the following steps:
|
||||
1. modprobe ib_srp
|
||||
2. ibsrpdm -c (to discover new SRP target)
|
||||
3. echo <new target info> > /sys/class/infiniband_srp/srp-mthca0-1/add_target
|
||||
|
||||
Reference in New Issue
Block a user