8786 Commits

Author SHA1 Message Date
Vladislav Bolkhovitin
e8b529b074 - Makes sessions registration/unregistration independant from other activities
- Cleanups
 - Docs update


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@236 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-12-14 16:51:36 +00:00
Vladislav Bolkhovitin
70f471427a Minor fixes and improvements
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@235 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-12-14 16:43:23 +00:00
Vladislav Bolkhovitin
2c263786c2 Perf/release patches fixes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@234 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-12-13 18:33:30 +00:00
Vladislav Bolkhovitin
1e18aabf3a - Implement SN based iSCSI IO flow control
- ABORT_CONSIDER_FINISHED_TASKS_AS_NOT_EXISTING compilation symbol added
 - TM fixes and cleanups
 - Fixes crash on modprobe with some real devices


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@233 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-12-13 18:28:34 +00:00
Vladislav Bolkhovitin
eb2a55ef21 - Fixed incorrect residual on internal BUSY replies
- Cleanups and ChangeLog updates


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@232 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-12-12 16:06:47 +00:00
Vladislav Bolkhovitin
513b742628 Fixed possible crash if tgt module rmmod'ed under load
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@231 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-12-11 10:51:08 +00:00
Vladislav Bolkhovitin
40a40b2038 Post r227 fixes and cleanups. Particulary, fixes brocken by it scst_user functionality and release/perf builds
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@230 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-12-10 12:09:07 +00:00
Stanislaw Gruszka
8fc11f1234 Pass delivery status to SCST.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@229 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-12-10 11:53:05 +00:00
Vladislav Bolkhovitin
f92d4bdfea Patch from Vu Pham <huongvp@yahoo.com>:
We currently have multiple scst targets with exported fileio or blockio luns using the same files or block devices.
These fileio or blockio luns end up to have the same lun ID (dev_id_num), linux dm-multipath  recognizes them as same lun (because of lun ID) with different paths which is wrong. It should be multiple separated luns from different scst targets. 


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@228 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-12-07 17:32:33 +00:00
Vladislav Bolkhovitin
d33edb6ba3 Simple bugfix for concurrent work of several targets, which eventually turned out in a massive cleanup and fixes.
Particularly:
 - Added ability for target drivers to set result of command's status delvery to initiator (see scst_set_delivery_status())
 - Added ability for user space devices set some mode page parameters to make SCST core behave correspondingly
 - TM improvements
 - Few possible crashes fixed
 - Logging improvements
 - Performance improvements
 - Docs updates


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@227 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-12-07 17:00:42 +00:00
Vladislav Bolkhovitin
8555992770 Patch from Krzysztof Blaszkowski <kb@sysmikro.com.pl>: Let SLAB decide amount of pages per slab
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@226 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-11-26 16:47:16 +00:00
Vladislav Bolkhovitin
1fb8175c51 - Fixes build problem in perf mode
- Switches between debug modes made as Makefile targets, thanks Tomasz Chmielewski <mangoo@wpkg.org> for idea


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@225 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-11-26 16:23:50 +00:00
Vladislav Bolkhovitin
ee02bbf582 Fixes crash on reservation conflict + some cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@224 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-11-16 18:46:02 +00:00
Vladislav Bolkhovitin
fb3a9201cc - Fixes hang in TCP CLOSE/CLOSE_WAIT stages
- Minor debug improvements


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@223 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-11-15 16:12:08 +00:00
Vladislav Bolkhovitin
93e0f56a01 Fixes race found by Anton Novodvorsky <anovodvorsky@gmail.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@222 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-11-15 15:54:53 +00:00
Vladislav Bolkhovitin
ffb60ac8fc Now if iSCSI daemon fails to load config file, it fails to load.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@221 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-11-13 17:28:28 +00:00
Vladislav Bolkhovitin
2de18c7c7a - Now iSCSI target service load considered successful if at least one listen socket was successfully open and setup
- Minor race on BLOCKIO requests submittion was fixed
 - Other minor fixes and cleanups


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@220 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-11-12 11:21:54 +00:00
Mark Buechler
ae6f85074d - Fixed config file parsing for null groups when a group
name was the same as an assignment immediately following
  it.
- Added support for undefined groups at the time of assignment.
  If a given group does not exist, an empty group will be
  created and a warning will be issued.
