Commit Graph

  • 106acdb7d6 - Switched to a more traditional error handling style with regard to MAD handler registration: sport->mad_agent is now reset to NULL when MAD handler registration fails. - Fixed bug in srpt_refresh_port(): this function now returns a negative value instead of zero when MAD registration fails. Bart Van Assche 2009-05-21 11:28:09 +00:00
  • 00dcebdb41 Fixed bug that was introduced through the previous commit (r875): a warning message was printed by srpt_remove_one() when sdev != NULL instead of when sdev == NULL. Bart Van Assche 2009-05-21 10:57:20 +00:00
  • b2d0960b57 Moved the code for freeing the ring of I/O context structures to a separate function. Bart Van Assche 2009-05-21 06:54:42 +00:00
  • 2959a19435 Moved the code for unregistering the MAD agent into a separate function. Bart Van Assche 2009-05-21 06:33:38 +00:00
  • 17bd236720 Merge of a safer version of r870: Vladislav Bolkhovitin 2009-05-20 17:24:13 +00:00
  • a53c13da95 Fixes possible miss of UCMD_STATE_ON_FREEING event found by Erez Zilber <erezzi.list@gmail.com> + some cleanups Vladislav Bolkhovitin 2009-05-20 17:16:23 +00:00
  • 5266dcd63b Updated kernel versions. Bart Van Assche 2009-05-20 16:50:24 +00:00
  • 706eee64fd Only apply patch d9ad8bc0ca823705413f75b50c442a88cc518b35 to kernels 2.6.29 up to and including 2.6.29.3 since this patch is included in 2.6.29.4 and higher and also in 2.6.30 and higher. Bart Van Assche 2009-05-20 16:48:14 +00:00
  • a9db802731 Removed a trailing tab. Bart Van Assche 2009-05-20 16:44:23 +00:00
  • 06bdff9f2f Updated kernel versions. Bart Van Assche 2009-05-20 15:47:14 +00:00
  • 7d98723641 Merge of r864: Vladislav Bolkhovitin 2009-05-19 18:24:18 +00:00
  • 0f164fd9a8 Fixes issues cased by recent change of cdb_len to unsigned. Reported by Krzysztof Błaszkowski <kb@sysmikro.com.pl>. Vladislav Bolkhovitin 2009-05-19 18:19:06 +00:00
  • 7617a71367 Added more comments. Bart Van Assche 2009-05-19 17:58:06 +00:00
  • cf327b8009 Minor fixes and cleanups Vladislav Bolkhovitin 2009-05-19 17:56:25 +00:00
  • 5347e3f509 Reverted r857 because the coding style of r856 is believed to be what is expected upstream instead of the coding style of r857. Bart Van Assche 2009-05-19 16:41:09 +00:00
  • 0013da36a6 Changes suggested by Sam Haxor <generationgnu@yahoo.com> Vladislav Bolkhovitin 2009-05-18 18:09:35 +00:00
  • 1e1476089d Web updates. Particularly, scst_pg has changes suggested by Sam Haxor <generationgnu@yahoo.com> Vladislav Bolkhovitin 2009-05-18 18:08:04 +00:00
  • f3d5d989ca Cleaned up changes introduced in r855. Bart Van Assche 2009-05-16 11:24:45 +00:00
  • 812d04fa03 Added more comments. Bart Van Assche 2009-05-16 11:20:52 +00:00
  • 76bdb860f0 Split srpt_handle_new_iu() in smaller functions. Bart Van Assche 2009-05-16 07:34:41 +00:00
  • 522f356b5e Removed a trailing space because checkpatch complained about it. Bart Van Assche 2009-05-16 07:10:28 +00:00
  • 9fd2646cf0 Add dopey script that can turn a .h firmware file into a loadable binary. Dotan Barak 2009-05-14 02:24:43 +00:00
  • 0f13efa2b1 Added command-line option -r. Bart Van Assche 2009-05-12 18:53:11 +00:00
  • 899450e0cd 1. Fixed some issues with initiator driver. 2. Clean up code. 3. Fixed issue with supporting task management function. 4. Fixed issue with checking and sending sense data. 5. update version to 0.8.3. Andy Yan 2009-05-12 06:54:54 +00:00
  • 0a76a2b21a Updated to do list. Bart Van Assche 2009-05-11 17:55:59 +00:00
  • 2ede51aa5f Merge of r842: Vladislav Bolkhovitin 2009-05-11 17:40:53 +00:00
  • ab943ee30a Scst_user doc updated Vladislav Bolkhovitin 2009-05-11 17:37:55 +00:00
  • 28b03fb655 Merge of r839: Vladislav Bolkhovitin 2009-05-11 17:37:27 +00:00
  • eb2a491ec6 Support for shared between devices caches added Vladislav Bolkhovitin 2009-05-11 17:36:44 +00:00
  • e061263995 - Necessary cleanups in SGV cache for upcoming improvements. Particularly, all reclaiming management made per-pool, not global as before - Shared between devices caches implemented Vladislav Bolkhovitin 2009-05-11 17:30:47 +00:00
  • 1a390f63de - Error logging improved - Docs updates Vladislav Bolkhovitin 2009-05-11 17:26:17 +00:00
  • 1c304091f4 - Data digest SMP scalability imcreased - Iscsi_dump_char() made thread safe Vladislav Bolkhovitin 2009-05-11 17:24:51 +00:00
  • 9414a771d6 Web updates Vladislav Bolkhovitin 2009-05-11 17:19:14 +00:00
  • 286cc2ae94 Fix possible crash with too fast target mode enabling/disabling or module unload Vladislav Bolkhovitin 2009-05-11 17:06:54 +00:00
  • 72f5b47141 Another documentation update. Bart Van Assche 2009-05-10 19:20:58 +00:00
  • 0f132124b9 Added more details. Bart Van Assche 2009-05-10 18:28:09 +00:00
  • 7340819a3f Clarified an error message. Bart Van Assche 2009-05-10 18:25:08 +00:00
  • 63bc07871d Added a variant of the patch for scripts/Makefile.lib. Bart Van Assche 2009-05-10 18:04:57 +00:00
  • 603d81dde4 Documented how to build SCST-SRPT against OFED. Bart Van Assche 2009-05-10 17:31:22 +00:00
  • 9b25c9c44c Updated to do file. Bart Van Assche 2009-05-10 17:29:41 +00:00
  • 3d28434e81 Worth pulling back into branch- 64 bit Type 3 request usage was massively broken. Dotan Barak 2009-05-10 17:20:50 +00:00
  • 3206819128 Fix various buglets that really were seriously bad and resync with FreeBSD tree. Dotan Barak 2009-05-10 17:18:00 +00:00
  • 647f7febc9 Updated kernel revisions. Bart Van Assche 2009-05-09 09:14:21 +00:00
  • 7b199bfe16 Small web mistake fixed Vladislav Bolkhovitin 2009-05-08 17:38:12 +00:00
  • 7b0da19ed1 Web updates Vladislav Bolkhovitin 2009-05-08 17:35:44 +00:00
  • 1060d45a1f Patch from frank zago <fzago@systemfabricworks.com> with some modifications. It exposes scst parameters scst_max_cmd_mem and scst_max_dev_cmd_mem as well as vdisk's parameters num_threads and scst_vdisk_ID visible through /sys/module/scst and /sys/module/scst_vdisk correspondingly. Vladislav Bolkhovitin 2009-05-08 10:35:24 +00:00
  • de7c4222c9 1. Fixed bug - Task frame type setting. 2. Dead lock risk. 3. Null pointer may be used. 4. Alignment issue Andy Yan 2009-05-08 05:40:38 +00:00
  • 0dc942ca13 A lot of microchanges, but actually this means that the FreeBSD port, the SCST port, and the non-SCST Feral port are all more or less in sync. And apparently somewhat functional. Dotan Barak 2009-05-07 01:52:56 +00:00
  • 6425f39dc3 Unfortunately the latest InfiniBand software is not included in Linux distributions but must be installed separately via the OFED package. The patch below makes it easier to compile SCST-SRPT with the OFED kernel headers by disabling the backported <linux/scatterlist.h> macro's when compiling with OFED kernel headers. OFED namely has its own set of backported macro's. OFED kernel headers are detected via the preprocessor symbol __BACKPORT_LINUX_SCATTERLIST_H_TO_2_6_23__, which is defined in the OFED header file <linux/scatterlist.h> only. This patch does not have any effect when compiling SCST on a system where OFED has not been installed. Vladislav Bolkhovitin 2009-05-05 18:58:06 +00:00
  • 69d545d77d Added the equivalent of #undef BACKPORT_LINUX_WORKQUEUE_TO_2_6_19. Bart Van Assche 2009-05-04 20:03:48 +00:00
  • 52d50a5ea7 Removed one OFED installation test because on some distro's it triggers false complaints. Bart Van Assche 2009-05-04 20:02:30 +00:00
  • 00aa42706f Fixed checkpatch complaints about whitespace (indentation should use tabs / trailing whitespace). Bart Van Assche 2009-05-04 19:07:22 +00:00
  • c521377609 ib_srpt.c compiles now on RHEL 5.x systems where OFED has been installed. Bart Van Assche 2009-05-04 18:57:04 +00:00
  • 2f1acab33e Prepend the OFED kernel header paths before the regular kernel header path when compiling on a system where OFED has been installed. Bart Van Assche 2009-05-04 18:55:50 +00:00
  • 7e3360b247 Updated kernel versions to latest stable kernels. Bart Van Assche 2009-05-04 12:06:40 +00:00
  • 90e914fd25 - Removed comments that referred to the 2.4 module build system. - Simplified this Makefile: the target all now directly refers to src/Module.symvers. Removed the phony target Module.symvers. - An error message is now printed if OFED has been built with srpt=y. Bart Van Assche 2009-05-02 12:38:33 +00:00
  • 9f2f2e7bd1 - Cleanups and improvements in handling various special commands properties - REQUEST SENSE handling improved - READ CAPACITY(16) handling improved - New write_medium member added to scst_user's scst_user_scsi_cmd_reply_parse - scst_user docs updated - Other minot cleanups Vladislav Bolkhovitin 2009-05-01 19:26:10 +00:00
  • 19ab352393 Made building against OFED more robust. Bart Van Assche 2009-05-01 19:12:14 +00:00
  • 8f7f3d64cc Added support for compiling scst-srpt on a system where the OFED InfiniBand kernel modules have been installed. Bart Van Assche 2009-05-01 09:24:47 +00:00
  • 455f0a2d18 Merge of 812 and 806: Vladislav Bolkhovitin 2009-04-29 11:48:17 +00:00
  • 1051eddac7 - 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 Vladislav Bolkhovitin 2009-04-29 11:29:51 +00:00
  • 1d96eaaa0b Cersions and web updated Vladislav Bolkhovitin 2009-04-29 11:12:43 +00:00
  • 6179497d51 Web updates, Piwik code added Vladislav Bolkhovitin 2009-04-28 18:11:36 +00:00
  • 904a0ca3b6 Report a skipped nightly build in a status file instead of by echoing text, such that the cron e-mail reporting is not triggered by skipped nightly builds. Bart Van Assche 2009-04-28 11:04:07 +00:00
  • 4a4e78604b Switched from 2.6.29.1 to 2.6.29.2. Bart Van Assche 2009-04-28 11:02:48 +00:00
  • dc99e60a1b Web updates Vladislav Bolkhovitin 2009-04-27 21:01:09 +00:00
  • 9f0161b78d - Minor change - Change 'since' to 'for' in ChangeLog so the version isn't misleading. Mark Buechler 2009-04-27 19:53:10 +00:00
  • b8a01f60a8 Switch to the release mode Vladislav Bolkhovitin 2009-04-27 19:24:32 +00:00
  • ab5a518c38 Merge of r803: Vladislav Bolkhovitin 2009-04-27 19:19:19 +00:00
  • f572d4ff79 - Copyrights updated. - Other minor updates Vladislav Bolkhovitin 2009-04-27 19:01:28 +00:00
  • ec9eaa9ece Merge of r798: Vladislav Bolkhovitin 2009-04-27 18:47:07 +00:00
  • 67d54eafc8 Modified a two-line preprocessor statement into a single-line statement and added a comment that explains why this has been done. Bart Van Assche 2009-04-26 18:06:10 +00:00
  • 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. Bart Van Assche 2009-04-26 09:10:52 +00:00
  • 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. Bart Van Assche 2009-04-26 08:39:06 +00:00
  • e822d1e8a0 Compatibility patch for pre-2.6.26 kernels added Vladislav Bolkhovitin 2009-04-24 18:56:32 +00:00
  • 735814fb79 Merge of r796: Vladislav Bolkhovitin 2009-04-24 13:23:00 +00:00
  • 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 Vladislav Bolkhovitin 2009-04-24 13:16:38 +00:00
  • cfb897c6c1 Reapply r689 (dropped in r742) to fix CentOS compilation. Thanks Smadar Gonen. Stanislaw Gruszka 2009-04-23 19:52:51 +00:00
  • 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! Stanislaw Gruszka 2009-04-23 19:37:40 +00:00
  • 4b819775b8 Merge of r792: Vladislav Bolkhovitin 2009-04-21 18:29:56 +00:00
  • 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. Vladislav Bolkhovitin 2009-04-21 18:25:46 +00:00
  • 4293d9c641 Merge of r790: Vladislav Bolkhovitin 2009-04-20 20:36:48 +00:00
  • 4f6c39b81f Patches from Bart Van Assche <bart.vanassche@gmail.com>: Vladislav Bolkhovitin 2009-04-20 20:32:13 +00:00
  • a6f1ae6c17 Copyrights updated Vladislav Bolkhovitin 2009-04-20 10:49:59 +00:00
  • 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. Bart Van Assche 2009-04-18 09:12:39 +00:00
  • d5f266c172 Make recent changes available to 1.0.1.x branch. Mark Buechler 2009-04-17 18:33:09 +00:00
  • a727afe5e0 - Added -resyncdev option to work with the new SCST resync_size option. - SCST.pm: Added resyncDevice() - SCST.pm: General cleanup. Mark Buechler 2009-04-16 17:16:40 +00:00
  • 55f5cdee8d Web updates, mostly keywords and titles, thanks to Daniel Fernandes <dfernandes1978@hotmail.com> Vladislav Bolkhovitin 2009-04-16 13:50:09 +00:00
  • 8bf107d9fb Allow to compile with modern gcc-4.x compiler, which make some sophisticated loop optimizations. Stanislaw Gruszka 2009-04-16 11:57:46 +00:00
  • 7863eed840 A bit of brushing up to put library like functions in isp_library. Dotan Barak 2009-04-14 22:19:26 +00:00
  • 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. Stanislaw Gruszka 2009-04-14 20:25:20 +00:00
  • a85f34be79 Make debug messages more informative when more than one port are used. Stanislaw Gruszka 2009-04-14 20:18:39 +00:00
  • f85d726683 Small fix.. Mark Buechler 2009-04-14 20:06:27 +00:00
  • 348824b6a3 Add firmware state, loop state, topology and link speed human readable information to procfs. Stanislaw Gruszka 2009-04-14 20:05:52 +00:00
  • 8c88994bb2 The patch below fixes recently introduced checkpatch complaints on whitespace and also fixes two (false positive) sparse warnings about uninitialized variables. Vladislav Bolkhovitin 2009-04-14 17:50:11 +00:00
  • a61ac60fb9 Merge of trunk r774 Vladislav Bolkhovitin 2009-04-14 17:38:07 +00:00
  • 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 Vladislav Bolkhovitin 2009-04-14 17:29:23 +00:00
  • e7d30d796a Web updates Vladislav Bolkhovitin 2009-04-14 16:31:19 +00:00
  • 491bb7e16b Patch from andy yan <andyysj@gmail.com>: Vladislav Bolkhovitin 2009-04-14 16:00:08 +00:00
  • 34e030648b Web updates Vladislav Bolkhovitin 2009-04-14 15:58:27 +00:00