mirror/scst/.git
15 years agoFrom Erik Habbinga:
vlnb [Tue, 16 Jan 2007 14:23:44 +0000 (14:23 +0000)]
From Erik Habbinga:

This patch further fixes sense handling for the LSI driver in the non-packetized SCSI case:

- this version doesn't crash if a REQUEST SENSE command is sent.
- added a big comment explaining sense caching implementation.
- INQUIRY responses are inspected and tagged command queuing bits are cleared if LSI is a SCSI controller, per previous discussions.
- pending sense is cleared on a bus reset.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@78 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoSome cleanup
vlnb [Fri, 12 Jan 2007 15:42:31 +0000 (15:42 +0000)]
Some cleanup

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@77 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoMinor tracing cleanups
vlnb [Thu, 11 Jan 2007 12:46:22 +0000 (12:46 +0000)]
Minor tracing cleanups

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@76 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoPatch from Erik Habbinga:
vlnb [Thu, 11 Jan 2007 12:39:10 +0000 (12:39 +0000)]
Patch from Erik Habbinga:

There are a few minor changes:

- fix some 80 char line length issues
- fix some indenting
- change scst_to_dma_dir to scst_to_tgt_dma_dir

The big issue is fixing the sending of sense data.  The LSI chip, when talking to a non-packetized SCSI initiator, cannot send both
status (i.e. check condition) and sense data (from autosense) in the same transaction.  The result is a 006B
(MPI_IOC_STATUS_TARGET_STS_DATA_NOT_SENT) IOCStatus value when this is attempted.  The sense data doesn't get transmitted over the
SCSI cable in this case.  My fix, which is modeled on LSI's own SCSI target implementation, is to cache sense data before attempting
to send it.  If a REQUEST SENSE command comes in with pending sense, the LSI driver will handle the REQUEST SENSE command on it's
own without involving SCST.  Pending sense is cleared once the REQUEST SENSE command is handled, or if any other command comes in.
Sense data is cached per initiator.  Apparantely this problem is only related to non-packetized SCSI interfaces.  That's all I have
to test with, so I can't vouch for SAS or FC.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@75 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoAtomic memory barriers cleanup. Inspired by Ming Zhang.
vlnb [Tue, 9 Jan 2007 14:52:16 +0000 (14:52 +0000)]
Atomic memory barriers cleanup. Inspired by Ming Zhang.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@74 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoMinor fixes and cleanups from Ming Zhang:
vlnb [Mon, 8 Jan 2007 17:56:35 +0000 (17:56 +0000)]
Minor fixes and cleanups from Ming Zhang:
 - Fixed scst_cur_cmd_mem leak for real devices
 - Since scst_unregister_target_template() returnes void it should use down() instead of down_interruptible()
 - Cleanups

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@73 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoCall graphs from Ming
vlnb [Mon, 8 Jan 2007 14:05:24 +0000 (14:05 +0000)]
Call graphs from Ming

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@72 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoA bunch of cleanups and minor fixes by Ming:
vlnb [Fri, 29 Dec 2006 11:38:43 +0000 (11:38 +0000)]
A bunch of cleanups and minor fixes by Ming:
 - Dead code removed from scst_prepare_space()
 - LUN and CDB check moved out of EXTRACHECKS section
 - Fixed error processing in scst_register_dev_driver(), scst_sgv_pools_init() and scst_register()
 - Since scst_unregister_dev_driver() returnes void it should use down() instead of down_interruptible()
 - Clean out scst_num_cpus
 - Fixed race in scst_register_target_template()

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@71 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoSCST user space device handler. User space interface description. Version 0.3.
vlnb [Thu, 28 Dec 2006 11:10:22 +0000 (11:10 +0000)]
SCST user space device handler. User space interface description. Version 0.3.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@70 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years ago - Cleanup: masked_status deleted, use status instead
vlnb [Thu, 21 Dec 2006 11:04:34 +0000 (11:04 +0000)]
 - Cleanup: masked_status deleted, use status instead
 - In FILEIO report in MODE SENSE if NV_CACHE enabled that no commands reordering is possible

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@69 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoFrom Erik Habbinga:
vlnb [Wed, 20 Dec 2006 17:53:41 +0000 (17:53 +0000)]
From Erik Habbinga:

