mirror/scst/.git
15 years ago- Allow for empty groups (groups with no users) for iSCSI.
mgandalf [Fri, 7 Sep 2007 19:48:20 +0000 (19:48 +0000)]
- Allow for empty groups (groups with no users) for iSCSI.

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

15 years ago- Fix really stupid mistake where config commits were using same path
mgandalf [Fri, 7 Sep 2007 19:04:51 +0000 (19:04 +0000)]
- Fix really stupid mistake where config commits were using same path
  for each device.
- Added option processing. The new API wants the option BLOCKIO,
  but SCST then shows the device having been opened with
  option BIO. We now warp BIO to BLOCKIO.
- Added the concept of handler aliases. Handler vdisk with
  option BLOCKIO shows as a handler of vdisk_blk. We now
  warp vdisk_blk to just vdisk.

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

15 years ago- Do not print lot of info about notify event.
swgruszka [Wed, 5 Sep 2007 11:38:19 +0000 (11:38 +0000)]
- Do not print lot of info about notify event.
- Check bp->scst_tgt agains NULL only once when command is processed

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

15 years ago- Search bus only once when process scsi command (tmd).
swgruszka [Wed, 5 Sep 2007 10:20:44 +0000 (10:20 +0000)]
- Search bus only once when process scsi command (tmd).
- Pass to SCST port WWN as registration name.
- Avoid race condition when we receive new tmd and bp->scst_tmd
  may (or not) be NULL.

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

15 years agoInitialize with zeros fresh allocated ini_t.
swgruszka [Tue, 4 Sep 2007 11:07:50 +0000 (11:07 +0000)]
Initialize with zeros fresh allocated ini_t.
Free low level driver memory on error.

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

15 years agoBugfix, do not zero resource which someone may actually use.
swgruszka [Sat, 1 Sep 2007 11:44:37 +0000 (11:44 +0000)]
Bugfix, do not zero resource which someone may actually use.

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

15 years agoAvoid race conditions related with registration and unregistration hba's.
swgruszka [Fri, 31 Aug 2007 13:01:22 +0000 (13:01 +0000)]
Avoid race conditions related with registration and unregistration hba's.

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

15 years agoGet irq number from PCI subsystem after irq routing mechanism (like ACPI)
swgruszka [Fri, 31 Aug 2007 09:40:17 +0000 (09:40 +0000)]
Get irq number from PCI subsystem after irq routing mechanism (like ACPI)
set it up. Otherwise we get irq number from legacy BIOS range and proper irq
(other number from PCI range) is not handled or handled by other driver -
- VERY VERY BAD THINGS happen then.

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

15 years agoAdd workaround for devices which have broken autosense mode. It is compile
swgruszka [Fri, 31 Aug 2007 09:28:08 +0000 (09:28 +0000)]
Add workaround for devices which have broken autosense mode. It is compile
time selectable. In run-time it is turned on only for 24xx chipsets. With
this workaround (hopply) we don't need to limit queue length (see comment
in patch).

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

15 years agoFixed incorrect #if statement. Reported by jzh800mail@126.com.
vlnb [Wed, 29 Aug 2007 16:16:30 +0000 (16:16 +0000)]
Fixed incorrect #if statement. Reported by jzh800mail@126.com.

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

15 years ago - Fixed make headers_check problem, reported by Doug Dumitru <doug@easyco.com>
vlnb [Wed, 29 Aug 2007 15:07:40 +0000 (15:07 +0000)]
 - Fixed make headers_check problem, reported by Doug Dumitru <doug@easyco.com>
 - Improved rebuilt warning as suggested by Tomasz Chmielewski <mangoo@wpkg.org>
 - Minor cleanups

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

15 years agoMinor changes based on comments from Tomasz Chmielewski <mangoo@wpkg.org>, Benjamin...
vlnb [Wed, 29 Aug 2007 09:52:07 +0000 (09:52 +0000)]
Minor changes based on comments from Tomasz Chmielewski <mangoo@wpkg.org>, Benjamin Yates <benjamin@rqdq.com> and Andy <AndrewL733@aol.com>

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

15 years ago - Fixed several iSCSI RFC violations in TM area, added necessary support in the...
vlnb [Tue, 28 Aug 2007 17:32:31 +0000 (17:32 +0000)]
 - Fixed several iSCSI RFC violations in TM area, added necessary support in the SCST core
 - Some minor TM handling improvements
 - Some cleanups

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