- Make method cleanupString() in SCST::SCST private.
- Minor updates.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@219 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-11-07 19:00:58 +00:00
Vladislav Bolkhovitin
406a0dc9a6 Fixes regression introduced in r209
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@218 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-11-07 15:28:43 +00:00
Vladislav Bolkhovitin
602b9a8c58 Minor pass-through related fixes and logging improvelemnts
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@217 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-11-02 19:20:59 +00:00
Stanislaw Gruszka
9fbca126b3 remove no_autosense workaround
on receive check if all data was transferred before pass it to scst


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@216 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-11-02 11:02:50 +00:00
Stanislaw Gruszka
8c1327661b synchronize with feral cvs repository, this time Matthew fix autosense problems :-)
+ The 24XX code in isp_target_start_ctio was setting the wrong values 
to set SENSE LENGTH VALID for the FCP RSPNS IU.

+ Amusingly enough, this apparently didn't matter. In fact, once sense 
data was being put into the ct7_entry_t there was *still* a problem 
and REQUEST SENSE was being sent by the Linux initiator.

+ What *was* happening is that the 24XX requries the response data to
be 32 bit swapped. This is not obvious from the chip documents.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@215 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-11-02 08:43:47 +00:00
Vladislav Bolkhovitin
71592f2cac Cleanups, debug imporvements and minor fixes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@214 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-11-01 17:07:07 +00:00
Vladislav Bolkhovitin
053d7a8753 - Patch from Tomasz Chmielewski <mangoo@wpkg.org>: fixes incorrect shutdown on Debian systems.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@213 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-10-26 15:58:50 +00:00
Vladislav Bolkhovitin
9120a41d61 - Fixed ignoring errors on the service start. Reported by Tomasz Chmielewski <mangoo@wpkg.org>
- Minor fixes


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@212 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-10-25 16:19:40 +00:00
Vladislav Bolkhovitin
4685895276 - Fixed typos noticed by Tomasz Chmielewski
- Forgotten fixes for previous commit
--Tohis line, and those below, will be ignored--

M    trunk/iscsi-scst/kernel/patches/put_page_callback-2.6.16.29.patch
M    trunk/iscsi-scst/kernel/patches/put_page_callback-2.6.21.1.patch
M    trunk/iscsi-scst/kernel/patches/put_page_callback-2.6.22.patch
M    trunk/iscsi-scst/kernel/patches/put_page_callback-2.6.23.patch
M    trunk/iscsi-scst/kernel/patches/put_page_callback-2.6.18.1.patch
M    trunk/scst-full_perf.patch
M    trunk/scst-release.patch


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@211 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-10-25 10:46:29 +00:00
Vladislav Bolkhovitin
3e3ff59ca8 - Cleanups and fixes in transfer length and direction processing.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@210 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-10-25 09:54:00 +00:00
Vladislav Bolkhovitin
ec6f11c514 Update to work on 2.6.23+ kernels + some other related fixes and updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@209 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-10-23 15:35:20 +00:00
Stanislaw Gruszka
463fe3ac7f remove not necessary linux 2.4 Makefiles, isp stops support 2.4
update copyrights (GPLv3 avoidance)


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@208 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-10-23 09:51:55 +00:00
Stanislaw Gruszka
b1e8b56a2f update installation instructions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@207 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-10-23 09:26:21 +00:00
Stanislaw Gruszka
63032f29d8 synchronize with feral cvs repository
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@206 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-10-23 08:57:16 +00:00
Vladislav Bolkhovitin
1d77a72af3 - Fixed BUG() with put_page_callback patch for network hardware without TX offload
- Fixed 2 corner cases crashes with disabled pass-through devices
 - Docs updated


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@205 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-10-18 10:12:34 +00:00
Vladislav Bolkhovitin
a8c124da1b - Fixes 2 shutdown problems
- Cosmetics


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@204 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-10-02 15:04:04 +00:00
Vladislav Bolkhovitin
a779f1a343 Fixes possible double release
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@203 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-10-01 08:10:31 +00:00
Vladislav Bolkhovitin
3d7c4fe1be - Fixed closing connection related race
- Minor cleanups 


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@202 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-09-28 13:58:27 +00:00
Vladislav Bolkhovitin
3a27584573 - Put_page patches remaned to correspond with the full kernel versions, for which they were created
- Minor cleanups 


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@201 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-09-28 13:57:06 +00:00
Vladislav Bolkhovitin
5380955523 - Increased INCOMING_MAX as suggested in http://blog.wpkg.org/2007/09/09/solving-reliability-and-scalability-problems-with-iscsi/.
- Minor Makefile fixes


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@200 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-09-25 13:39:25 +00:00
Vladislav Bolkhovitin
455778bf10 - Fixes memory leaks in scst_user spotted by new SGV cache backend
- Version changed on -pre3
 - Minor fixes and cosmetics


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@199 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-09-25 09:52:53 +00:00
Vladislav Bolkhovitin
a61f896dd3 - Fixes commands leak in case of, e.g., QUEUE FULL status returned, because of uninitialised cmd->sn.
- HEAD OF QUEUE commands processing simplified to fix known problems
 - Cosmetics 


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@198 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-09-25 09:46:36 +00:00
Vladislav Bolkhovitin
c5469e6126 - Patch from Krzysztof Blaszkowski <kb@sysmikro.com.pl> with some cosmetics: fixes sometimes incorrect active_pages_total accounting
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@197 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-09-25 09:39:04 +00:00
Vladislav Bolkhovitin
55ae59599b - Fixes wrong IRQ-safe/IRQ-unsafe locking dependancy spotted by lockdep: scst_check_local_events() must not be called with IRQs disabled
- Cosmetics 


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@196 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-09-25 09:36:27 +00:00
Vladislav Bolkhovitin
d941e7f77a Debug mode switch scripts made executable
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@195 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-09-25 09:34:37 +00:00
Vladislav Bolkhovitin
cc0a16b959 - Docs updated
- Switches debug<->performance<->release builds added
 - Cosmetics 

