2. scst_do_send_to_midlev is called with cmd == 0x8000100
3. scst_do_send_to_midlev returns with SCST_EXEC_COMPLETED
(in certain scenarios the command is already destroyed at this point)
-4. scst_check_deferred_commands finds the defferred cmd == 0x80000200
+4. scst_check_deferred_commands finds the deferred cmd == 0x80000200
5. scst_do_send_to_midlev is called with cmd == 0x80000200
6. scst_do_send_to_midlev returns with SCST_EXEC_NEED_THREAD
7. scst_send_to_midlev returns with SCST_CMD_STATE_RES_NEED_THREAD
[ 61.852177] qla2300 0000:06:01.0: Extended memory detected (512 KB)...
[ 61.852294] qla2300 0000:06:01.0: Resizing request queue depth (2048 -> 4096)
...
-[ 61.852604] qla2300 0000:06:01.0: LIP reset occured (f8e8).
+[ 61.852604] qla2300 0000:06:01.0: LIP reset occurred (f8e8).
[ 61.852740] qla2300 0000:06:01.0: Waiting for LIP to complete...
-[ 62.865911] qla2300 0000:06:01.0: LIP occured (f7f7).
+[ 62.865911] qla2300 0000:06:01.0: LIP occurred (f7f7).
[ 62.866042] qla2300 0000:06:01.0: LOOP UP detected (1 Gbps).
[ 62.866269] qla2300 0000:06:01.0: Topology - (Loop), Host Loop address 0x0
[ 62.868285] scsi0 : qla2xxx
Mar 29 18:09:18 blade2 kernel: isp0: data overrun for command on 0.0.0
Mar 29 18:09:18 blade2 kernel: (da1:isp0:0:0:0): Data Overrun
Mar 29 18:09:18 blade2 kernel: (da1:isp0:0:0:0): error 5
-Mar 29 18:09:18 blade2 kernel: (da1:isp0:0:0:0): Retries Exausted
+Mar 29 18:09:18 blade2 kernel: (da1:isp0:0:0:0): Retries Exhausted
Mar 29 18:09:18 blade2 kernel: (probe0:isp0:0:0:6): error 6
Mar 29 18:09:18 blade2 kernel: (probe0:isp0:0:0:6): Unretryable Error
Mar 29 18:09:19 blade2 kernel: (probe0:isp0:0:0:7): error 6
2. scst_do_send_to_midlev is called with cmd == 0x8000100
3. scst_do_send_to_midlev returns with SCST_EXEC_COMPLETED
(in certain scenarios the command is already destroyed at this point)
-4. scst_check_deferred_commands finds the defferred cmd == 0x80000200
+4. scst_check_deferred_commands finds the deferred cmd == 0x80000200
5. scst_do_send_to_midlev is called with cmd == 0x80000200
6. scst_do_send_to_midlev returns with SCST_EXEC_NEED_THREAD
7. scst_send_to_midlev returns with SCST_CMD_STATE_RES_NEED_THREAD
[ 61.852177] qla2300 0000:06:01.0: Extended memory detected (512 KB)...
[ 61.852294] qla2300 0000:06:01.0: Resizing request queue depth (2048 -> 4096)
...
-[ 61.852604] qla2300 0000:06:01.0: LIP reset occured (f8e8).
+[ 61.852604] qla2300 0000:06:01.0: LIP reset occurred (f8e8).
[ 61.852740] qla2300 0000:06:01.0: Waiting for LIP to complete...
-[ 62.865911] qla2300 0000:06:01.0: LIP occured (f7f7).
+[ 62.865911] qla2300 0000:06:01.0: LIP occurred (f7f7).
[ 62.866042] qla2300 0000:06:01.0: LOOP UP detected (1 Gbps).
[ 62.866269] qla2300 0000:06:01.0: Topology - (Loop), Host Loop address 0x0
[ 62.868285] scsi0 : qla2xxx
Mar 29 18:09:18 blade2 kernel: isp0: data overrun for command on 0.0.0
Mar 29 18:09:18 blade2 kernel: (da1:isp0:0:0:0): Data Overrun
Mar 29 18:09:18 blade2 kernel: (da1:isp0:0:0:0): error 5
-Mar 29 18:09:18 blade2 kernel: (da1:isp0:0:0:0): Retries Exausted
+Mar 29 18:09:18 blade2 kernel: (da1:isp0:0:0:0): Retries Exhausted
Mar 29 18:09:18 blade2 kernel: (probe0:isp0:0:0:6): error 6
Mar 29 18:09:18 blade2 kernel: (probe0:isp0:0:0:6): Unretryable Error
Mar 29 18:09:19 blade2 kernel: (probe0:isp0:0:0:7): error 6
Summary of changes in iSCSI-SCST between versions 1.0.0 and 1.0.1
-----------------------------------------------------------------
- - Support for variable lenght CDB added
+ - Support for variable length CDB added
- Sending and receiving padding bytes as well as sesnse data
reimplemented to make it more reliable
- Ability to send data with sense in a single response added.
- Ability to handle initiators misbehavior a bit improved: several BUG()'s
- were relaced by the proper handling. Hovewer, there is a plenty of work in
+ were replaced by the proper handling. However, there is a plenty of work in
this area left, IET is known to have a lot of weaknesses here.
- Task management made more robust. Particularly, possible data
o fix digest endieness on LE archs
FUJITA Tomonori
- o fix SPARC alignement issues (based on a patch from joel.bertrand@systella.fr)
+ o fix SPARC alignment issues (based on a patch from joel.bertrand@systella.fr)
Ross S. W. Walker
o fix DISTDIR in Makefile for /etc install
FUJITA Tomonori
o Remove a kernel patch. Multiple threads execute I/O operations
- o Replace IO functions with the kernel starndard functions
+ o Replace IO functions with the kernel standard functions
o Add multiple IO modes feature
o Fix several race issues
o Fix several out-of-memory situation bugs
#
# Makefile for iSCSI-SCST
#
-# Note! Dependencies are done automagically by 'make dep', which also
+# Note! Dependencies are done automatically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (not a .c file).
#
# Makefile for user space only part of iSCSI-SCST
#
-# Note! Dependencies are done automagically by 'make dep', which also
+# Note! Dependencies are done automatically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (not a .c file).
OpenSSL library (http://www.openssl.org/).
The iSCSI target consists of kernel modules and a daemon. Since IET
-is generally targetted at the latest stable mainline kernel, you might
+is generally targeted at the latest stable mainline kernel, you might
need to apply a backward compatibility patch to compile it against
older kernel versions:
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
-# Note! Dependencies are done automagically by 'make dep', which also
+# Note! Dependencies are done automatically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (not a .c file).
#
iscsi_get_initiator_ip(conn, c_addr, sizeof(c_addr));
- TRACE_DBG("Dublicated conn from the same initiator "
+ TRACE_DBG("Duplicated conn from the same initiator "
"%s found", c_addr);
snprintf(addr, sizeof(addr), "%s_%d", c_addr, n);
}
/*
- * Corresponding conn may also gets destroyed atfer this function, except only
+ * Corresponding conn may also get destroyed after this function, except only
* if it's called from the read thread!
*
* It can't be called in parallel with iscsi_cmnds_init_write()!
}
/*
- * Corresponding conn may also gets destroyed atfer this function, except only
+ * Corresponding conn may also get destroyed after this function, except only
* if it's called from the read thread!
*/
static void req_cmnd_release(struct iscsi_cmnd *req)
}
/*
- * Corresponding conn may also gets destroyed atfer this function, except only
+ * Corresponding conn may also get destroyed after this function, except only
* if it's called from the read thread!
*/
void rsp_cmnd_release(struct iscsi_cmnd *cmnd)
/*
* If we don't remove hashed req cmd from the hash list here, before
- * submitting it for transmittion, we will have a race, when for
- * some reason cmd's release is delayed after transmittion and
+ * submitting it for transmission, we will have a race, when for
+ * some reason cmd's release is delayed after transmission and
* initiator sends cmd with the same ITT => this command will be
* erroneously rejected as a duplicate.
*/
if (unlikely(!session->sess_param.immediate_data &&
req->pdu.datasize)) {
- PRINT_ERROR("Initiator %s violated negotiated paremeters: "
+ PRINT_ERROR("Initiator %s violated negotiated parameters: "
"forbidden immediate data sent (ITT %x, op %x)",
session->initiator_name, cmnd_itt(req),
req_hdr->scb[0]);
if (unlikely(session->sess_param.initial_r2t &&
!(req_hdr->flags & ISCSI_CMD_FINAL))) {
- PRINT_ERROR("Initiator %s violated negotiated paremeters: "
+ PRINT_ERROR("Initiator %s violated negotiated parameters: "
"initial R2T is required (ITT %x, op %x)",
session->initiator_name, cmnd_itt(req),
req_hdr->scb[0]);
* non-immediate command outside of [from ExpCmdSN to MaxCmdSN
* inclusive] range". But we won't honor the MaxCmdSN
* requirement, because, since we adjust MaxCmdSN from the
- * separate write thread, rarery it is possible that initiator
+ * separate write thread, rarely it is possible that initiator
* can legally send command with CmdSN>MaxSN. But it won't
* hurt anything, in the worst case it will lead to
* additional QUEUE FULL status.
req->scst_state = new_state;
iscsi_make_conn_rd_active(req->conn);
if (unlikely(req->conn->closing)) {
- TRACE_DBG("Waiking up closing conn %p", req->conn);
+ TRACE_DBG("Waking up closing conn %p", req->conn);
wake_up(&req->conn->read_state_waitQ);
}
cmnd_put(req);
u32 stat_sn;
u32 exp_cmd_sn;
u32 max_cmd_sn;
- u8 status_class; /* see Login RSP ststus classes below */
+ u8 status_class; /* see Login RSP Status classes below */
u8 status_detail; /* see Login RSP Status details below */
u8 rsvd2[10];
} __packed;
#include "digest.h"
enum rx_state {
- RX_INIT_BHS, /* Must be zero for better "switch" optimiztion. */
+ RX_INIT_BHS, /* Must be zero for better "switch" optimization. */
RX_BHS,
RX_CMD_START,
RX_DATA,
};
enum tx_state {
- TX_INIT = 0, /* Must be zero for better "switch" optimiztion. */
+ TX_INIT = 0, /* Must be zero for better "switch" optimization. */
TX_BHS_DATA,
TX_INIT_PADDING,
TX_PADDING,
conn->user = strdup(value);
if (conn->user == NULL) {
- log_error("Unable to dublicate initiator's USER %s", value);
+ log_error("Unable to duplicate initiator's USER %s", value);
}
memset(pass, 0, sizeof(pass));
u32 stat_sn;
u32 exp_cmd_sn;
u32 max_cmd_sn;
- u8 status_class; /* see Login RSP ststus classes below */
+ u8 status_class; /* see Login RSP Status classes below */
u8 status_detail; /* see Login RSP Status details below */
u8 rsvd2[10];
} __packed;
"thread_name=9392A06CB0FDC847B3A530B3DC174E7B0"
"55F1EF3%40mse10be1.mse10.exchange.ms&forum_"
"name=scst-devel for more details. Alternatively, "
- "you can desrease iscsi_scstd.c::INCOMING_MAX "
+ "you can decrease iscsi_scstd.c::INCOMING_MAX "
"constant to a lower value, e.g. 128, then "
"recompile and reinstall the user space part "
"of iSCSI-SCST.", __FUNCTION__);
conn->initiator = strdup(name);
if (conn->initiator == NULL) {
- log_error("Unable to dublicate initiator's name %s", name);
+ log_error("Unable to duplicate initiator's name %s", name);
rsp->status_class = ISCSI_STATUS_TARGET_ERR;
rsp->status_detail = ISCSI_STATUS_NO_RESOURCES;
conn->state = STATE_EXIT;
int session_create(struct connection *conn)
{
- /* We are single threaded, so it desn't need any protection */
+ /* We are single threaded, so it doesn't need any protection */
static u16 tsih = 1;
struct session *session;
char *user;
2. scst_do_send_to_midlev is called with cmd == 0x8000100
3. scst_do_send_to_midlev returns with SCST_EXEC_COMPLETED
(in certain scenarios the command is already destroyed at this point)
-4. scst_check_deferred_commands finds the defferred cmd == 0x80000200
+4. scst_check_deferred_commands finds the deferred cmd == 0x80000200
5. scst_do_send_to_midlev is called with cmd == 0x80000200
6. scst_do_send_to_midlev returns with SCST_EXEC_NEED_THREAD
7. scst_send_to_midlev returns with SCST_CMD_STATE_RES_NEED_THREAD
[ 61.852177] qla2300 0000:06:01.0: Extended memory detected (512 KB)...
[ 61.852294] qla2300 0000:06:01.0: Resizing request queue depth (2048 -> 4096)
...
-[ 61.852604] qla2300 0000:06:01.0: LIP reset occured (f8e8).
+[ 61.852604] qla2300 0000:06:01.0: LIP reset occurred (f8e8).
[ 61.852740] qla2300 0000:06:01.0: Waiting for LIP to complete...
-[ 62.865911] qla2300 0000:06:01.0: LIP occured (f7f7).
+[ 62.865911] qla2300 0000:06:01.0: LIP occurred (f7f7).
[ 62.866042] qla2300 0000:06:01.0: LOOP UP detected (1 Gbps).
[ 62.866269] qla2300 0000:06:01.0: Topology - (Loop), Host Loop address 0x0
[ 62.868285] scsi0 : qla2xxx
Mar 29 18:09:18 blade2 kernel: isp0: data overrun for command on 0.0.0
Mar 29 18:09:18 blade2 kernel: (da1:isp0:0:0:0): Data Overrun
Mar 29 18:09:18 blade2 kernel: (da1:isp0:0:0:0): error 5
-Mar 29 18:09:18 blade2 kernel: (da1:isp0:0:0:0): Retries Exausted
+Mar 29 18:09:18 blade2 kernel: (da1:isp0:0:0:0): Retries Exhausted
Mar 29 18:09:18 blade2 kernel: (probe0:isp0:0:0:6): error 6
Mar 29 18:09:18 blade2 kernel: (probe0:isp0:0:0:6): Unretryable Error
Mar 29 18:09:19 blade2 kernel: (probe0:isp0:0:0:7): error 6
2. scst_do_send_to_midlev is called with cmd == 0x8000100
3. scst_do_send_to_midlev returns with SCST_EXEC_COMPLETED
(in certain scenarios the command is already destroyed at this point)
-4. scst_check_deferred_commands finds the defferred cmd == 0x80000200
+4. scst_check_deferred_commands finds the deferred cmd == 0x80000200
5. scst_do_send_to_midlev is called with cmd == 0x80000200
6. scst_do_send_to_midlev returns with SCST_EXEC_NEED_THREAD
7. scst_send_to_midlev returns with SCST_CMD_STATE_RES_NEED_THREAD
[ 61.852177] qla2300 0000:06:01.0: Extended memory detected (512 KB)...
[ 61.852294] qla2300 0000:06:01.0: Resizing request queue depth (2048 -> 4096)
...
-[ 61.852604] qla2300 0000:06:01.0: LIP reset occured (f8e8).
+[ 61.852604] qla2300 0000:06:01.0: LIP reset occurred (f8e8).
[ 61.852740] qla2300 0000:06:01.0: Waiting for LIP to complete...
-[ 62.865911] qla2300 0000:06:01.0: LIP occured (f7f7).
+[ 62.865911] qla2300 0000:06:01.0: LIP occurred (f7f7).
[ 62.866042] qla2300 0000:06:01.0: LOOP UP detected (1 Gbps).
[ 62.866269] qla2300 0000:06:01.0: Topology - (Loop), Host Loop address 0x0
[ 62.868285] scsi0 : qla2xxx
Mar 29 18:09:18 blade2 kernel: isp0: data overrun for command on 0.0.0
Mar 29 18:09:18 blade2 kernel: (da1:isp0:0:0:0): Data Overrun
Mar 29 18:09:18 blade2 kernel: (da1:isp0:0:0:0): error 5
-Mar 29 18:09:18 blade2 kernel: (da1:isp0:0:0:0): Retries Exausted
+Mar 29 18:09:18 blade2 kernel: (da1:isp0:0:0:0): Retries Exhausted
Mar 29 18:09:18 blade2 kernel: (probe0:isp0:0:0:6): error 6
Mar 29 18:09:18 blade2 kernel: (probe0:isp0:0:0:6): Unretryable Error
Mar 29 18:09:19 blade2 kernel: (probe0:isp0:0:0:7): error 6