Commit Graph

  • 84649a0e60 Reverted r1442. Bart Van Assche 2010-08-21 15:58:47 +00:00
  • bf1c208c9e Updated kernel versions. Bart Van Assche 2010-08-21 11:40:56 +00:00
  • e85d77e5b7 Added to repository. Bart Van Assche 2010-08-21 09:44:19 +00:00
  • 010eeb258f Added more error checking. Bart Van Assche 2010-08-21 09:23:25 +00:00
  • a738ab6d51 Added to repository. Bart Van Assche 2010-08-21 09:14:53 +00:00
  • 314c1a5750 Documentation update. Bart Van Assche 2010-08-21 08:45:49 +00:00
  • 6c3b1e55be Corrected an error message. Bart Van Assche 2010-08-21 08:27:28 +00:00
  • d6f3264de7 - Remove device requirement from removeLun(). - Fix a couple cases where -group is not really required. Mark Buechler 2010-08-20 17:58:06 +00:00
  • 03edafeca3 Minor web changes Vladislav Bolkhovitin 2010-08-20 15:46:26 +00:00
  • 1607d12c9c Sysfs cleanups and fixes, part 1 Vladislav Bolkhovitin 2010-08-20 15:38:21 +00:00
  • 21e0babdc2 - Misc fixes to remaining options. Mark Buechler 2010-08-20 15:20:13 +00:00
  • ed9a0bd470 - Added in add_target & rem_target options. Mark Buechler 2010-08-20 14:59:38 +00:00
  • 11a8b8e9c6 Pass-through dev handlers are async, so let's make them single threaded. Vladislav Bolkhovitin 2010-08-19 12:39:26 +00:00
  • f154480e68 - Minor fix for setting attributes which aren't readable. Mark Buechler 2010-08-18 15:28:18 +00:00
  • 95cbc2bbf5 - All list/set attribute options now work. - Adding and removing target & driver attributes now work. Mark Buechler 2010-08-18 15:02:33 +00:00
  • e38cc66c2b Change SCSI_MAX_SG_SEGMENTS to more correct SG_MAX_SINGLE_ALLOC Vladislav Bolkhovitin 2010-08-18 12:59:28 +00:00
  • 25025f3a5a Update docs about kernel versions where BLOCKIO problem (http://lkml.org/lkml/2010/7/28/315) was fixed. Big thanks to Bryan Mesich <bryan.mesich@ndsu.edu>! Vladislav Bolkhovitin 2010-08-17 19:13:00 +00:00
  • 4c2d1b2a1d Bug fix. Bart Van Assche 2010-08-17 19:03:44 +00:00
  • f6cd30ca7c Whitespace-only change: fixed a checkpatch complaint. Bart Van Assche 2010-08-17 17:38:56 +00:00
  • 894190c09e Removed superfluous __attribute__((packed)). Bart Van Assche 2010-08-15 10:02:10 +00:00
  • 5430c22ea6 Updated kernel versions. Bart Van Assche 2010-08-14 15:11:45 +00:00
  • 8ad464eae7 One the advice of Vlad, reworked the change a little ... use spinlocks now and don't hold the lock across the rescan. Richard Sharpe 2010-08-14 06:03:46 +00:00
  • 48bc41083c Patch from Dirk Meister <dmeister@uni-paderborn.de> fixing fprintf parameters Vladislav Bolkhovitin 2010-08-13 18:15:31 +00:00
  • 7eddeb82ab - Some iSCSI performance fixes Vladislav Bolkhovitin 2010-08-13 18:12:45 +00:00
  • c06fb90d75 Process AEN requests. We queue them to a work function. This works, however, there seems to be a problem with the Linux SCSI stack because when we delete a LUN on the target, it does not get deleted from Linux. Still investigating. Richard Sharpe 2010-08-13 04:28:25 +00:00
  • 0b1b395b11 Updated kernel versions. Bart Van Assche 2010-08-11 09:22:24 +00:00
  • 2afc2cc6cf Removed trailing whitespace. Bart Van Assche 2010-08-09 17:55:10 +00:00
  • f9eda93575 More correctly handle residuals according to the guidelines. Richard Sharpe 2010-08-09 14:48:20 +00:00
  • c45aa9a60f 1. Fix for a possible hang on threading model changing 2. Performance improvement on rotating storage Vladislav Bolkhovitin 2010-08-09 10:28:52 +00:00
  • 3f2e2bf09c Added command-line option -r, which allows to specify an alternative recipient e-mail address. Convenient for having output of testruns sent to an alternative e-mail address. Bart Van Assche 2010-08-07 11:06:22 +00:00
  • a31eb3885b Disabled checkpatch run for kernels 2.6.33 and 2.6.34. Bart Van Assche 2010-08-07 07:58:23 +00:00
  • f56dbca167 Added kernel version 2.6.35. Bart Van Assche 2010-08-07 07:57:47 +00:00
  • ed195d5e4f Added more comments. Bart Van Assche 2010-08-06 17:28:04 +00:00
  • 94cf387057 Removed trailing whitespace. Bart Van Assche 2010-08-06 07:05:36 +00:00
  • a93457e2cf Let's proceed as implicit HQ only SIMPLE commands. Vladislav Bolkhovitin 2010-08-05 19:41:52 +00:00
  • 825be22f79 Improve a debugging statement so that it shows the SAS address allocated. Richard Sharpe 2010-08-05 13:57:32 +00:00
  • 2fd1a2ea1f Don't complain when the fcst patch series file is missing. Bart Van Assche 2010-08-05 07:55:26 +00:00
  • b0a7281646 Remove a bunch of unneeded printk lines. Also, this line: Richard Sharpe 2010-08-04 14:22:54 +00:00
  • df49194694 Patch from Joe Eykholt <jeykholt@cisco.com> fixing minor issue with 2.6.35 Vladislav Bolkhovitin 2010-08-04 13:32:43 +00:00
  • c70529a807 Fix minor compiler warning Vladislav Bolkhovitin 2010-08-04 13:30:45 +00:00
  • 9cdef50326 Made sure that the 2.6.35 kernel patches apply cleanly. Bart Van Assche 2010-08-04 09:55:10 +00:00
  • 3d65fe38ee Fixed checkpatch complaints about trailing whitespace. Bart Van Assche 2010-08-04 09:54:24 +00:00
  • a24bd6962a Exclude fcst from the sparse test build if the fcst patch series file is missing. Bart Van Assche 2010-08-04 07:43:57 +00:00
  • 359cdf786a Include support for PR in scst_local.c. We return a SAS-style Protocol ID. I use an OUI that I think is not currently in use, so it seems unlikely that we will clash with anyone else, but you never know. I might have to change it later. Richard Sharpe 2010-08-04 04:03:44 +00:00
  • 7b836c12aa - Add a couple more options to the help screen which will be implemented in the coming days. Mark Buechler 2010-08-03 20:24:48 +00:00
  • 19b3a787ac Add missed comma Vladislav Bolkhovitin 2010-08-03 19:19:39 +00:00
  • 13323936b4 - Better list trace levels. Mark Buechler 2010-08-03 18:50:36 +00:00
  • 819e3ea27e - Fix a bunch of set attribute functions as well as special handling for trace_level. Mark Buechler 2010-08-03 18:46:37 +00:00
  • 05bf0954aa Remove debug print of two obsolete fields. Joe Eykholt 2010-08-03 18:05:29 +00:00
  • 5d84242673 Add patch series for 2.6.35. Joe Eykholt 2010-08-03 18:04:36 +00:00
  • 90357a4cb7 - Finish up list functions, except for list_sessions. - Allow '0' named driver, target, groups, luns and attributes. Mark Buechler 2010-08-03 17:39:05 +00:00
  • 556839b817 Document BLOCKIO regression on kernels 2.6.32+ Vladislav Bolkhovitin 2010-08-03 16:59:37 +00:00
  • f734133e4a - Small fix to list_group. - Fix -list-scst-attr. - Fix -list_dev_attr. Mark Buechler 2010-08-03 16:38:49 +00:00
  • ebeeebf2d2 - Fix list_group. Mark Buechler 2010-08-03 16:15:50 +00:00
  • 078841cbf4 Removed again -- doesn't build. Bart Van Assche 2010-08-03 15:38:57 +00:00
  • 7b839ceaf7 Added to repository. Bart Van Assche 2010-08-03 15:33:45 +00:00
  • a6b0c914b8 Pick the proper fcst patch series file. Bart Van Assche 2010-08-03 15:32:42 +00:00
  • f5d4013804 - Fix list_target. Mark Buechler 2010-08-03 15:08:15 +00:00
  • 27a5feb7e9 - Fix list_driver. Mark Buechler 2010-08-03 15:03:37 +00:00
  • c77d7d62cc - Fix list_handler and build-out list_device. - Small fix to checkConfiguration(). Mark Buechler 2010-08-03 14:59:37 +00:00
  • 4c7079dd3c - Enhance checkConfiguration() a bit. Mark Buechler 2010-08-03 13:44:49 +00:00
  • ed801d13c6 Updated kernel revisions. Bart Van Assche 2010-08-03 13:41:54 +00:00
  • a504344cee Bug fix: process undefined RHEL_MAJOR / RHEL_MINOR macros properly. Bart Van Assche 2010-08-02 18:25:47 +00:00
  • 95000212ed Fixing handling of REQUEST SENSE and INQUIRY for target driver supplied buffers Vladislav Bolkhovitin 2010-08-02 17:59:09 +00:00
  • 05d080488e Small improvements Vladislav Bolkhovitin 2010-08-02 17:58:03 +00:00
  • f28e08fd70 Small web update Vladislav Bolkhovitin 2010-08-02 17:54:19 +00:00
  • 23a55be361 Fixed a compiler warning that was only reported on RHEL 5.x. Bart Van Assche 2010-08-02 17:01:06 +00:00
  • e30376945f Changes: - Made sure that in mode thread=1 not only send completions but also receive completions are processed in thread context. - Merged IB send and receive completion queues again such that both types of completions are processed in a fairly. Bart Van Assche 2010-08-02 16:50:14 +00:00
  • 0cb5524700 Web updates Vladislav Bolkhovitin 2010-08-02 11:57:31 +00:00
  • a851118fe6 Avoid that /sys/module/ib_srpt/parameters/srpt_service_guid contains a double newline. Bart Van Assche 2010-08-01 19:12:34 +00:00
  • 02d6dc9860 Functional changes: - Changed default value for the kernel module parameter thread from 0 to 1 because mode 0 can trigger soft lockup complaints under sufficient load. - Changed default value for the kernel module parameter srpt_autodetect_cred_req from false to true. Non-functional changes: - Removed several superfluous casts in ib_srpt.c. Performance-related changes: - Rearranged if/then/else statements such that the most frequently executed code occurs first. - When SCST_MAX_TGT_DEV_COMMANDS > 128, the SRP receive queue size is now SCST_MAX_TGT_DEV_COMMANDS instead of 128. Bug fixes: - Fixed performance bug in modes thread=0 and 2. - Fixed a bug in IB send queue overflow handling. - Fixed race related to IB completion thread creation (mode thread=1). - Made sure that the following warning is no longer triggered during module removal: WARNING: at fs/proc/generic.c:825 remove_proc_entry+0x261/0x2f0() Call Trace: [<ffffffff8104d74b>] warn_slowpath_common+0x7b/0xc0 [<ffffffff8104d7f1>] warn_slowpath_fmt+0x41/0x50 [<ffffffff8116e8a1>] remove_proc_entry+0x261/0x2f0 [<ffffffff810832c8>] ? debug_check_no_locks_freed+0xc8/0x150 [<ffffffff81082ecb>] ? mark_held_locks+0x6b/0xa0 [<ffffffff8110f95f>] ? kfree+0xcf/0x180 [<ffffffff810831a5>] ? trace_hardirqs_on_caller+0x145/0x190 [<ffffffff810831fd>] ? trace_hardirqs_on+0xd/0x10 [<ffffffffa05835c2>] srpt_unregister_procfs_entry+0x22/0x40 [ib_srpt] [<ffffffffa0583aba>] srpt_release+0x8a/0x1a0 [ib_srpt] [<ffffffffa04cbcc0>] scst_unregister_target+0x70/0x3f0 [scst] [<ffffffff811bf6d7>] ? kobject_put+0x27/0x60 [<ffffffff8126ff67>] ? put_device+0x17/0x20 [<ffffffffa058587e>] srpt_remove_one+0xee/0x1a0 [ib_srpt] [<ffffffffa03ddfc5>] ib_unregister_client+0x65/0x120 [ib_core] [<ffffffffa0588f43>] srpt_cleanup_module+0x5f/0xc3 [ib_srpt] [<ffffffff8108e8dd>] sys_delete_module+0x1bd/0x280 [<ffffffff8135e5ad>] ? retint_swapgs+0xe/0x13 [<ffffffff810831a5>] ? trace_hardirqs_on_caller+0x145/0x190 [<ffffffff810030db>] system_call_fastpath+0x16/0x1b ---[ end trace 3fc26663490f6a89 ]--- Bart Van Assche 2010-08-01 14:40:54 +00:00
  • 1590390350 Reordered two fields in struct srpt_rdma_ch. Bart Van Assche 2010-08-01 12:47:00 +00:00
  • d402b1e851 Command abortion bug fix. Bart Van Assche 2010-07-30 15:28:56 +00:00
  • b9c3b09613 Checkpatch fix. Bart Van Assche 2010-07-30 15:03:04 +00:00
  • 7ef2bc926e Made ib_srpt_compl kernel thread logging more detailed. Bart Van Assche 2010-07-30 14:53:22 +00:00
  • 02cfb12400 Fixed a bug in the algorithm that decides when to send SRP_CRED_REQ. Bart Van Assche 2010-07-30 14:45:41 +00:00
  • ffe7409533 Changed behavior of mode thread=1: IB completions are now entirely processed on thread context and there is now one thread per session instead of one thread for all sessions. Bart Van Assche 2010-07-30 14:32:44 +00:00
  • 49cbea848a Dynamically decrease the initiator's SRP queue depth if it supports SRP_CRED_REQ and scst_get_max_lun_commands(NULL, 0) (48 with unmodified scst_priv.h) is less than SRPT_RQ_SIZE (128 with unmodified ib_srpt.h). Bart Van Assche 2010-07-30 11:26:40 +00:00
  • 0857c68f7d - Be less verbose with the 'enabled' attribute. Mark Buechler 2010-07-29 16:44:32 +00:00
  • 32d9107dfd Big changes. 1. Simplify attribute setting to use a generic setAttributes() function for anything requiring non-dynamic attributes. 2. Reorder function argument to always be the same as their associated SCST::SCST methods. Mark Buechler 2010-07-29 15:27:24 +00:00
  • 9ce80877d2 Added support for SRP_CRED_REQ and auto-detection of initiator SRP_CRED_REQ support (disabled by default). Bart Van Assche 2010-07-29 14:21:16 +00:00
  • 7fe6c4e1af Fix 2 problems noticed by Chandra Seetharaman <sekharan@us.ibm.com>: Vladislav Bolkhovitin 2010-07-29 11:37:44 +00:00
  • f16f6864e5 Fixed truncating the last char while writing to filename attribute Vladislav Bolkhovitin 2010-07-29 11:16:29 +00:00
  • 2d9343958b Patch from Benjamin Yates <benjamin@rqdq.com> improving archlinux pkgbuild build. Vladislav Bolkhovitin 2010-07-28 18:44:06 +00:00
  • f1313dfc7e Minor compiler warnings cleanup Vladislav Bolkhovitin 2010-07-28 18:41:46 +00:00
  • dddcae1418 - Set driver and handler attributes on commit as well. Mark Buechler 2010-07-28 15:36:06 +00:00
  • eb124ec057 - Properly handling of auto-enabled targets/drivers while reading a deprecated config file. Mark Buechler 2010-07-28 14:46:41 +00:00
  • 96aaba2829 - Create targets from old Default_ groups for all drivers capable of dynamic target creation. - While converting an old config file, set 'enabled' to 1 for all non-qla drivers which have the 'enabled' attribute so their targets can become enabled as well. Mark Buechler 2010-07-28 14:06:57 +00:00
  • 95072429d8 - Don't tream an hash like an array. Mark Buechler 2010-07-28 13:27:56 +00:00
  • f299b1d2b3 Micro-optimization: replaced a spinlock by an atomic variable. Bart Van Assche 2010-07-28 10:15:33 +00:00
  • ecaabfc08c Patch fixing sparse warnings related to digest calculation Vladislav Bolkhovitin 2010-07-27 18:34:07 +00:00
  • 803a312144 Replaced busy-waiting for more credits by wait_for_completion(). Moved processing delay loop out of interrupt context. Preparations for SRP_CRED_REQ support and run-time receive queue selection. Bart Van Assche 2010-07-27 16:23:45 +00:00
  • 8873db3eb6 Split a line. Bart Van Assche 2010-07-27 16:07:30 +00:00
  • a12a944d3a Consider only enabled targets for rel_tgt_id comparison Vladislav Bolkhovitin 2010-07-27 11:06:59 +00:00
  • a554b2dda6 Minor sysfs fix Vladislav Bolkhovitin 2010-07-27 10:55:44 +00:00
  • 747511e3b8 IB verbs compliance fix: drain the completion queues before destroying them. Moved some thread=1 related functions in ib_srpt.c such that these are grouped in the source file. Bart Van Assche 2010-07-25 13:13:45 +00:00
  • 0925119ad8 Made sure that invocation of srpt_pending_cmd_timeout() after srpt_handle_rdma_comp() finished and before srpt_xmit_response() started works properly. Bart Van Assche 2010-07-25 09:34:20 +00:00
  • 1c64261bec Increased default send queue size from 2048 to 4096 and made the send queue size configurable via the kernel module parameter srpt_sq_size. Bart Van Assche 2010-07-25 09:15:10 +00:00
  • 95bba60a0a Fixed a bug in the command abortion logic that could result rmmod ib_srpt to hang. Bart Van Assche 2010-07-24 16:47:29 +00:00
  • ef509acbd8 Refined the timeout error message. Bart Van Assche 2010-07-24 11:46:29 +00:00