A    trunk/usr-full_perf.patch
M    trunk/iscsi-scst/README
A    trunk/iscsi-full_perf.patch
A    trunk/debug2perf
A    trunk/perf2debug
A    trunk/usr-release.patch
A    trunk/qla2x00t-full_perf.patch
A    trunk/iscsi-release.patch
A    trunk/scst-full_perf.patch
A    trunk/qla2x00t-release.patch
A    trunk/scst-release.patch
A    trunk/README
A    trunk/usr/fileio/README
A    trunk/debug2release
A    trunk/release2debug
M    trunk/scst/src/scst_lib.c
M    trunk/scst/src/scst_mem.c
M    trunk/scst/README
M    trunk/Makefile


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@194 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-09-25 09:30:12 +00:00
Vladislav Bolkhovitin
154a4eda43 - Patch from Krzysztof Blaszkowski <kb@sysmikro.com.pl>: fixes possible active_pages_total corruption in scst_free() if use_clustering was enabled in scst_alloc().
- Now scst_alloc() always doesn't use clustering. 


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@193 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-09-25 09:20:30 +00:00
Vladislav Bolkhovitin
d7dc51c031 - Patch from Krzysztof Blaszkowski <kb@sysmikro.com.pl> with cosmetic cleanups by me. It implements new SGV cache low memory management backend with memory flow control facility
- Version changed to -pre3 


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@192 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-09-25 09:17:16 +00:00
Vladislav Bolkhovitin
205bf6c973 - Patch from Krzysztof Blaszkowski: move SGV cache /proc support in the scst_mem.c
- Minor doc fix


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@191 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-09-25 09:11:08 +00:00
Vladislav Bolkhovitin
d2799ea8fa Fix from Jianxi Chen <pacers@users.sourceforge.net>, which fixes problem with devices >2TB in size
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@190 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-09-24 16:07:04 +00:00
Vladislav Bolkhovitin
4f79d58a3c - Patch from Aravind Parchuri <aravind.parchuri@gmail.com> with some my modifications:
* Allows LSI MPT target driver to compile on kernels >2.6.15
   * Changes the way how gettid() syscall gate implemented
 - Small doc update


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@189 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-09-19 09:19:29 +00:00
Stanislaw Gruszka
d2aa9c0ac1 In cases when we load driver and initiator send some events like LIP, we may
not be ready to ack event and finally there is oops in interrupt. Fix this.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@188 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-09-18 06:21:41 +00:00
Stanislaw Gruszka
b10fbd2b80 Request irq after pci initialization is finished.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@187 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-09-12 14:11:45 +00:00