15 years agoscst_fileio renamed to scst_vdisk
vlnb [Mon, 27 Aug 2007 10:49:04 +0000 (10:49 +0000)]
scst_fileio renamed to scst_vdisk

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

15 years agoSample scstadmin .conf added
vlnb [Mon, 27 Aug 2007 10:01:48 +0000 (10:01 +0000)]
Sample scstadmin .conf added

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

15 years ago - Calling pre_exec() moved to the separate state
vlnb [Fri, 24 Aug 2007 16:54:19 +0000 (16:54 +0000)]
 - Calling pre_exec() moved to the separate state
 - Minor cleanups

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

15 years agoscsi_tgt renamed to scst
vlnb [Fri, 24 Aug 2007 16:40:56 +0000 (16:40 +0000)]
scsi_tgt renamed to scst

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

15 years agoFixed compilation problem when any module using net_get_page()/net_put_page() built...
vlnb [Thu, 23 Aug 2007 16:00:57 +0000 (16:00 +0000)]
Fixed compilation problem when any module using net_get_page()/net_put_page() built as a module.

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

15 years ago - Updated to the latest IET (r137)
vlnb [Thu, 23 Aug 2007 15:29:44 +0000 (15:29 +0000)]
 - Updated to the latest IET (r137)
 - ToDo note added

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

15 years agoCopyrights updated
vlnb [Thu, 23 Aug 2007 15:28:18 +0000 (15:28 +0000)]
Copyrights updated

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

15 years ago"iSCSI Enterprise" ranamed to "iSCSI-SCST"
vlnb [Thu, 16 Aug 2007 09:19:34 +0000 (09:19 +0000)]
"iSCSI Enterprise" ranamed to "iSCSI-SCST"

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

15 years agoscsi_tgt.ko renamed to scst.ko
vlnb [Thu, 16 Aug 2007 09:04:05 +0000 (09:04 +0000)]
scsi_tgt.ko renamed to scst.ko

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

15 years agoISCSI-SCST updates
vlnb [Wed, 15 Aug 2007 09:59:46 +0000 (09:59 +0000)]
ISCSI-SCST updates

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

15 years agoThe initial commit of iSCSI-SCST
vlnb [Wed, 15 Aug 2007 09:28:54 +0000 (09:28 +0000)]
The initial commit of iSCSI-SCST

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

15 years agoMinor fixes
vlnb [Tue, 14 Aug 2007 17:08:43 +0000 (17:08 +0000)]
Minor fixes

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

15 years ago - Version changed in scst_user_spec.txt
vlnb [Tue, 14 Aug 2007 17:03:42 +0000 (17:03 +0000)]
 - Version changed in scst_user_spec.txt
 - Minor fixes

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

15 years ago- Call of pre_unreg_sess() moved to scst_mgmt_thread, because of scst_mutex deadlock...
vlnb [Tue, 14 Aug 2007 16:54:54 +0000 (16:54 +0000)]
- Call of pre_unreg_sess() moved to scst_mgmt_thread, because of scst_mutex deadlock with scst_user's pre_unreg_sess() handler
 - scst_check_local_events() cleanups
 - In scst_user notification about aborted commands added, user space interface changed
 - Other minor fixes and cleanups

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

15 years agoFixes a race, when an event comes on the driver unload, so DPC thread will try to...
vlnb [Fri, 10 Aug 2007 08:40:54 +0000 (08:40 +0000)]
Fixes a race, when an event comes on the driver unload, so DPC thread will try to use already half destroyed data.

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

15 years ago - Docs updated
vlnb [Wed, 8 Aug 2007 09:52:23 +0000 (09:52 +0000)]
 - Docs updated
 - Minor fix

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

15 years ago - Implemented temporary workaround to work on 2.6.22+ kernels
vlnb [Tue, 7 Aug 2007 17:12:21 +0000 (17:12 +0000)]
 - Implemented temporary workaround to work on 2.6.22+ kernels
 - qla2x00-target/ChangeLog updated
 - Typo in scst_page.html fixed

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

15 years ago - In scst_user fixed potential deadlock
vlnb [Fri, 3 Aug 2007 09:57:15 +0000 (09:57 +0000)]
 - In scst_user fixed potential deadlock
 - scst_check_local_events() added
 - Minor cleanups and fixes

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

15 years ago - Device blocking cleanups and fixes
vlnb [Tue, 31 Jul 2007 14:21:46 +0000 (14:21 +0000)]
 - Device blocking cleanups and fixes
 - tags logging made unsigned

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

