Vladislav Bolkhovitin
4e53e166b4
- Some reference leaks fixed
...
- Updated to compile on pre-2.6.25 kernels
- Small docs updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1570 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-30 11:28:20 +00:00
Bart Van Assche
f2b01c8595
Converted function, enum and struct documentation to kernel-doc style.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1569 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-27 10:40:13 +00:00
Bart Van Assche
53a9bad357
Fixed several compiler and checkpatch warnings.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1568 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-27 08:46:06 +00:00
Bart Van Assche
b0cf40d013
Fixed checkpatch complaints about whitespace.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1567 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-27 08:45:18 +00:00
Bart Van Assche
9df6e66097
Removed trailing whitespace.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1566 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-27 08:27:21 +00:00
Vladislav Bolkhovitin
a93d5b593e
Small cleanups and improvements
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1565 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-26 19:46:41 +00:00
Vladislav Bolkhovitin
168f4c3335
Document that the io_context patch isn't needed anymore
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1564 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-25 19:47:28 +00:00
Vladislav Bolkhovitin
08e7c3fba6
Great threads handling and performance improvements:
...
- io_context not needed anymore
- Now threads pool can be per session
- Each device now can have own type of threads pool with own threads count
+ docs updates and some cleanups and minor fixes.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1563 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-25 19:43:41 +00:00
Vladislav Bolkhovitin
cdebb360f6
Small web fixes
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1562 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-23 14:08:17 +00:00
Vladislav Bolkhovitin
70615e2dc3
dos2unix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1561 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-19 11:47:42 +00:00
Vladislav Bolkhovitin
1d4d2e85b5
Fix minor mistake
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1560 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-19 11:44:39 +00:00
Vladislav Bolkhovitin
e995fc514c
Addressing method docs updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1559 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-18 19:29:31 +00:00
Vladislav Bolkhovitin
9c5142e3b8
Deeply reworked patch from Mehmet Ali Cer <mehmet.ali.cer@gmail.com> implementing flat LUNs addressing methods required by some operation systems.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1558 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-18 18:17:06 +00:00
Vladislav Bolkhovitin
9a240380eb
Remake CONFIG_SCST_STRICT_SERIALIZING in a more simple and straightforward way using ORDERED attribute
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1557 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-18 12:05:11 +00:00
Vladislav Bolkhovitin
1f216064f3
Uniform max queue depth handling in iSCSI
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1556 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-18 11:44:39 +00:00
Vladislav Bolkhovitin
2fcee2a380
Fix for possible requirsive target_mutex taking
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1554 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-17 19:41:16 +00:00
Vladislav Bolkhovitin
cbaab260f1
Add new scst_cmd_get_queue_type()/scst_cmd_set_queue_type() accessors and use them in target drivers instead of direct access to SCST's cmd->queue_type.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1553 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-17 19:11:18 +00:00
Vladislav Bolkhovitin
ec832bca75
Fix copy_to_user()/copy_from_user() wrong reeturn value processing
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1552 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-17 18:45:23 +00:00
Vladislav Bolkhovitin
20efd3bc3e
Some speedup for massive targets deletions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1549 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-17 18:05:31 +00:00
Vladislav Bolkhovitin
68f4ab3fad
Set bufflen for not expected transfer len case to max to allow, e.g., to get immediate iSCSI data. Otherwise, the iSCSI target will get a too low buffer error and have to close connection.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1548 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-17 17:40:17 +00:00
Vladislav Bolkhovitin
276a5659a9
Patch from Alexey Obitotskiy <alexeyo1@open-e.com> (with changes) implementing support limiting number of sessions for a target (MaxSessions)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1547 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-17 14:03:41 +00:00
Vladislav Bolkhovitin
dc3f4265c9
Key mark for explicit confirmations added
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1546 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-17 12:56:35 +00:00
Vladislav Bolkhovitin
95bdae04a4
Minor docs update
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1545 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-17 12:48:21 +00:00
Vladislav Bolkhovitin
063b1f9d71
Web updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1544 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-16 18:38:13 +00:00
Bart Van Assche
b05d967c8a
Clarified a source code comment.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1543 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-15 19:25:29 +00:00
Vladislav Bolkhovitin
ab5da422b8
- SysfsRules file added
...
- Other docs updated
- ini_group renamed to ini_groups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1542 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-13 11:59:24 +00:00
Vladislav Bolkhovitin
2dd3f7676b
Small docs updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1541 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-10 17:57:39 +00:00
Vladislav Bolkhovitin
129bf5e431
- Limit devices names to avoid confusions with truncated names
...
- For sysfs build remove scst_vdisk_ID module parameter and introduce setup_id sysfs attribute with the same goal
- Minor fixes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1540 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-10 12:51:04 +00:00
Vladislav Bolkhovitin
17db798a36
Make enable_target() interface more clear
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1539 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-10 11:56:15 +00:00
Vladislav Bolkhovitin
256b25cc0f
- Dev handler sysfs interface changed to match new unified rules
...
- Docs updated
- Other minor fixes, improvements and cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1538 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-09 19:36:48 +00:00
Vladislav Bolkhovitin
157a65737c
Remove accidental double cmnd_exec_logout() call noticed by Alexey Obitotskiy <alexeyo1@open-e.com>
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1537 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-09 11:21:27 +00:00
Vladislav Bolkhovitin
b9d4a45cca
This patch allows for SCST_USER_PARSE to return status and abort commands execution on the parse stage.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1536 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-09 11:13:50 +00:00
Vladislav Bolkhovitin
528414e67f
Patch from Alexey Obitotskiy <alexeyo1@open-e.com> implementing EUI-64 identifier for 0x83 VPD page
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1535 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-05 17:53:27 +00:00
Vladislav Bolkhovitin
82ef8e1ee1
Forgotted piece of noop -> nop rename
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1534 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-05 13:09:30 +00:00
Vladislav Bolkhovitin
88e5601df0
Deeply reworked patch from Alexey Obitotskiy <alexeyo1@open-e.com> implementing support for sending NOP-In requests
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1533 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-05 12:56:20 +00:00
Bart Van Assche
e56b672502
Updated error messages -- req_lim < 0 is not an internal error but can be caused by a buggy initiator.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1532 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-03 19:36:05 +00:00
Bart Van Assche
a32e120e21
Added missing space in an error message.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1531 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-03 19:29:37 +00:00
Vladislav Bolkhovitin
2651efc87e
If a device set read-only in a security group, it should also be reported in MODE SENSE
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1530 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-03 10:57:53 +00:00
Vladislav Bolkhovitin
85aa95c415
Follow up to the previous commit
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1529 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-02 17:58:44 +00:00
Vladislav Bolkhovitin
eba1edba31
- Makes initial pass-through devices checks less strict. The main reason for that is because not all devices comply SCSI requirements too well.
...
- Workarounds in vdisk readv/writev limitation to process only limited number of entries per call
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1528 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-02 17:32:23 +00:00
Vladislav Bolkhovitin
6463e79a7c
Fixes crash on very big buffers allocations reported by Matteo Tescione <matteo@rmnet.it> and others
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1527 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-01 19:41:14 +00:00
Joe Eykholt
a041986db3
fcst: fix abort handling
...
Call scst_tgt_cmd_done() on aborted commands.
Signed-off-by: Joe Eykholt <jeykholt@cisco.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1526 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-01 18:35:36 +00:00
Bart Van Assche
5dc06c26de
scripts/run-regression-tests works now for the 2.6.33 kernel too.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1525 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-01 17:32:38 +00:00
Vladislav Bolkhovitin
9c02ed26c7
Update for 2.6.33
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1524 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-01 15:56:31 +00:00
Vladislav Bolkhovitin
5f973827df
Patch from Alexey Obitotskiy <alexeyo1@open-e.com> with cleanups and fixes implementing setting and managing relative target IDs.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1523 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-01 13:38:06 +00:00
Joe Eykholt
5d2da8b297
fcst: set max_hw_pending_time
...
The target template max_hw_pending_time was zero, causing
premature timeouts and a fast retry in scst_hw_pending_work_fn().
Set it to 20 seconds, like qla2x00t does, for now.
It could be the wrong thing for tape, but should be
plenty long enough for disks.
Signed-off-by: Joe Eykholt <jeykholt@cisco.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1522 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-02-25 18:23:23 +00:00
Vladislav Bolkhovitin
0c0a734968
A set of startup scripts for Gentoo customized by Scott R. Bowe <scottb@sentania.net>
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1521 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-02-25 14:14:23 +00:00
Vladislav Bolkhovitin
713410951b
Minor fixes and cleanups
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1520 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-02-25 13:37:56 +00:00
Vladislav Bolkhovitin
968f9aa146
Property svn:ignore set
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1519 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-02-25 11:33:24 +00:00
Bart Van Assche
93e5dcab3c
Removed trailing whitespace because checkpatch complained about it.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1518 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-02-21 19:30:39 +00:00