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
Mark Buechler
a75f4f934c
- Disable targets on -clear_config.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2242 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 15:49:59 +00:00
Mark Buechler
6522a519fd
- Small typo fix.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2241 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 15:37:20 +00:00
Mark Buechler
5b9c8b0399
- Don't attempt to read write-only attributes within sessions.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2240 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 15:30:16 +00:00
Mark Buechler
a2e1e877cf
- Better fix for removing virtual targets.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2239 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 15:15:57 +00:00
Mark Buechler
9e1fbc199f
- Fix removing virtual targets.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2238 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 15:07:56 +00:00
Vladislav Bolkhovitin
f9ed5611d8
Fix for incorrect initialization of conn->read_msg.msg_iovlen. But looks like this value is rather ignored in the TCP stack and read_size used instead, so all worked fine.
...
Noticed by yue <ooolinux@163.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2236 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 14:40:32 +00:00
Vladislav Bolkhovitin
c7c2aa55e4
Fix possible crash if expected values not set
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2234 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 12:40:43 +00:00
Vladislav Bolkhovitin
27ba7c24d8
Docs updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2232 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 12:22:02 +00:00
Bart Van Assche
5cdc79b698
Replaced cpu_to_be...() by __constant_cpu_to_be...() where appropriate.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2231 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 07:12:27 +00:00
Bart Van Assche
4a9ed0a7e1
Replaced cpu_to_be...() by __constant_cpu_to_be...() where appropriate.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2230 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 07:10:42 +00:00
Bart Van Assche
11e8dff2fb
ibmvstgt: bug fixes and improvements.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2229 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 06:57:21 +00:00
Bart Van Assche
fe22ac20b1
Removed scsi_tgt.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2228 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 06:56:29 +00:00
Bart Van Assche
30e4ad71ce
Removed scsi_tgt from drivers/scsi/Makefile.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2227 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 06:56:11 +00:00
Vladislav Bolkhovitin
2d9473d073
Scstadmin now can create sessions, so update README
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2224 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 18:57:13 +00:00
Mark Buechler
9d561a8b61
- Add scst_local configuration example for sysfs.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2222 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 18:55:20 +00:00
Mark Buechler
528d2d0c4c
- Fix some minor error reporting issues.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2220 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 18:52:23 +00:00
Vladislav Bolkhovitin
3d85305976
Docs updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2219 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 18:42:47 +00:00
Mark Buechler
7063e142bb
- Add some more output as to what scstadmin is doing as well as better format it.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2217 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 18:40:28 +00:00
Vladislav Bolkhovitin
30b6564f81
Patch from Richard Sharpe <realrichardsharpe@gmail.com> with fixes and improvements implementing UNMAP command
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2216 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 18:10:57 +00:00
Bart Van Assche
508bcb9f33
Removed even more obsolete symbols.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2215 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 16:56:30 +00:00
Mark Buechler
f5ea132ec3
- Update ChangeLog for 2.0.0 release.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2213 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 16:31:05 +00:00
Mark Buechler
2ab16bc1cd
- Remove reference to scst_db in README.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2211 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 16:25:08 +00:00
Mark Buechler
3a8d70b166
- Remove old scst_db stuff which no longer works with even procfs.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2210 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 16:22:51 +00:00
Mark Buechler
11608eb7b3
- Remove invalid example file for older scstadmin using MySQL.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2207 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 16:20:19 +00:00
Mark Buechler
ff5a20335d
- Rename old example config file.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2206 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 16:14:54 +00:00
Bart Van Assche
dd9c6be677
Even more cleanup.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2203 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 13:36:24 +00:00