15 years ago - Semaphores converted to mutexes
vlnb [Mon, 30 Jul 2007 11:21:04 +0000 (11:21 +0000)]
 - Semaphores converted to mutexes
 - pre_exec() callback added
 - *_DBG_SPECIAL() macroses added

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

15 years agoPartial update for 2.6.22
vlnb [Mon, 23 Jul 2007 11:51:05 +0000 (11:51 +0000)]
Partial update for 2.6.22

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

15 years agoUpdate for 64-bit tags
vlnb [Wed, 18 Jul 2007 08:50:50 +0000 (08:50 +0000)]
Update for 64-bit tags

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

15 years agoPatch from Terry Greeniaus:
vlnb [Wed, 18 Jul 2007 08:41:44 +0000 (08:41 +0000)]
Patch from Terry Greeniaus:

We use the 64-bit tag field in the SRP commands to store information allowing us to track each command.  However, SCST only saves/uses 32-bits out of this 64-bit field.  This causes our code to fail when we get a response SRP command that doesn't match any tags we used.

I have updated SCST to work with our product by changing it to save all 64-bits of the tag.

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

15 years agoPatch from Nathan Bullock.
vlnb [Fri, 13 Jul 2007 15:02:20 +0000 (15:02 +0000)]
Patch from Nathan Bullock.

We are using OFED target machines to export a large number of disks, many of which are just NULLIO disks, but we have noticed that VPD numbers have a significant tendency to conflict. For example if we name one disk abc12 and another abc21 they will end up with the same VPD.

We are using a quick, slightly hackish way to solve this, by just creating a random hash for each ascii value and then rotating that hash based on the position of the character in the name. If you would like here is our changes.

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

15 years agoFew minor races fixed
vlnb [Fri, 13 Jul 2007 09:34:25 +0000 (09:34 +0000)]
Few minor races fixed

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

15 years agoLittle comment fix.
swgruszka [Wed, 11 Jul 2007 09:30:10 +0000 (09:30 +0000)]
Little comment fix.

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

15 years agolun_t changed to 64 bits. Don't know why it was 32 bits
vlnb [Tue, 10 Jul 2007 16:47:43 +0000 (16:47 +0000)]
lun_t changed to 64 bits. Don't know why it was 32 bits

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

15 years agoPatch from Stanislaw Gruszka:
vlnb [Tue, 10 Jul 2007 16:39:38 +0000 (16:39 +0000)]
Patch from Stanislaw Gruszka:

- pass FC transport error to SCST
- give SCST info about WWN of remote initiator
- info about expected transfer length and direction
- unifying printk error messages

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

15 years agotrace_buf_lock implemented
vlnb [Thu, 5 Jul 2007 16:23:09 +0000 (16:23 +0000)]
trace_buf_lock implemented

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

15 years agoAdded previously renamed (deleted) patches
vlnb [Thu, 5 Jul 2007 14:39:37 +0000 (14:39 +0000)]
Added previously renamed (deleted) patches

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

15 years ago - Kernel patches were renamed (in this commit only deleted)
vlnb [Thu, 5 Jul 2007 14:37:36 +0000 (14:37 +0000)]
 - Kernel patches were renamed (in this commit only deleted)
 - VDISK_ONLY was removed, SCSI_EXEC_REQ_FIFO_DEFINED, defined by corresponding kernel patch used instead
 - Minor fixes
 - Docs updates

All users will need to revert old SCST kernel patch and apply the corresponding new one.

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

15 years agoSeparate block devices from non-block ones
vlnb [Thu, 5 Jul 2007 14:20:17 +0000 (14:20 +0000)]
Separate block devices from non-block ones

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

15 years agoPatch from Alessandro Premoli:
vlnb [Mon, 2 Jul 2007 11:36:22 +0000 (11:36 +0000)]
Patch from Alessandro Premoli:

First, the problem: you cannot calculate sgv_max_local_order and
sgv_max_trans_order by excess and then compare them with
get_order(size). The maximum number of local (SG + trans) entries may be
112 (like in amd64 case) and you bzero 128 sg_entries for every
allocation request between 65 and 128 pages because the order is the
same. This is the reason why single transfers of (70 * PAGE_SIZE) =
~285k or more fail on amd64. On i386 the limit is higher, since you can
shrink more records in one page, and so it's very difficult to reach.

Now, the solution: I created a patch, which consists in decreasing
sgv_max_local_order and sgv_max_trans_order by 1.

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