This patch allows reading and writing of the LSI SCSI target id via /proc/scsi_tgt/mpt_scst/x (where x is the controller number). Reading that file dumps various statistics as before:

# cat /proc/scsi_tgt/mpt_scst/0
ProductID        :0x020b (LSI53C1030)
Target Enable    :True
Target ID        :3
Capabilities     :0x7087fa0
PhysicalInterface:0x30000fe
Configuration    :0x3000800
OnBusTimerValue  :0x0
TargetConfig     :0x1
IDConfig         :0x0
PortFlags        :0x2000000
PortSettings     :0x37020000
  Device 00: 0x7087fa0, 0x0
  Device 01: 0x7087fa0, 0x0
  Device 02: 0x7087fa0, 0x0
  Device 03: 0x7087fa0, 0x0
  Device 04: 0x7087fa0, 0x0
  Device 05: 0x7087fa0, 0x0
  Device 06: 0x7087fa0, 0x0
  Device 07: 0x7087fa0, 0x0
  Device 08: 0x7087fa0, 0x0
  Device 09: 0x7087fa0, 0x0
  Device 10: 0x7087fa0, 0x0
  Device 11: 0x7087fa0, 0x0
  Device 12: 0x7087fa0, 0x0
  Device 13: 0x7087fa0, 0x0
  Device 14: 0x7087fa0, 0x0
  Device 15: 0x7087fa0, 0x0

Writing "target_id:n" will change the SCSI target id to n.

# echo "target_id:5" > /proc/scsi_tgt/mpt_scst/0
# cat /proc/scsi_tgt/mpt_scst/0
ProductID        :0x020b (LSI53C1030)
Target Enable    :True
Target ID        :5
Capabilities     :0x7087fa0
....

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@68 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoThis patch removes usage of bexx_to_cpu() on lba and len conversion, because possible...
vlnb [Tue, 19 Dec 2006 18:07:56 +0000 (18:07 +0000)]
This patch removes usage of bexx_to_cpu() on lba and len conversion, because possible unalined access, + some cosmetics. From Ming Zhang.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@67 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoNot debug compilation fixed
vlnb [Mon, 18 Dec 2006 15:07:12 +0000 (15:07 +0000)]
Not debug compilation fixed

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@66 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoChangeLog updated
vlnb [Fri, 15 Dec 2006 16:49:15 +0000 (16:49 +0000)]
ChangeLog updated

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@65 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years ago - Patch from Ming Zhang <blackmagic02881@gmail.com>:
vlnb [Fri, 15 Dec 2006 16:30:30 +0000 (16:30 +0000)]
 - Patch from Ming Zhang <blackmagic02881@gmail.com>:
Small patch to enhance the 2TB support. MS Windows only like a 12 byte
response. It seems to still follow the sbc2r10 spec instead of the r16
spec we use.

detailed info can be found at
http://sourceforge.net/mailarchive/forum.php?thread_id=31236894&forum_id=40837

 - Small cleanup

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@64 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoSmall cleanup to the prev. commit
vlnb [Fri, 15 Dec 2006 16:14:04 +0000 (16:14 +0000)]
Small cleanup to the prev. commit

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@63 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoUpdate to allow SCST built inside Linux kernel. Done together with Erik Habbinga.
vlnb [Fri, 15 Dec 2006 15:59:21 +0000 (15:59 +0000)]
Update to allow SCST built inside Linux kernel. Done together with Erik Habbinga.

--This line, and below, will be ignored--

