Commit Graph

777 Commits

Author SHA1 Message Date
Vladislav Bolkhovitin dc99e60a1b Web updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@807 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-27 21:01:09 +00:00
Mark Buechler 9f0161b78d - Minor change - Change 'since' to 'for' in ChangeLog so the version isn't misleading.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@806 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-27 19:53:10 +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
Bart Van Assche c712d12f40 The function srpt_cm_req_recv() now returns an error code instead of 0
when an SRP login request is rejected. This fixes a memory leak: the
InfiniBand core (drivers/infiniband/core/cm.c) only calls cm_free_work()
when the registered cm_handler function, i.e. srpt_cm_req_recv()
returns an error code. This patch has been submitted by by Frank Zago.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@800 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-26 09:10:52 +00:00
Bart Van Assche c3d3378bc2 Made show_login_info() work for InfiniBand HCA's with more than two
ports. show_login_info() produces the information that can be retrieved
from /sys/class/infiniband_srpt/srpt-*/login_info. Note: as of today
there do not yet exist any InfiniBand HCA's with more than two ports.
Thanks to Frank Zago for reporting this issue.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@799 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-26 08:39:06 +00:00
Vladislav Bolkhovitin e822d1e8a0 Compatibility patch for pre-2.6.26 kernels added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@798 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-24 18:56:32 +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
Stanislaw Gruszka cfb897c6c1 Reapply r689 (dropped in r742) to fix CentOS compilation. Thanks Smadar Gonen.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@795 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-23 19:52:51 +00:00
Stanislaw Gruszka 1bb5ee306a Rewrite way we disable target. We need to care for pending commands to free all
resources when user disable target mode. Currently we block receiving any new
commands from low level driver, wait for SCST to finish processing all queued
commands and then disable target mode in the device. This way we cope with all
possible races and lacks when target is disabled. Thanks to Smadar Gonen!


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@794 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-23 19:37:40 +00:00
Vladislav Bolkhovitin 102603f46d We can't mark sess as shutting down in close_conn(), because at that time it might have pending commands. Otherwise, in case of reinstatement 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/trunk@792 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-21 18:25:46 +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 a6f1ae6c17 Copyrights updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@789 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-20 10:49:59 +00:00
Bart Van Assche 3e61c8b59e Bug fix: undefined macro's, e.g. RHEL_RELEASE_CODE, expand to the empty
string. The substitution for RHEL_RELEASE_CODE when it was not defined
was missing.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@788 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-18 09:12:39 +00:00
Mark Buechler a727afe5e0 - Added -resyncdev option to work with the new SCST resync_size option.
- SCST.pm: Added resyncDevice()
- SCST.pm: General cleanup.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@784 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-16 17:16:40 +00:00
Vladislav Bolkhovitin 55f5cdee8d Web updates, mostly keywords and titles, thanks to Daniel Fernandes <dfernandes1978@hotmail.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@783 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-16 13:50:09 +00:00
Stanislaw Gruszka 8bf107d9fb Allow to compile with modern gcc-4.x compiler, which make some sophisticated
loop optimizations.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@782 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-16 11:57:46 +00:00
Dotan Barak 7863eed840 A bit of brushing up to put library like functions in isp_library.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@781 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-14 22:19:26 +00:00
Stanislaw Gruszka a2664a8d2b - Disallow to pass command to low level driver when we user is disabling target
mode (protect by disable_sem).
- Fix parentheses in unlikely statement.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@780 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-14 20:25:20 +00:00
Stanislaw Gruszka a85f34be79 Make debug messages more informative when more than one port are used.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@779 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-14 20:18:39 +00:00
Mark Buechler f85d726683 Small fix..
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@778 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-14 20:06:27 +00:00
Stanislaw Gruszka 348824b6a3 Add firmware state, loop state, topology and link speed human readable
information to procfs.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@777 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-14 20:05:52 +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 e7d30d796a Web updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@773 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-14 16:31:19 +00:00
Vladislav Bolkhovitin 491bb7e16b Patch from andy yan <andyysj@gmail.com>:
Target driver for Marvell 88SE64xx(3G) and 88SE94xx(6G) SAS cards



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@772 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-14 16:00:08 +00:00
Vladislav Bolkhovitin 34e030648b Web updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@771 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-14 15:58:27 +00:00
Vladislav Bolkhovitin d8676c13de Web updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@770 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-14 12:34:35 +00:00
Bart Van Assche f8b0c59cf2 Changes:
- Only send e-mail if any changes were committed in the Subversion
  repository during the last 24 hours.
- E-mail sent by this script now includes the revision numbers of the
  revisions that have been compared by this script.
- Moved section with differences from bottom to top of output.
- Changed diff options from -C1 to -u.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@769 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-11 08:32:15 +00:00
Bart Van Assche bbfce9739f Made ABT_TMPDIR path absolute, and swapped kernel version order.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@768 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-11 08:28:57 +00:00
Bart Van Assche ff4dab4cd2 Moved ABT_TMPDIR from /tmp to .
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@767 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-11 08:20:19 +00:00
Bart Van Assche 9ad7406ef7 Added even more cache flushing.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@766 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-10 18:41:48 +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 8213e1a30a Web updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@763 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-09 09:50:47 +00:00
Bart Van Assche 624c2fb7e3 Flush all caches before starting a test.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@762 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-08 16:35:15 +00:00
Bart Van Assche 5bf646abe4 URL of sparse homepage is now printed in case sparse was not found.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@761 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-08 16:33:55 +00:00
Bart Van Assche 238a4b7f9d Updated ignore list.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@760 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-08 09:50:40 +00:00
Bart Van Assche 33d628b6ed Several small output changes.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@759 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-08 09:49:31 +00:00
Bart Van Assche 29a42b7433 Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@758 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-08 09:15:13 +00:00
Bart Van Assche 411301293a When multiple kernel versions have been specified in the argument list, only run checkpatch and sparse on the first specified kernel version. For the other kernel versions, compile the kernel source code but do not run checkpatch or sparse.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@757 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-08 08:11:06 +00:00
Bart Van Assche fa075b2a77 - Added command-line option -q, which allows to suppress download messages.
- Disabled running "make headers_check" because it produces a lot of output
  with the 2.6.29 kernel, and none of the output applies to SCST.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@756 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-08 07:25:50 +00:00
Bart Van Assche 92fd6d40f2 Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@755 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-07 17:28:14 +00:00
Vladislav Bolkhovitin 479b6bf699 Comparison page updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@754 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-06 15:14:55 +00:00
Vladislav Bolkhovitin 426234630f Missed bits in preventing circular locking dependency between target_mutex and scst_mutex
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@752 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-06 11:19:07 +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 fec41c57ab Comparison between various SCSI targets for Linux added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@750 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-04 18:48:12 +00:00
Bart Van Assche cd881f8729 Check for sparse before starting the regression tests.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@749 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-04 18:03:43 +00:00
Bart Van Assche 1541792b38 Changed usage slightly: kernel versions are now accepted without the switch -k.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@748 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-04 15:14:21 +00:00
Bart Van Assche 5687a49e80 Changes:
- Added command-line options -a, -d, -n and -s.
- If the syntax of the command-line options is incorrect, a usage text
  is displayed.
- Bug fix: log2_io_size is now honored even if the target device is larger
  than the specified size.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@747 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-04-04 09:12:20 +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