15 years agoFix of WARN_ON_ONCE() braindamage
vlnb [Fri, 29 Jun 2007 09:41:09 +0000 (09:41 +0000)]
Fix of WARN_ON_ONCE() braindamage

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

15 years agoPatch from Alessandro Premoli fixes all the warnings of scst on 64-bit platforms
vlnb [Wed, 27 Jun 2007 16:19:38 +0000 (16:19 +0000)]
Patch from Alessandro Premoli fixes all the warnings of scst on 64-bit platforms

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

15 years agoMinor debug changes
vlnb [Wed, 27 Jun 2007 10:41:44 +0000 (10:41 +0000)]
Minor debug changes

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

15 years agoSCST page updated to list the QLogic ISP driver
vlnb [Mon, 25 Jun 2007 17:19:35 +0000 (17:19 +0000)]
SCST page updated to list the QLogic ISP driver

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

15 years agoPatch from Stanislaw Gruszka <stanislawg1@open-e.com>
vlnb [Mon, 25 Jun 2007 16:32:46 +0000 (16:32 +0000)]
Patch from Stanislaw Gruszka <stanislawg1@open-e.com>

This is SCST driver for ISP Qlogic chipsets commonly used in many SCSI and FC
host bus adapters. Supported chipset are listed in README file, incomplete
list of supported HBA's is in doc/Hardware.txt .

It is based on Matthew Jacob's multiplatform driver for ISP chipsets,
which can be download from ftp://ftp.feral.com/pub/isp/isp_dist.tgz

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

15 years ago- Fixed applyConfiguration() to apply a full config in -ForceConfig mode
mgandalf [Fri, 22 Jun 2007 18:23:12 +0000 (18:23 +0000)]
- Fixed applyConfiguration() to apply a full config in -ForceConfig mode
- Fixed device handler switches
- Fixed device assignment LUN changes
- Fixed handling of disabled handlers (like dev_disk, dev_cdrom, etc from compile time)

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

15 years ago- Version increment (almost forgot)
mgandalf [Thu, 21 Jun 2007 17:30:34 +0000 (17:30 +0000)]
- Version increment (almost forgot)

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

15 years ago- Fixed applyConfiguration() to remove entries before adding new ones.
mgandalf [Thu, 21 Jun 2007 17:24:12 +0000 (17:24 +0000)]
- Fixed applyConfiguration() to remove entries before adding new ones.
- Fixed changes and differences counts
- Added intelligence around virtual/physical/performance type devices

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

15 years ago- Fixed closing a device with -RemoveDev
mgandalf [Wed, 20 Jun 2007 13:45:19 +0000 (13:45 +0000)]
- Fixed closing a device with -RemoveDev
- Added BLOCKIO option support

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

15 years ago- Updated for vdisk/vcdrom from disk_fileio/cdrom_fileio
mgandalf [Tue, 19 Jun 2007 20:21:27 +0000 (20:21 +0000)]
- Updated for vdisk/vcdrom from disk_fileio/cdrom_fileio
- Added new errorString() method to SCST/SCST.pm containing
  error message of last error encountered.
- Minor updates to scst_db - UNTESTED
- Changed SCST/SCST.pm to look for files like vdisk/vdisk instead
  of vdisk/type to gather list of valid device handlers
- Minor bug fixes

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

15 years ago - Fixed race with wake_up()
vlnb [Fri, 15 Jun 2007 09:02:57 +0000 (09:02 +0000)]
 - Fixed race with wake_up()
 - Some cleanups

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

15 years agoSVN access method changed to https://scst.svn.sourceforge.net/svnroot/scst
vlnb [Wed, 13 Jun 2007 10:04:45 +0000 (10:04 +0000)]
SVN access method changed to https://scst.svn.sourceforge.net/svnroot/scst

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

15 years agoMinor threads related fixes
vlnb [Fri, 8 Jun 2007 14:08:06 +0000 (14:08 +0000)]
Minor threads related fixes

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

15 years agoAdded limit on maximum queued on a device commands
vlnb [Fri, 8 Jun 2007 10:54:18 +0000 (10:54 +0000)]
Added limit on maximum queued on a device commands

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

15 years ago - Threads made per-device
vlnb [Fri, 8 Jun 2007 10:25:29 +0000 (10:25 +0000)]
 - Threads made per-device
 - Minor cleanups and fixes

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

15 years agoDocs update
vlnb [Fri, 1 Jun 2007 15:05:54 +0000 (15:05 +0000)]
Docs update

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

