Commit Graph
762 Commits
Author SHA1 Message Date
Vladislav Bolkhovitin 0075ec260e Limiting MaxOutstandingR2T to 1, because this code is known to crash sometimes. The proper fix is too big for the stable branch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@1413 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-12-24 19:33:16 +00:00
Vladislav Bolkhovitin 0e0c9d1a42 Merge of trunk r1400:
Fix incorrect initialization of scst_mgmt_cmd_stub structure



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@1401 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-12-16 19:27:45 +00:00
Vladislav Bolkhovitin 1587872d58 Merge with r1392:
Patch from Smadar Gonen <smadar.gn@gmail.com> with minor changes fixing race in task managmement code if several TM functions affect the same command on different stages of processing.



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@1393 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-12-15 18:43:19 +00:00
Vladislav Bolkhovitin 18c99cc2cf Merge of r1300:
Fix for the wrong mcmd state assignment if scst_mgmt_translate_lun() returns >0 because of suspending. Found by Gilad / <gilad.public2@gmail.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@1311 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-02 18:43:22 +00:00
Vladislav Bolkhovitin 4b85d299eb Merge of r1201:
Don't call target drivers' on_free_cmd() for internal commands



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@1202 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-12 11:50:49 +00:00
Vladislav Bolkhovitin fae27e736b Merge of 1162:
Possible NULL pointer dereference in vdisk_fsync() noticed by Andrzej Hajderek <andrzej@hajderek.pl> fixed



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@1163 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-02 12:46:19 +00:00
Vladislav Bolkhovitin be9e3f2187 Merge of r1094:
Size of external names, like initiator names, increased.

Thanks to savik@alumni.technion.ac.il for pointing on it.



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@1096 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-15 18:10:39 +00:00
Vladislav Bolkhovitin a6d09fdd28 Versions changed on 1.0.1.2
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@1052 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-08-14 19:22:35 +00:00
Vladislav Bolkhovitin d8fcc078d1 1.0.1.1 release
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@1050 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-08-14 19:18:05 +00:00
Vladislav Bolkhovitin 05e2ad3452 Merge of r1007:
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/branches/1.0.1.x@1008 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-08-04 12:03:53 +00:00
Vladislav Bolkhovitin e843a7c308 Merge of r994:
Patch from Smadar Gonen <smadar.gn@gmail.com> fixing some minor corner cases



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@995 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-31 10:54:25 +00:00
Vladislav Bolkhovitin 5625a82c8a Merge of r972 and r977:
- Fixes a race, which can lead to a hang, if a user space handler with >1 devices gets killed under load

 - Fix double free



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@978 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-27 16:46:00 +00:00
Vladislav Bolkhovitin de285c9c59 Merge of r967-969:
Patch from Smadar Gonen <smadar.gn@gmail.com>

Implements some useful scst_user statistic in /proc

Minor fixes and cleanups

Bart Van Assche <bart.vanassche@gmail.com>:

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/branches/1.0.1.x@973 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-24 18:13:33 +00:00
Vladislav Bolkhovitin 7498cf3669 Merge of r964:
Fixes incorrect errors reporting on devices unregistration.



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@965 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-20 10:47:40 +00:00
Vladislav Bolkhovitin e92f8e4044 Merge of r947:
Removed trailing whitespace.

and r952:

On ppc64, gcc 4.4 spews lots of..

drivers/scsi/qla2xxx/qla_def.h:1485:7: warning: "__LITTLE_ENDIAN" is not defined

Signed-off-by: Dave Jones <davej@redhat.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@960 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-17 10:55:44 +00:00
Vladislav Bolkhovitin fe3f27494e Merge of r955 and 958:
- Fixes possible crash if sgv pools destroyed too early.
 - Fixes race on a scst_user device cleanup



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@959 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-17 10:50:39 +00:00
Vladislav Bolkhovitin 60c6d77ae3 Merge of r946:
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/branches/1.0.1.x@956 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-14 16:59:42 +00:00
Vladislav Bolkhovitin fc087e2be8 Merge of r945:
Fixes wrong usage of parent request's fields in the response.

Reported by Erez Zilber <erezzi.list@gmail.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@954 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-07-14 16:53:13 +00:00
Vladislav Bolkhovitin cd91fa27d2 Merge of r914:
Fix possible crash in scst_copy_sg()



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@915 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-06-19 16:36:34 +00:00
Vladislav Bolkhovitin 84454eed90 Merge of trunk r909-910:
909:

 - Logging improved
 - #warning about io_context patched for pre-2.6.27 kernels improved
 - Docs updated

