- Threads made per-device

- Minor cleanups and fixes


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@125 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2007-06-08 10:25:29 +00:00
parent 2ac4d71738
commit fc854f8279
12 changed files with 238 additions and 166 deletions
+4 -2
View File
@@ -594,8 +594,10 @@ static int do_sess(struct vdisk_cmd *vcmd)
tgt_dev->last_write_cmd_queue_type = SCST_CMD_QUEUE_SIMPLE;
PRINT_INFO_PR("Session from initiator %s attached (LUN %Lx, "
"rd_only %d, sess_h %Lx)", cmd->sess.initiator_name,
cmd->sess.lun, cmd->sess.rd_only, cmd->sess.sess_h);
"threads_num %d, rd_only %d, sess_h %Lx)",
cmd->sess.initiator_name, cmd->sess.lun,
cmd->sess.threads_num, cmd->sess.rd_only,
cmd->sess.sess_h);
} else {
if (tgt_dev == NULL) {
PRINT_ERROR_PR("Session %Lx not found)", cmd->sess.sess_h);