_M   trunk/mpt
_M   trunk/mpt/in-tree
M    trunk/mpt/in-tree/Makefile.diff
M    trunk/mpt/mpt_scst.c
M    trunk/mpt/Makefile
M    trunk/qla2x00t/qla2x00-target/qla2x00t.c
M    trunk/scst/kernel/in-tree/Makefile.scsi_tgt
D    trunk/scst/include/scst_debug.c
M    trunk/scst/include/scst_debug.h
M    trunk/scst/src/scst_proc.c
M    trunk/scst/src/scst_priv.h
A    trunk/scst/src/scst_debug.c
M    trunk/scst/src/scst_targ.c
M    trunk/scst/src/scst_mem.c
M    trunk/scst/src/Makefile
M    trunk/scst/src/scst.c
M    trunk/scst/src/dev_handlers/scst_cdrom.c
M    trunk/scst/src/dev_handlers/scst_modisk.c
M    trunk/scst/src/dev_handlers/scst_changer.c
M    trunk/scst/src/dev_handlers/scst_fileio.c
M    trunk/scst/src/dev_handlers/scst_tape.c
M    trunk/scst/src/dev_handlers/scst_disk.c
M    trunk/scst/src/dev_handlers/scst_processor.c
M    trunk/scst/src/dev_handlers/scst_raid.c
M    trunk/scst/src/dev_handlers/Makefile
M    trunk/scst/src/dev_handlers/scst_dev_handler.h
M    trunk/scst/README

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@62 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years ago - Minor cleanup
vlnb [Fri, 15 Dec 2006 11:45:24 +0000 (11:45 +0000)]
 - Minor cleanup
 - Corrected definition PERSISTENT_RESERV_IN and PERSISTENT_RESERV_OUT

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@61 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoUpdate to work on 2.6.19. Mostly done by Ming Zhang.
vlnb [Thu, 14 Dec 2006 18:10:39 +0000 (18:10 +0000)]
Update to work on 2.6.19. Mostly done by Ming Zhang.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@60 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years ago - First step to SCSI_ID support
vlnb [Thu, 14 Dec 2006 17:53:01 +0000 (17:53 +0000)]
 - First step to SCSI_ID support
 - Set correct response data length for emulated commands.
Mostly done by Ming Zhang.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@59 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoInternal threads management reimplemented based on kthread*() API. Mostly done by...
vlnb [Thu, 14 Dec 2006 17:50:57 +0000 (17:50 +0000)]
Internal threads management reimplemented based on kthread*() API. Mostly done by Ming Zhang.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@58 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years ago/proc implementation moved to seq_*() library. Mostly done by Ming Zhang.
vlnb [Thu, 14 Dec 2006 17:08:46 +0000 (17:08 +0000)]
/proc implementation moved to seq_*() library. Mostly done by Ming Zhang.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@57 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoVarious changes and fixes
vlnb [Thu, 14 Dec 2006 16:22:29 +0000 (16:22 +0000)]
Various changes and fixes

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@56 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoReorganized getting CDB info (scst_get_cdb_info()) to make it more
vlnb [Thu, 14 Dec 2006 15:52:16 +0000 (15:52 +0000)]
Reorganized getting CDB info (scst_get_cdb_info()) to make it more
peformance effective. Mostly done by Ming Zhang.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@55 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years ago - Switch kmem_cache_alloc() -> kmem_cache_zalloc()
vlnb [Thu, 14 Dec 2006 15:42:11 +0000 (15:42 +0000)]
 - Switch kmem_cache_alloc() -> kmem_cache_zalloc()
 - Minor changes

