Vladislav Bolkhovitin
b9cc1d34a2
- Atomic move of a security name from one security group to another implemented
...
- Cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1020 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-08-06 16:28:23 +00:00
Vladislav Bolkhovitin
a65caa9b9b
Automatic sessions reassignment implemented
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1017 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-08-06 11:47:18 +00:00
Vladislav Bolkhovitin
cef4a0ec28
A minor SAM violation fixed.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1010 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-08-04 17:17:16 +00:00
Vladislav Bolkhovitin
01c113dbb4
Patch from Smadar Gonen <smadar.gn@gmail.com>:
...
The following fixes were made:
- Use monotonic clock as time source instead of a real-time clock so change of system time will not affect calculation.
- Init scst_time to 0 + minor display fix.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1007 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-08-04 11:59:15 +00:00
Vladislav Bolkhovitin
3fd8348c46
Patch from Smadar Gonen <smadar.gn@gmail.com> fixing some minor corner cases
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@994 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-31 10:52:40 +00:00
Bart Van Assche
606ef2bea5
Whitespace-only changes: removed trailing whitespace because checkpatch complained about it.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@987 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-29 15:46:46 +00:00
Vladislav Bolkhovitin
d257a9541d
- Possibility to operate with single size entries as well as control of the reclamation time added to the SGV caache
...
- Fileio_tgt updated to be able to use those neww facilities
- Docs updated. Particulary, a new dociment describing the SGV cache added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@986 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-29 12:49:17 +00:00
Bart Van Assche
833d111501
Whitespace-only change: fixed a recently introduced checkpatch error
...
about trailing whitespace.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@983 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-28 07:35:38 +00:00
Vladislav Bolkhovitin
eb144f2e6f
- Implemented abort on timeout of stuck in tgt hardware commands
...
- Cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@979 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-27 16:59:49 +00:00
Vladislav Bolkhovitin
db5fbe625c
Fix double free
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@977 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-27 16:19:10 +00:00
Bart Van Assche
b767ec183d
Removed a trailing space because checkpatch complained about it.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@975 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-25 06:49:04 +00:00
Vladislav Bolkhovitin
784044307a
Fixes a race, which can lead to a hang, if a user space handler with >1 devices gets killed under load
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@972 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-24 17:38:40 +00:00
Vladislav Bolkhovitin
c811b44224
Some controllers seems to hang after receiving MODE SENSE(6) command. This patch adds sending MODE SENSE(10) instead, which can work better. But since this is remained untested, this code is disabled for now.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@970 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-22 10:12:09 +00:00
Bart Van Assche
791c79b18a
Whitespace-only changes: fixed two recently introduced checkpatch errors (code should be indented by tabs / trailing whitespace).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@969 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-22 06:31:30 +00:00
Vladislav Bolkhovitin
67d91f0ab5
Patch from Smadar Gonen <smadar.gn@gmail.com> with some modifications:
...
Minor fixes and cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@968 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-21 17:52:50 +00:00
Vladislav Bolkhovitin
3048e684a3
Patch from Smadar Gonen <smadar.gn@gmail.com>
...
Implements some useful scst_user statistic in /proc
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@967 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-21 17:47:05 +00:00
Vladislav Bolkhovitin
9448f0d436
Fixes incorrect errors reporting on devices unregistration.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@964 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-20 10:34:54 +00:00
Vladislav Bolkhovitin
3ec348004f
Fixes race on a scst_user device cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@958 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-17 10:42:32 +00:00
Vladislav Bolkhovitin
dd235af55c
Fixes possible crash if sgv pools destroyed too early.
...
Reported by Smadar Gonen <smadar.gn@gmail.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@955 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-14 16:56:07 +00:00
Vladislav Bolkhovitin
d29bd7bc2f
Updated version of scsi_exec_async() with important fixes. Particularly:
...
- A bunch of memory corruptions was fixed
- For cases if scst_exec_req_fifo-2.6.30+.patch not applied, implementation from the patch was added to scst_lib.c. So, now for 2.6.30+ kernels scst_exec_req_fifo-2.6.X.patch is optional
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@953 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-14 15:39:57 +00:00
Vladislav Bolkhovitin
d29b6e4f63
The patch below fixes the following checkpatch complaint:
...
ERROR: return is not a function, parentheses are not required
A side effect of this patch is that it makes sure that the return value of
is_report_sg_limitation() is either 0 or 1, and no other integer value.
Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@948 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-10 18:21:11 +00:00
Vladislav Bolkhovitin
87f2720490
Removes unneeded mutex_lock(&scst_mutex), which can't be done on atomic or SIRQ context
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@946 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-10 11:56:51 +00:00
Vladislav Bolkhovitin
37ba91d275
Update for 2.6.30
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@938 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-08 17:27:30 +00:00
Vladislav Bolkhovitin
fb0256ba8a
Small performance optimization: wake up IO/processing threads in LIFO order.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@928 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-06-30 16:13:48 +00:00
Vladislav Bolkhovitin
496aa824f4
Cleanup of use of READ ONLY flag
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@918 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-06-24 12:40:28 +00:00
Vladislav Bolkhovitin
cc3453f142
Cleanup: sess->shutdown_compl made on stack
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@916 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-06-23 12:15:49 +00:00
Vladislav Bolkhovitin
cf296ba80c
Fix possible crash in scst_copy_sg()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@914 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-06-19 16:32:26 +00:00
Vladislav Bolkhovitin
8bbdf3949f
A bunch of minor changes:
...
- Logging improved
- #warning about io_context patched for pre-2.6.27 kernels improved
- Docs updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@909 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-06-17 17:22:17 +00:00
Vladislav Bolkhovitin
75ede9ffb9
- 64-bit cleanups
...
- Other monor fixes and cleanups
- Docs updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@892 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-06-03 19:01:58 +00:00
Vladislav Bolkhovitin
a53c13da95
Fixes possible miss of UCMD_STATE_ON_FREEING event found by Erez Zilber <erezzi.list@gmail.com> + some cleanups
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@870 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-20 17:16:23 +00:00
Bart Van Assche
a9db802731
Removed a trailing tab.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@867 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-20 16:44:23 +00:00
Vladislav Bolkhovitin
0f164fd9a8
Fixes issues cased by recent change of cdb_len to unsigned. Reported by Krzysztof Błaszkowski <kb@sysmikro.com.pl>.
...
Also it adds INIT ELEMENT STATUS WRANGE to the list of known commands.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@864 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-19 18:19:06 +00:00
Vladislav Bolkhovitin
cf327b8009
Minor fixes and cleanups
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@862 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-19 17:56:25 +00:00
Vladislav Bolkhovitin
e061263995
- Necessary cleanups in SGV cache for upcoming improvements. Particularly, all reclaiming management made per-pool, not global as before
...
- Shared between devices caches implemented
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@843 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-11 17:30:47 +00:00
Vladislav Bolkhovitin
1060d45a1f
Patch from frank zago <fzago@systemfabricworks.com> with some modifications. It exposes scst parameters scst_max_cmd_mem and scst_max_dev_cmd_mem as well as vdisk's parameters num_threads and scst_vdisk_ID visible through /sys/module/scst and /sys/module/scst_vdisk correspondingly.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@827 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-08 10:35:24 +00:00
Bart Van Assche
00aa42706f
Fixed checkpatch complaints about whitespace (indentation should use tabs / trailing whitespace).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@821 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-04 19:07:22 +00:00
Vladislav Bolkhovitin
9f2f2e7bd1
- Cleanups and improvements in handling various special commands properties
...
- REQUEST SENSE handling improved
- READ CAPACITY(16) handling improved
- New write_medium member added to scst_user's scst_user_scsi_cmd_reply_parse
- scst_user docs updated
- Other minot cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@816 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-01 19:26:10 +00:00
Vladislav Bolkhovitin
1051eddac7
- Fixes incorrect initiators.allow matching. Reported and tested by Dimitri Puzin <max@psycast.de>.
...
- Fixes handling of tab character during parsing of initiators.allow and initiators.deny files
- IET part of the version updated
- TAGS updated
- Comments in scst_targ.c about long ago gone scst_unregister_session_ex() fixed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@812 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-29 11:29:51 +00:00
Vladislav Bolkhovitin
f572d4ff79
- Copyrights updated.
...
- Other minor updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@803 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-27 19:01:28 +00:00
Bart Van Assche
67d54eafc8
Modified a two-line preprocessor statement into a single-line statement and added a comment that explains why this has been done.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@801 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-26 18:06:10 +00:00
Vladislav Bolkhovitin
22eb47e455
- Fixes BUG: scheduling while atomic
...
- Removes nested allocation, because MAX_LOCKDEP_SUBCLASSES isn't sufficiently high in many cases
- Size for mempools for UAs and sense buffers
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@796 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-24 13:16:38 +00:00
Vladislav Bolkhovitin
4f6c39b81f
Patches from Bart Van Assche <bart.vanassche@gmail.com>:
...
- Fix for trailing whitespaces
- Fix for an error in the iSCSI-SCST howto document.
- Make SCST compile on RHEL 5.3
+ small qla2x00t README update
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@790 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-20 20:32:13 +00:00
Vladislav Bolkhovitin
8c88994bb2
The patch below fixes recently introduced checkpatch complaints on whitespace
...
and also fixes two (false positive) sparse warnings about uninitialized variables.
Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@776 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-14 17:50:11 +00:00
Vladislav Bolkhovitin
7b30ca41cb
- Now during connection and session reinstatements only SCSI commands are delayed until the corresponding reinstatement finished.
...
- TEST UNIT READY made HEAD OF QUEUE to let target don't look dead under high load
- Docs updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@774 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-14 17:29:23 +00:00
Vladislav Bolkhovitin
bf4556ec1c
A bunch of minor fixes and important cleanups. Particularly:
...
- More fixes on circular dependency between target_mutex and scst_mutex
- Docs updated
- Sense handling cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@764 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-09 10:07:31 +00:00
Vladislav Bolkhovitin
fb22b12769
Missed bits in BIDI commands support
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@751 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-06 11:17:22 +00:00
Vladislav Bolkhovitin
e62b39196b
Bidirectional data transfers added
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@744 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-03 17:49:26 +00:00
Vladislav Bolkhovitin
33e1e13494
Docs and logging updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@736 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-02 18:20:15 +00:00
Vladislav Bolkhovitin
5f0de8486c
Fix of leftover from previous debug sessions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@733 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-01 12:15:27 +00:00
Vladislav Bolkhovitin
4bc15527d2
Version number increased
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@729 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-01 11:09:44 +00:00