910:

 - scstadmin docs improved



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@911 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-06-17 17:37:58 +00:00
Vladislav Bolkhovitin 7a31e82bd1 Merge of trunk r894:
Merge of IET r213



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@895 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-06-03 19:22:05 +00:00
Vladislav Bolkhovitin a89f91d935 Merge of r891-892:
- 64-bit cleanups
 - Other monor fixes and cleanups
 - Docs updates



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@893 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-06-03 19:15:35 +00:00
Stanislaw Gruszka df32443b8c Backport r794 into 1.0.1.x branch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@887 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-23 12:05:14 +00:00
Stanislaw Gruszka 1a8a04da88 Add r782 into 1.0.1.x branch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@886 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-23 11:47:24 +00:00
Stanislaw Gruszka 406fef799e Backport r780 to 1.0.1.x branch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@885 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-23 11:45:35 +00:00
Vladislav Bolkhovitin 17bd236720 Merge of a safer version of r870:
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/branches/1.0.1.x@871 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-20 17:24:13 +00:00
Vladislav Bolkhovitin 7d98723641 Merge of r864:
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/branches/1.0.1.x@865 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-19 18:24:18 +00:00
Vladislav Bolkhovitin 2ede51aa5f Merge of r842:
- Error logging improved
 - Docs updates



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@847 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-11 17:40:53 +00:00
Vladislav Bolkhovitin 28b03fb655 Merge of r839:
Fix possible crash with too fast target mode enabling/disabling or module unload



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@845 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-11 17:37:27 +00:00
Dotan Barak 3d28434e81 Worth pulling back into branch- 64 bit Type 3 request usage was massively broken.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@832 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-05-10 17:20:50 +00:00
Vladislav Bolkhovitin 455f0a2d18 Merge of 812 and 806:
- Change in scstadmin/ChangeLog 'since' to 'for' in ChangeLog so the version isn't misleading
 - 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

+

Version updated to 1.0.1.1




git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@813 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-29 11:48:17 +00:00
Vladislav Bolkhovitin b8a01f60a8 Switch to the release mode
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@805 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-27 19:24:32 +00:00
Vladislav Bolkhovitin ab5a518c38 Merge of r803:
- Copyrights updated.
 - Other minor updates



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@804 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-27 19:19:19 +00:00
Vladislav Bolkhovitin ec9eaa9ece Merge of r798:
Compatibility patch for pre-2.6.26 kernels added



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@802 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-27 18:47:07 +00:00
Vladislav Bolkhovitin 735814fb79 Merge of r796:
- 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 increased



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@797 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-24 13:23:00 +00:00
Vladislav Bolkhovitin 4b819775b8 Merge of r792:
We can't mark sess as shutting down in close_conn(), because at that time it might have pending commands. Otherwise, in case of reinstatemen
t it might lead to data corruption, because commands in being reinstated session can be executed after commands in the new session.

Found out by Hari Subramanian <hari@vmware.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@793 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-21 18:29:56 +00:00
Vladislav Bolkhovitin 4293d9c641 Merge of r790:
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/branches/1.0.1.x@791 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-20 20:36:48 +00:00
Mark Buechler d5f266c172 Make recent changes available to 1.0.1.x branch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@787 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-17 18:33:09 +00:00
Vladislav Bolkhovitin a61ac60fb9 Merge of trunk r774
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@775 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-14 17:38:07 +00:00
Vladislav Bolkhovitin fa191c256b Merge of r764
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@765 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-09 10:26:48 +00:00
Vladislav Bolkhovitin 2a3c56b408 Merged r752
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@753 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-06 11:22:45 +00:00
Vladislav Bolkhovitin cb1a583e9f Merge of r739 and r743
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@746 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-03 18:02:18 +00:00
Vladislav Bolkhovitin 34949e6f2d Cleanups and minor, but needed for 1.0.1, fixes
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@745 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-03 17:49:49 +00:00
Dotan Barak 93ed53961f Make it compile on CentOS, or so Vlad asserts.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@741 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-03 00:45:30 +00:00
Vladislav Bolkhovitin dc562ff8b5 Merge of trunk r733-737
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@738 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-02 18:42:34 +00:00
Vladislav Bolkhovitin 36d5d1a19b Docs updated. Changes in iscsi-scst/doc/iscsi-scst-howto.txt made by Bart Van Assche
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@731 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-01 11:53:45 +00:00
Vladislav Bolkhovitin 52c9e6e356 Fixed typo in Q2T_VERSION_CODE
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@730 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-01 11:10:05 +00:00
Vladislav Bolkhovitin ac513cccb6 1.0.1 development freeze. Branch 1.0.1.x created.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@726 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-03-27 20:03:37 +00:00
Vladislav Bolkhovitin eb14f7ca12 ChangeLog and ToDo files updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@725 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-03-27 19:50:23 +00:00
Vladislav Bolkhovitin ddf8e1d499 - Minor fixes in error recovery paths
- Minor cleanups



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@724 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-03-27 12:14:41 +00:00