M    trunk/qla2x00t/qla2x00-target/qla2x00t.h
M    trunk/qla2x00t/qla2x00-target/qla2x00t.c
M    trunk/scst/src/scst_lib.c
M    trunk/Makefile

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@54 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoKernel version specified
vlnb [Thu, 14 Dec 2006 10:13:51 +0000 (10:13 +0000)]
Kernel version specified

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@53 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoUpdates
vlnb [Wed, 13 Dec 2006 18:12:44 +0000 (18:12 +0000)]
Updates

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@52 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoBuilding from the Linux kernel tree added
vlnb [Wed, 13 Dec 2006 12:16:11 +0000 (12:16 +0000)]
Building from the Linux kernel tree added

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@51 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoMinor cleanup
vlnb [Wed, 13 Dec 2006 11:51:41 +0000 (11:51 +0000)]
Minor cleanup

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@50 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoLSI/MPT target driver added
vlnb [Wed, 13 Dec 2006 11:42:59 +0000 (11:42 +0000)]
LSI/MPT target driver added

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@49 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoMinor update
vlnb [Wed, 13 Dec 2006 11:32:36 +0000 (11:32 +0000)]
Minor update

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@48 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoMinor cleanup
vlnb [Wed, 13 Dec 2006 11:26:23 +0000 (11:26 +0000)]
Minor cleanup

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@47 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoSuggested changes to support CPU cache flushing before doing DMA to target devices.
vlnb [Tue, 12 Dec 2006 11:20:19 +0000 (11:20 +0000)]
Suggested changes to support CPU cache flushing before doing DMA to target devices.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@46 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoTake 2 of fixing the race, which could lead to BUG() in scst_mgmt_thread()
vlnb [Tue, 12 Dec 2006 09:18:04 +0000 (09:18 +0000)]
Take 2 of fixing the race, which could lead to BUG() in scst_mgmt_thread()

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@45 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years ago - Fixed a race, which could lead to BUG() in scst_mgmt_thread()
vlnb [Tue, 5 Dec 2006 10:22:53 +0000 (10:22 +0000)]
 - Fixed a race, which could lead to BUG() in scst_mgmt_thread()
 - Credits updated

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@44 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoErik Habbinga <erikhabbinga@inphase-tech.com>
vlnb [Mon, 4 Dec 2006 11:08:18 +0000 (11:08 +0000)]
Erik Habbinga <erikhabbinga@inphase-tech.com>

I've seen a case where TRACE_BUFFER is called with a NULL buffer pointer.  This patch adds a check to debug_print_buffer in
scst_debug.c to avoid dereferencing any incoming NULL pointers.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@43 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoFrom Erik Habbinga <erikhabbinga@inphase-tech.com>
vlnb [Mon, 4 Dec 2006 11:04:28 +0000 (11:04 +0000)]
From Erik Habbinga <erikhabbinga@inphase-tech.com>

This patch addes include/vmalloc.h to scst_fileio.c to avoid "implied function" compiler warnings for vmalloc and vfree.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@42 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoFrom Erik Habbinga <erikhabbinga@inphase-tech.com>
vlnb [Mon, 4 Dec 2006 11:02:50 +0000 (11:02 +0000)]
From Erik Habbinga <erikhabbinga@inphase-tech.com>

This patch initializes the res variable in the scst_proc_update_size and fileio_proc_update_size to get rid of "variable might be used unintialized" compiler warnings.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@41 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoFrom Erik Habbinga <erikhabbinga@inphase-tech.com>
vlnb [Mon, 4 Dec 2006 10:59:26 +0000 (10:59 +0000)]
From Erik Habbinga <erikhabbinga@inphase-tech.com>

This patch allows SCST to compile on a PPC/powerpc platform.  PPC already has strcasecmp and strncasecmp defined in
include/asm-powerpc/string.h.  The patch takes strcasecmp/strncasecmp out of scst_proc.c

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@40 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoUpdated version to 0.9.6 and Makefiles to bring the debug options back
vlnb [Mon, 4 Dec 2006 10:53:25 +0000 (10:53 +0000)]
Updated version to 0.9.6 and Makefiles to bring the debug options back

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@39 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoRelease 0.9.5 of both SCST and Qlogic target driver
vlnb [Fri, 1 Dec 2006 19:01:35 +0000 (19:01 +0000)]
Release 0.9.5 of both SCST and Qlogic target driver

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@38 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoA bunch of small fixes and cleanups before 0.9.5
vlnb [Thu, 30 Nov 2006 16:44:59 +0000 (16:44 +0000)]
A bunch of small fixes and cleanups before 0.9.5

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@37 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoA bunch of small fixes and cleanups before 0.9.5
vlnb [Thu, 30 Nov 2006 16:24:09 +0000 (16:24 +0000)]
A bunch of small fixes and cleanups before 0.9.5

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@36 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoA small patch to fix command "Send cue sheet" transfer length.
vlnb [Wed, 15 Nov 2006 12:13:57 +0000 (12:13 +0000)]
A small patch to fix command "Send cue sheet" transfer length.
In mmc5, it is from cdb 6-8.

