Vladislav Bolkhovitin
e63a0dcbd0
Take 2 of fixing the race, which could lead to BUG() in scst_mgmt_thread()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@45 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-12-12 09:18:04 +00:00
Vladislav Bolkhovitin
19061ed988
- Fixed a race, which could lead to BUG() in scst_mgmt_thread()
...
- Credits updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@44 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-12-05 10:22:53 +00:00
Vladislav Bolkhovitin
de3801ce0b
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: http://svn.code.sf.net/p/scst/svn/trunk@43 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-12-04 11:08:18 +00:00
Vladislav Bolkhovitin
70a97084f2
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: http://svn.code.sf.net/p/scst/svn/trunk@42 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-12-04 11:04:28 +00:00
Vladislav Bolkhovitin
22eee9b4a8
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: http://svn.code.sf.net/p/scst/svn/trunk@41 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-12-04 11:02:50 +00:00
Vladislav Bolkhovitin
3c0e316ce6
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: http://svn.code.sf.net/p/scst/svn/trunk@40 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-12-04 10:59:26 +00:00
Vladislav Bolkhovitin
22041237a9
Updated version to 0.9.6 and Makefiles to bring the debug options back
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@39 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-12-04 10:53:25 +00:00
Vladislav Bolkhovitin
4784c2ec6e
Release 0.9.5 of both SCST and Qlogic target driver
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@38 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-12-01 19:01:35 +00:00
Vladislav Bolkhovitin
f668acb6d5
A bunch of small fixes and cleanups before 0.9.5
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@37 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-11-30 16:44:59 +00:00
Vladislav Bolkhovitin
e0e00e0e8e
A bunch of small fixes and cleanups before 0.9.5
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@36 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-11-30 16:24:09 +00:00
Vladislav Bolkhovitin
7e8e976d2b
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: http://svn.code.sf.net/p/scst/svn/trunk@35 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-11-15 12:13:57 +00:00
Mark Buechler
58a08724ca
Increase sleep for init script between stop/start
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@34 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-11-14 18:44:47 +00:00
Vladislav Bolkhovitin
5410bf4f3b
The initial commit of 0.9.5-pre1 version
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@33 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-11-14 12:56:57 +00:00
Vladislav Bolkhovitin
02d31f62c0
- Fixed problems with big amount of LUNs. Tested on 1500 LUNS
...
- Docs update
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@32 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-11-13 17:14:19 +00:00
Vladislav Bolkhovitin
e721a3e0bd
Documentaion updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@31 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-11-10 12:39:12 +00:00
Vladislav Bolkhovitin
a418ec7f86
Pass-through mode resid handlning updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@30 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-11-09 11:07:14 +00:00
Vladislav Bolkhovitin
bfb9a2ea3c
DEBUG_WORK_IN_THREAD undefined
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@29 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-11-07 10:53:35 +00:00
Vladislav Bolkhovitin
bbcafc8fd9
- 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: http://svn.code.sf.net/p/scst/svn/trunk@28 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-11-07 10:48:12 +00:00
Vladislav Bolkhovitin
0efcd3d65f
- Fixed double locking regression, introduced rev20
...
- Small docs update
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@27 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-11-03 17:41:16 +00:00
Vladislav Bolkhovitin
40d6dbbe6c
Serving commands, whose expected data len is less, than maximum, fixed. Particularly, it affected READ CAPACITY(16) from Linux initiators
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@26 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-11-02 12:10:53 +00:00
Vladislav Bolkhovitin
10f5c77231
Minor cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@25 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-11-02 12:08:28 +00:00
Vladislav Bolkhovitin
14afc65ad9
Showing block size added to /proc/scsi_tgt/disk_fileio/disk_fileio
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@24 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-11-02 12:03:39 +00:00
Vladislav Bolkhovitin
c843084c8d
TRACE_MEM() cleanups
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@23 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-11-02 11:20:46 +00:00
Vladislav Bolkhovitin
1fad8dae64
- Fixes wrongly set context in scst_tgt_cmd_done()
...
- Fixes retries for stateful devices
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@22 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-11-02 10:54:10 +00:00
Vladislav Bolkhovitin
64ff5ad004
Updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@21 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-11-02 10:43:29 +00:00
Vladislav Bolkhovitin
23261f3623
The first attempt to fix the "Unable to find wwn login for loop id 2, using loop id instead" problem
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@20 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-11-02 10:43:12 +00:00
Vladislav Bolkhovitin
868a808087
Small ORDERED commands handling optimization
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@19 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-10-27 10:43:58 +00:00
Vladislav Bolkhovitin
beb77e96ff
Renamed tgt_dev_specific to dh_priv as well as all *_specific to *_priv
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@18 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-10-27 09:45:12 +00:00
Vladislav Bolkhovitin
40ca3e675e
Property svn:ignore set
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@17 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-10-26 16:58:44 +00:00
Vladislav Bolkhovitin
a2489a8916
Removing of Module.symvers added
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@16 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-10-26 16:51:41 +00:00
Vladislav Bolkhovitin
18a88c24ac
Added support of non-original kernels (i.e. not 2.6.17)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@15 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-10-26 16:09:56 +00:00
Vladislav Bolkhovitin
95a5ad5618
1. Added support of 2.6.18 kernels
...
2. FILEIO_ONLY added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@14 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-10-26 16:08:29 +00:00
Vladislav Bolkhovitin
e19b08fb3b
Oops, previous commit erased ERASE16. Fixed.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@13 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-10-26 13:58:39 +00:00
Vladislav Bolkhovitin
139608a30a
Added SERVICE ACTION IN in scst_scsi_op_table
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@12 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-10-26 13:56:42 +00:00
Vladislav Bolkhovitin
b4e10b6c68
Debugging cleanups
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@11 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-10-20 18:29:55 +00:00
Vladislav Bolkhovitin
a7b053dade
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: http://svn.code.sf.net/p/scst/svn/trunk@10 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-10-20 18:18:46 +00:00
Vladislav Bolkhovitin
49ae6eab93
More intelligent IO flow control implemented
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-10-17 09:22:31 +00:00
Vladislav Bolkhovitin
af6b6fa8f1
Minor fixes and cleanups
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-10-12 16:43:38 +00:00
Vladislav Bolkhovitin
631146b97d
Tiny typo fixed
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-10-12 15:27:12 +00:00
Vladislav Bolkhovitin
ffcd7c7dd9
- Versions changed from "pre1" on "pre2"
...
- Note added in qla2x00-target/README how to deal with full patched initiator driver
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-10-12 15:25:28 +00:00
Vladislav Bolkhovitin
71ad2d876d
Initial commit on SCST WWW page
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-10-12 15:15:46 +00:00
Vladislav Bolkhovitin
448b8e5913
- Fixed dev->on_dev_count underleak
...
- Minor fixes and cosmetics
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-10-12 14:25:08 +00:00
Vladislav Bolkhovitin
02504c2796
Property svn:ignore set
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-10-12 14:18:50 +00:00
Vladislav Bolkhovitin
cdc2266236
Initial doc's commit
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-10-12 14:02:57 +00:00
Vladislav Bolkhovitin
445fa5ca1f
Initial commit
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-10-12 13:47:28 +00:00