Commit Graph

1504 Commits

Author SHA1 Message Date
Vladislav Bolkhovitin
7cdcc6e43a Merge with IET r277: Fix TTT for final PDU. For Text Response it must be ISCSI_RESERVED_TAG.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1646 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 22:28:38 +00:00
Vladislav Bolkhovitin
f025190b53 - Loosly merge of IET r271: fix connection and session leak on connection preparation stages
- Cleanups



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1645 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 22:17:43 +00:00
Vladislav Bolkhovitin
835a346923 Merge of IET r263:
doc/manpages/ietadm.8 states adding a new target with tid=0 is illegal, but
in practice, it is not as it allocates a new tid automatically.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1644 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 18:38:34 +00:00
Vladislav Bolkhovitin
1b861ae336 - Merge of IET r255: cleanup copy & pasted code
- Docs update



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1643 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 18:32:35 +00:00
Vladislav Bolkhovitin
1848b1b15b Merge of IET r240: Fix use of uninitialised data in nl_write()
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1642 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 18:03:08 +00:00
Vladislav Bolkhovitin
eb05cb541e Merge of IET r228: add module version and description
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1641 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 17:56:48 +00:00
Vladislav Bolkhovitin
623c62d339 IET r219: Fixed log_debug to properly evaluate logging level.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1640 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 17:51:50 +00:00
Vladislav Bolkhovitin
df4afc1736 IET r218: set the Final-bit on empty text response PDUs
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1639 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 17:48:33 +00:00
Bart Van Assche
a158f6fbe5 Removed because accepted in mainline kernel.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1637 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 11:02:13 +00:00
Bart Van Assche
ea4588ea60 Updated readahead-2.6.32.patch because of a recent kernel 2.6.32 stable patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1636 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 10:33:37 +00:00
Vladislav Bolkhovitin
5a3dc8e8a8 Let's don't attach to pass-through devices to dev handler by default in the sysfs build
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1635 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-20 19:25:05 +00:00
Vladislav Bolkhovitin
88030d3b1f Minor fixes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1634 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-20 18:42:18 +00:00
Vladislav Bolkhovitin
d27d945c4f Fix for possible crash on unload for kernels below 2.6.25
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1633 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-20 18:05:16 +00:00
Vladislav Bolkhovitin
ab0d13c09c Uniform virtual and pass-through dev handlers for simplicity.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1632 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-20 13:20:47 +00:00
Bart Van Assche
05888f9db0 Un-break the nightly build.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1629 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-16 18:24:56 +00:00
Vladislav Bolkhovitin
23ab28dcc7 Fix preliminary completion of reinstatement pending commands.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1624 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-15 19:51:31 +00:00
Vladislav Bolkhovitin
31da70434d Fixed crash on read-only attributes after manual chmod on them. Reported by Mehmet Ali Cer <mehmet.ali.cer@gmail.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1616 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-14 19:08:40 +00:00
Bart Van Assche
3a7fae9677 Removed trailing whitespace.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1614 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-14 18:03:04 +00:00
Bart Van Assche
fa80e59bdc Updated Subversion ignore list.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1613 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-14 17:44:23 +00:00
Vladislav Bolkhovitin
bc6701c190 Typo fixed noticed by Phil White <phil@philwhite.org>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1612 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-14 12:25:21 +00:00
Vladislav Bolkhovitin
ea66767c25 Minor versionning fixes and comments
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1610 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-13 18:30:53 +00:00
Vladislav Bolkhovitin
ff6d116e49 Minor mainline kernel related fixes and cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1609 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-13 17:25:45 +00:00
Vladislav Bolkhovitin
32082dc44a Small docs update
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1607 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-12 17:38:08 +00:00
Bart Van Assche
70c3602671 Removed trailing whitespace.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1604 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-11 20:08:56 +00:00
Vladislav Bolkhovitin
0b0e104049 - Make internal comments be in the kernel's style
- Minor cleanups



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1603 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-10 19:47:32 +00:00
Vladislav Bolkhovitin
458e83c957 Small docs updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1600 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-09 10:28:50 +00:00
Mark Buechler
80527e905e - Added new scst perl module 0.9.00. Note, this
version does not yet work with scstadmin. Please
  use older scst-0.8.xx. This new module is a complete
  rewite to support sysfs.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1599 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-08 19:30:22 +00:00
Vladislav Bolkhovitin
9449c43bc8 Docs updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1598 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-08 18:28:39 +00:00
Vladislav Bolkhovitin
4d348eb0f9 User's logo fixed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1596 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-08 17:16:06 +00:00
Vladislav Bolkhovitin
4d5aaf047b Copyrights updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1585 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-06 08:57:48 +00:00
Bart Van Assche
12b1d9d57e Changes:
- Process the pattern [01] && defined(...) properly.
- Added command-line option -d (debug) to generate-kernel-patch.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1582 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-04 13:27:24 +00:00
Bart Van Assche
38575b3d34 RHEL 5 / CentOS 5 bug fix: the argument of flush_workqueue() is a workqueue
pointer, not a struct work pointer.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1581 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-04 11:55:37 +00:00
Bart Van Assche
fb9fec14f3 Builds again on RHEL 5.x / CentOS 5.x.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1580 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-04 11:32:02 +00:00
Bart Van Assche
4aadb84528 Added timeout handling for IB completions, in case it would ever happen
that a HCA does not send an IB completion for an RDMA operation or IB send.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1579 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-02 16:38:15 +00:00
Bart Van Assche
9689701186 Updated kernel revisions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1578 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-02 10:41:09 +00:00
Bart Van Assche
eb90a10e48 Updated kernel revisions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1577 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-01 10:54:46 +00:00
Bart Van Assche
4dec24f15c Fixed two more compiler warnings.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1576 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-01 10:53:41 +00:00
Bart Van Assche
2e6b0aef42 Changes:
- Fixed a rare lockup triggered by module removal while I/O was ongoing.
- Made sure that IB cable removal works fine.
- Exported srpt_service_guid via sysfs.
- Made sure that ib_srpt.c compiles fine with #undef CONFIG_SCST_PROC.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1575 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-31 18:04:23 +00:00
Vladislav Bolkhovitin
c7be8ae91d - Improve errors reporting
- Fix minor race for sense buffer allocation



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1574 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-31 11:42:15 +00:00
Vladislav Bolkhovitin
e4ba045c90 Fix for compilaion issue with kernels between .18 < and .25.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1573 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-31 11:10:08 +00:00
Bart Van Assche
fd6d06e3f3 Fixed several compiler warnings.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1572 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-31 09:18:28 +00:00
Bart Van Assche
672c927e1b Fixed a format specification mismatch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1571 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-31 06:51:51 +00:00
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