Signed-Off-By Ming Zhang

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@35 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoIncrease sleep for init script between stop/start
mgandalf [Tue, 14 Nov 2006 18:44:47 +0000 (18:44 +0000)]
Increase sleep for init script between stop/start

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@34 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoThe initial commit of 0.9.5-pre1 version
vlnb [Tue, 14 Nov 2006 12:56:57 +0000 (12:56 +0000)]
The initial commit of 0.9.5-pre1 version

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@33 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years ago - Fixed problems with big amount of LUNs. Tested on 1500 LUNS
vlnb [Mon, 13 Nov 2006 17:14:19 +0000 (17:14 +0000)]
 - Fixed problems with big amount of LUNs. Tested on 1500 LUNS
 - Docs update

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@32 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoDocumentaion updates
vlnb [Fri, 10 Nov 2006 12:39:12 +0000 (12:39 +0000)]
Documentaion updates

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@31 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoPass-through mode resid handlning updated
vlnb [Thu, 9 Nov 2006 11:07:14 +0000 (11:07 +0000)]
Pass-through mode resid handlning updated

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@30 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoDEBUG_WORK_IN_THREAD undefined
vlnb [Tue, 7 Nov 2006 10:53:35 +0000 (10:53 +0000)]
DEBUG_WORK_IN_THREAD undefined

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@29 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years ago - One more iteration of scst_get_context() related fixes
vlnb [Tue, 7 Nov 2006 10:48:12 +0000 (10:48 +0000)]
 - One more iteration of scst_get_context() related fixes
 - Locking cleanup while calling dev handlers' task_mgmt_fn()
 - STRICT_SERIALIZING mode fixes
 - Cleanups

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@28 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years ago - Fixed double locking regression, introduced rev20
vlnb [Fri, 3 Nov 2006 17:41:16 +0000 (17:41 +0000)]
 - Fixed double locking regression, introduced rev20
 - Small docs update

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@27 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoServing commands, whose expected data len is less, than maximum, fixed. Particularly...
vlnb [Thu, 2 Nov 2006 12:10:53 +0000 (12:10 +0000)]
Serving commands, whose expected data len is less, than maximum, fixed. Particularly, it affected READ CAPACITY(16) from Linux initiators

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@26 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoMinor cleanup
vlnb [Thu, 2 Nov 2006 12:08:28 +0000 (12:08 +0000)]
Minor cleanup

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@25 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoShowing block size added to /proc/scsi_tgt/disk_fileio/disk_fileio
vlnb [Thu, 2 Nov 2006 12:03:39 +0000 (12:03 +0000)]
Showing block size added to /proc/scsi_tgt/disk_fileio/disk_fileio

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@24 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoTRACE_MEM() cleanups
vlnb [Thu, 2 Nov 2006 11:20:46 +0000 (11:20 +0000)]
TRACE_MEM() cleanups

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@23 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years ago- Fixes wrongly set context in scst_tgt_cmd_done()
vlnb [Thu, 2 Nov 2006 10:54:10 +0000 (10:54 +0000)]
- Fixes wrongly set context in scst_tgt_cmd_done()
- Fixes retries for stateful devices

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@22 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoUpdates
vlnb [Thu, 2 Nov 2006 10:43:29 +0000 (10:43 +0000)]
Updates

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@21 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoThe first attempt to fix the "Unable to find wwn login for loop id 2, using loop...
vlnb [Thu, 2 Nov 2006 10:43:12 +0000 (10:43 +0000)]
The first attempt to fix the "Unable to find wwn login for loop id 2, using loop id instead" problem

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@20 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoSmall ORDERED commands handling optimization
vlnb [Fri, 27 Oct 2006 10:43:58 +0000 (10:43 +0000)]
Small ORDERED commands handling optimization

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@19 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoRenamed tgt_dev_specific to dh_priv as well as all *_specific to *_priv
vlnb [Fri, 27 Oct 2006 09:45:12 +0000 (09:45 +0000)]
Renamed tgt_dev_specific to dh_priv as well as all *_specific to *_priv

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@18 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoProperty svn:ignore set
vlnb [Thu, 26 Oct 2006 16:58:44 +0000 (16:58 +0000)]
Property svn:ignore set

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@17 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoRemoving of Module.symvers added
vlnb [Thu, 26 Oct 2006 16:51:41 +0000 (16:51 +0000)]
Removing of Module.symvers added

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@16 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoAdded support of non-original kernels (i.e. not 2.6.17)
vlnb [Thu, 26 Oct 2006 16:09:56 +0000 (16:09 +0000)]
Added support of non-original kernels (i.e. not 2.6.17)

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@15 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years ago1. Added support of 2.6.18 kernels
vlnb [Thu, 26 Oct 2006 16:08:29 +0000 (16:08 +0000)]
1. Added support of 2.6.18 kernels
2. FILEIO_ONLY added

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@14 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoOops, previous commit erased ERASE16. Fixed.
vlnb [Thu, 26 Oct 2006 13:58:39 +0000 (13:58 +0000)]
Oops, previous commit erased ERASE16. Fixed.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@13 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoAdded SERVICE ACTION IN in scst_scsi_op_table
vlnb [Thu, 26 Oct 2006 13:56:42 +0000 (13:56 +0000)]
Added SERVICE ACTION IN in scst_scsi_op_table

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@12 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoDebugging cleanups
vlnb [Fri, 20 Oct 2006 18:29:55 +0000 (18:29 +0000)]
Debugging cleanups

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@11 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoIn FILEIO:
vlnb [Fri, 20 Oct 2006 18:18:46 +0000 (18:18 +0000)]
In FILEIO:
 - Improved errors reporting
 - Improved SYNCHRONIZE_CACHE support, fsync() reimplemented
 - Improved ORDERED commands support
 - Added FUA support
 - Added NV_CACHE
 - Improved CDROM FILEIO

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@10 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoMore intelligent IO flow control implemented
vlnb [Tue, 17 Oct 2006 09:22:31 +0000 (09:22 +0000)]
More intelligent IO flow control implemented

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@9 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoMinor fixes and cleanups
vlnb [Thu, 12 Oct 2006 16:43:38 +0000 (16:43 +0000)]
Minor fixes and cleanups

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@8 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoTiny typo fixed
vlnb [Thu, 12 Oct 2006 15:27:12 +0000 (15:27 +0000)]
Tiny typo fixed

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@7 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years ago - Versions changed from "pre1" on "pre2"
vlnb [Thu, 12 Oct 2006 15:25:28 +0000 (15:25 +0000)]
 - Versions changed from "pre1" on "pre2"
 - Note added in qla2x00-target/README how to deal with full patched initiator driver

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@6 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoInitial commit on SCST WWW page
vlnb [Thu, 12 Oct 2006 15:15:46 +0000 (15:15 +0000)]
Initial commit on SCST WWW page

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@5 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years ago- Fixed dev->on_dev_count underleak
vlnb [Thu, 12 Oct 2006 14:25:08 +0000 (14:25 +0000)]
- Fixed dev->on_dev_count underleak
- Minor fixes and cosmetics

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@4 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoProperty svn:ignore set
vlnb [Thu, 12 Oct 2006 14:18:50 +0000 (14:18 +0000)]
Property svn:ignore set

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@3 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoInitial doc's commit
vlnb [Thu, 12 Oct 2006 14:02:57 +0000 (14:02 +0000)]
Initial doc's commit

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@2 d57e44dd-8a1f-0410-8b47-8ef2f437770f

15 years agoInitial commit
vlnb [Thu, 12 Oct 2006 13:47:28 +0000 (13:47 +0000)]
Initial commit

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1 d57e44dd-8a1f-0410-8b47-8ef2f437770f