15 years agoDocs update
vlnb [Fri, 1 Jun 2007 11:11:19 +0000 (11:11 +0000)]
Docs update

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

15 years agoVersion changed to 0.9.6
vlnb [Thu, 31 May 2007 17:13:27 +0000 (17:13 +0000)]
Version changed to 0.9.6

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

15 years ago - Module scst_user and user space utility to test it added
vlnb [Thu, 31 May 2007 17:11:57 +0000 (17:11 +0000)]
 - Module scst_user and user space utility to test it added
 - Support for per-target default security groups added
 - FILEIO made multithreaded
 - BLOCKIO made async
 - Other improvements, fixes and cleanups

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

15 years agoSupport for per-target default security groups added
vlnb [Thu, 31 May 2007 17:10:55 +0000 (17:10 +0000)]
Support for per-target default security groups added

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

15 years agoSupport for per-target default security groups added
vlnb [Thu, 31 May 2007 17:02:41 +0000 (17:02 +0000)]
Support for per-target default security groups added

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

15 years agoSome docs updates
vlnb [Thu, 31 May 2007 15:13:13 +0000 (15:13 +0000)]
Some docs updates

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

15 years agoOops, "is" instead of "isn't"
vlnb [Thu, 17 May 2007 15:35:45 +0000 (15:35 +0000)]
Oops, "is" instead of "isn't"

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

15 years agoLinear search in the LUN translation routines scst_translate_lun()
vlnb [Thu, 17 May 2007 15:30:02 +0000 (15:30 +0000)]
Linear search in the LUN translation routines scst_translate_lun()
and scst_mgmt_translate_lun() was changed to a hash-based one, thanks
to Michael G. Byrnes.

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

15 years agoMinor fixes, cleanups and updates
vlnb [Thu, 17 May 2007 14:45:18 +0000 (14:45 +0000)]
Minor fixes, cleanups and updates

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

15 years agoInternal REQUEST SENSE fixes
vlnb [Tue, 8 May 2007 09:26:48 +0000 (09:26 +0000)]
Internal REQUEST SENSE fixes

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

15 years agoPatch for 2.6.21. Patch 26_scst-2.6.18.patch also applies on 2.6.21, but a gap betwee...
vlnb [Tue, 8 May 2007 09:22:48 +0000 (09:22 +0000)]
Patch for 2.6.21. Patch 26_scst-2.6.18.patch also applies on 2.6.21, but a gap between .18 and .21 is too scaring ;)

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

15 years agoLOG_SELECT/SENSE stub added. Looks like it is more correct way to refuse those commands
vlnb [Fri, 27 Apr 2007 14:46:22 +0000 (14:46 +0000)]
LOG_SELECT/SENSE stub added. Looks like it is more correct way to refuse those commands

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

15 years ago- SGV caching changed to be more space efficient
vlnb [Tue, 24 Apr 2007 16:44:23 +0000 (16:44 +0000)]
- SGV caching changed to be more space efficient
- pre_unreg_sess() added to struct scst_dev_type
- Minor fixes and cleanups

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

15 years agoVersion 0.9
vlnb [Tue, 24 Apr 2007 14:31:15 +0000 (14:31 +0000)]
Version 0.9

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

15 years agoTypo fixed
vlnb [Mon, 16 Apr 2007 15:43:37 +0000 (15:43 +0000)]
Typo fixed

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

15 years agoVarious fixes, cleanups updates and preparations
vlnb [Tue, 3 Apr 2007 15:44:44 +0000 (15:44 +0000)]
Various fixes, cleanups updates and preparations

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

15 years agodev_done() made generic, small generic parse() optimization and cleanups
vlnb [Tue, 3 Apr 2007 14:51:18 +0000 (14:51 +0000)]
dev_done() made generic, small generic parse() optimization and cleanups

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

15 years agoFixed depmod to work for the necessary kernel, not the current one
vlnb [Tue, 3 Apr 2007 14:49:33 +0000 (14:49 +0000)]
Fixed depmod to work for the necessary kernel, not the current one

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

15 years agoParse() functions made generic
vlnb [Tue, 3 Apr 2007 14:47:47 +0000 (14:47 +0000)]
Parse() functions made generic

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

15 years agoCopyrights updated, "-g" added in DEBUG mode
vlnb [Tue, 3 Apr 2007 14:42:47 +0000 (14:42 +0000)]
Copyrights updated, "-g" added in DEBUG mode

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

15 years agoMinor fixes
vlnb [Mon, 2 Apr 2007 10:55:55 +0000 (10:55 +0000)]
Minor fixes

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

