Bart Van Assche
ed2ef155fc
Reverted r2269 because it contained a suspicious patch.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2299 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-28 17:12:53 +00:00
Vladislav Bolkhovitin
013f6f1abe
Possible buffer overflow in the config load code fixed. Thanks to wk <witold.kowolik@open-e.com> to pointing on it!
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2297 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-28 15:07:17 +00:00
Vladislav Bolkhovitin
8d23a63c3c
Cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2296 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-28 15:02:21 +00:00
Vladislav Bolkhovitin
121a30e9b2
Big CDBs handling improvements.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2295 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-28 13:56:46 +00:00
Bart Van Assche
cfad79a103
Added diffstat generation.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2294 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-28 06:46:20 +00:00
Vladislav Bolkhovitin
2546872ae5
Setting may_need_dma_sync in scst_get_sg_X_page_first() is not needed, because it doesn't map the page and CPU doesn't access the data directly
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2293 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 20:45:54 +00:00
Vladislav Bolkhovitin
08bee7feb8
Features list updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2292 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 20:43:50 +00:00
Bart Van Assche
d20e8eac39
Fixed a (harmless) typo.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2291 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 18:35:41 +00:00
Joe Eykholt
2ac1c45585
Fix warning of uninitialized variable on some compilers due to
...
no default case in switch statement.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2290 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 17:18:50 +00:00
Bart Van Assche
ea3fae76f6
Added scst_local to the SCST Kconfig file.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2289 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 15:28:15 +00:00
Bart Van Assche
6ace2a37bc
Avoid that sparse complains on the scst_local source code.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2288 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 15:27:33 +00:00
Bart Van Assche
843a38dddd
Updated kernel versions.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2287 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 10:47:48 +00:00
Bart Van Assche
507b7f0ae7
Reverted recently introduced #if/#elif handling changes because these were wrong.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2286 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 09:36:10 +00:00
Bart Van Assche
efc9328ff7
Further ibmvstgt/scsi_tgt patch description refinements.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2285 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 07:59:17 +00:00
Bart Van Assche
85f3cd4f87
Removed empty Signed-off-by line / elaborated ibmvstgt patch description.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2284 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-26 19:13:32 +00:00
Bart Van Assche
7b4e0f104a
Added ibmvstgt and scsi_tgt patch descriptions.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2283 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-26 17:29:44 +00:00
Bart Van Assche
cc7d5a51ee
Cleanup.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2282 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-26 16:36:18 +00:00
Bart Van Assche
3469bfaa9d
Bug fix.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2281 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-26 16:24:11 +00:00
Bart Van Assche
ad27ac341d
patch header parsing bug fix.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2280 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-26 10:40:53 +00:00
Bart Van Assche
7194bcd3b1
Added command-line option -s: disable patch specialization.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2279 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-26 09:38:44 +00:00
Bart Van Assche
c9ad2e7a7b
Changes:
...
- Process #elif directives correctly (doesn't affect the current SCST source code).
- Do not remove double blank lines from documentation files.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2278 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-26 09:37:27 +00:00
Bart Van Assche
c11a96382e
Added a warning that the kernel tree generated by scripts/generate-kernel-with-srp-patches is not suited for general use.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2275 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 18:40:19 +00:00
Vladislav Bolkhovitin
9083a1facd
Remove checking of rel_tgt_id on disabling targets
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2274 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 18:35:29 +00:00
Vladislav Bolkhovitin
864d4b38c7
Fix possible deadlock on waiting on blocking. As a side effect it leaded to a nice cleanup.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2272 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 18:25:32 +00:00
Bart Van Assche
f14cd777f7
Updated script description.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2271 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 16:44:33 +00:00
Bart Van Assche
21225d8d71
Added Jens' block layer optimization patches, resulting in an additional 10% improvement.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2270 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 16:30:20 +00:00
Bart Van Assche
fe82da8cb2
Removed scsi host lock entirely from the command queueing path. Improves
...
maximum IOPS by about 2.5%.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2269 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 15:58:44 +00:00
Bart Van Assche
99bfb0c117
Build ibmvstgt.ko too on PowerPC systems.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2268 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 11:03:57 +00:00
Bart Van Assche
b46575a6ee
Builds now on PowerPC systems too.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2267 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 10:33:08 +00:00
Bart Van Assche
b638590476
Removed automatically generated Signed-off-by: ... line.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2266 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 09:17:01 +00:00
Bart Van Assche
e99d621185
Fixed bug in handling of #else statements matching an #if statement that could
...
be evaluated partially.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2265 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 09:16:26 +00:00
Bart Van Assche
e10b167288
Added --no-tree option to checkpatch such that checkpatch does not check for the Signed-off-by: ... line.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2264 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 09:05:49 +00:00
Bart Van Assche
36bd458d57
Further diff minimizing.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2263 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 20:45:09 +00:00
Bart Van Assche
1b3fff1df4
Moved scsi_tgt removal to a separate patch.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2262 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 20:44:39 +00:00
Bart Van Assche
9ece28c4f5
Added an additional expression to the list of recognized expressions.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2261 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 20:44:02 +00:00
Mark Buechler
1c9d0cf043
- Fix init script for qla2x00t
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2259 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 20:27:46 +00:00
Bart Van Assche
0ed0b1f709
Reapplied r2249 (was lost by moving constants from scst.h to scst_const.h.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2257 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 20:21:28 +00:00
Mark Buechler
5425237908
- Last commit should have been 'Disable driver on clear_config'. Remove debugging code.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2256 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 20:16:32 +00:00
Mark Buechler
dcd3ebb285
- Disable targets on -clear_config.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2255 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 20:13:31 +00:00
Bart Van Assche
6e35445b98
Moved the UNMAP and BLKDISCARD definitions from scst.h to scst_const.h.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2254 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 19:39:40 +00:00
Bart Van Assche
7dd5436e15
Fixed a checkpatch complaint about whitespace.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2253 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 19:32:44 +00:00
Vladislav Bolkhovitin
83e1bd97da
As is clear from the output of the nightly build, sparse goes crazy on the
...
current scst_vdisk.c code: it reports 99 times "cast removes address space of
expression" on the same scst_vdisk.c line before giving up. The patch below
makes sparse stop complaining on scst_vdisk.c.
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2251 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 19:21:35 +00:00
Vladislav Bolkhovitin
02f27457c0
Update sample scripts to run scstadmin
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2250 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 19:15:56 +00:00
Bart Van Assche
50f64cc7ca
Builds now on 2.6.27 too.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2249 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 19:15:14 +00:00
Bart Van Assche
986844622a
Fixed a performance regression caused by r2109.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2248 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 19:07:17 +00:00
Bart Van Assche
bc2d0d32f1
Builds now with procfs enabled too / fixed two compiler warnings.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2247 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 18:08:24 +00:00
Bart Van Assche
e77a5e5072
Build fix.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2246 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 18:01:57 +00:00
Bart Van Assche
487a846ef8
Follow-up for r2216: made sure that scst_vdisk.c compiles again on kernels before 2.6.33.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2245 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 17:59:42 +00:00
Bart Van Assche
fc27d91219
Fixed a mismatch between a format string and its argument list (was reported by sparse).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2244 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 17:23:37 +00:00
Mark Buechler
f519990ab2
- Add README.iscsi in init.d.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2243 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 17:11:31 +00:00