15 years ago - D_SENSE value corrected
vlnb [Wed, 7 Mar 2007 17:10:45 +0000 (17:10 +0000)]
 - D_SENSE value corrected
 - REPORT DENSITY SUPPORT command added

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

15 years ago- BLOCKIO made async
vlnb [Fri, 2 Mar 2007 16:29:36 +0000 (16:29 +0000)]
- BLOCKIO made async

- Docs updates

- Debug logging improvements

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

15 years agoFixed case, when resid == cmd->resp_data_len for real devices
vlnb [Fri, 2 Mar 2007 15:06:55 +0000 (15:06 +0000)]
Fixed case, when resid == cmd->resp_data_len for real devices

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

15 years agoMostly from Vu Pham:
vlnb [Wed, 28 Feb 2007 12:55:35 +0000 (12:55 +0000)]
Mostly from Vu Pham:

- Use submit_bio() instead of generic_make_request

- Fixes case, when exported device blocksize >512

Seems, BLOCKIO works now, although the following not done yet:

1. BLOCKIO version vdisk_exec_verify(). It is basically the same as for the plain read, but it should read in own local data buffer and compare data with the command's ones, if requested.

2. There is a need for test on the underlying device with blocksize >512.

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

15 years agoMinor cleanups
vlnb [Thu, 22 Feb 2007 11:53:35 +0000 (11:53 +0000)]
Minor cleanups

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

15 years agoBLOCKIO doc updated
vlnb [Thu, 22 Feb 2007 10:54:32 +0000 (10:54 +0000)]
BLOCKIO doc updated

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

15 years agoMinor fixes from/inspired by Vu Pham
vlnb [Thu, 22 Feb 2007 10:34:18 +0000 (10:34 +0000)]
Minor fixes from/inspired by Vu Pham

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

15 years agoAdding blockio mode support to scst_vdisk
vlnb [Wed, 21 Feb 2007 18:15:19 +0000 (18:15 +0000)]
Adding blockio mode support to scst_vdisk

Signed-of-by: Vu Pham <huongvp@yahoo.com>
Merged by me.

Don't use it, currently it corrupts transferred data

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

15 years agoRename FILEIO -> VDISK, part 2
vlnb [Wed, 21 Feb 2007 16:44:59 +0000 (16:44 +0000)]
Rename FILEIO -> VDISK, part 2

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

15 years agoRename FILEIO -> VDISK, part 1
vlnb [Wed, 21 Feb 2007 15:48:58 +0000 (15:48 +0000)]
Rename FILEIO -> VDISK, part 1

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

15 years agoVersion 0.4.
vlnb [Wed, 21 Feb 2007 15:09:25 +0000 (15:09 +0000)]
Version 0.4.

 - Support for partial data transfers added

 - Support asynchronous commands completions added

 - Few important notes added

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

15 years agoExecution context cleanup. Completed full support for SCSI task attributes (SIMPLE...
vlnb [Wed, 21 Feb 2007 12:50:48 +0000 (12:50 +0000)]
Execution context cleanup. Completed full support for SCSI task attributes (SIMPLE, ORDERED, etc.)
+ minor cleanups

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

15 years agoA major locking and general code cleanup
vlnb [Wed, 21 Feb 2007 11:43:22 +0000 (11:43 +0000)]
A major locking and general code cleanup

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

15 years agoOops, the previous commit was wrong. Fix it.
vlnb [Mon, 19 Feb 2007 12:55:54 +0000 (12:55 +0000)]
Oops, the previous commit was wrong. Fix it.

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

15 years agoMinor fix for ABORTed on SIRQ commands
vlnb [Mon, 19 Feb 2007 10:46:53 +0000 (10:46 +0000)]
Minor fix for ABORTed on SIRQ commands

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

15 years agoUpdate to work on 2.6.20 + minor fix
vlnb [Fri, 16 Feb 2007 11:11:18 +0000 (11:11 +0000)]
Update to work on 2.6.20 + minor fix

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

15 years agoFrom Erik Habbinga:
vlnb [Fri, 2 Feb 2007 12:26:50 +0000 (12:26 +0000)]
From Erik Habbinga:

This patch fixes a race condition where a pointer to the just-finished SCST command would interfere with the incoming target
command.

Also, printing out TargetStatusSendReq IOCStatus is now done in debug/tracing mode if we're a SCSI device and the expected "error" case for attempting to send simultaneous status and sense is triggered.

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