Commit Graph

  • ca0a6d1f4c Tag for 2.0 updated Vladislav Bolkhovitin 2010-12-21 14:51:23 +00:00
  • 2ee493a005 Web updates Vladislav Bolkhovitin 2010-12-21 14:48:02 +00:00
  • 2b6f1bff04 scstadmin docs update to make them more up to date Vladislav Bolkhovitin 2010-12-21 13:14:12 +00:00
  • a8b2e8b69c README.sysfs renamed to README Vladislav Bolkhovitin 2010-12-21 13:01:40 +00:00
  • 9c7d94c57a README renamed to README.procfs Vladislav Bolkhovitin 2010-12-21 13:00:52 +00:00
  • bed8b89090 Version set to 2.0.0 Vladislav Bolkhovitin 2010-12-21 12:39:06 +00:00
  • 527e53888b Merge of the trunk's r3163: Vladislav Bolkhovitin 2010-12-21 12:37:17 +00:00
  • 698f4a967c Since algorithm to autogenerate t10_dev_id and usn is going to be changed, make usn user configurable and during transition period both t10_dev_id and usn always key to make scstadmin to always save them. Vladislav Bolkhovitin 2010-12-21 12:24:44 +00:00
  • a16d010935 Comment extended Vladislav Bolkhovitin 2010-12-21 11:51:10 +00:00
  • 90fff1fba2 Merge of the trunk's r3160: Vladislav Bolkhovitin 2010-12-21 11:18:57 +00:00
  • 2676966858 Fix lost line in iscsi_scst_itf_ver.h lead to incorrect generation of this file. Reported by torn5 <torn5@shiftmail.org>. Vladislav Bolkhovitin 2010-12-21 11:07:42 +00:00
  • 6ed490f251 Remove dead code. According to the Linux Device Drivers, 3rd Edition book, alloc_pages() and free_pages() must be called with the same order, so that optimization cannot work (and that why it's currently disabled). Vladislav Bolkhovitin 2010-12-20 20:04:51 +00:00
  • 3b23f6d223 Merge of the trunk's r3151 and 3152: Vladislav Bolkhovitin 2010-12-20 19:15:44 +00:00
  • 25dd5b2e2e I/O context creation and cleanup in SCST command-processing threads is protected by io_context_mutex. The patch below changes that mutex from a single mutex for all command threads to one mutex per thread pool. Vladislav Bolkhovitin 2010-12-20 19:03:49 +00:00
  • b7212cf420 Cleanup: eliminate a superfluous cast and unnest an if-statement Vladislav Bolkhovitin 2010-12-20 18:27:57 +00:00
  • cb599510d6 Two local variables in scst_main.c can be eliminated by using appropriate format specifiers. Vladislav Bolkhovitin 2010-12-20 18:25:07 +00:00
  • 099e3d746d Corrected patch numbers. Bart Van Assche 2010-12-20 14:22:48 +00:00
  • 94b01ca7a3 Added 2.6.37-related files (svn merge -c3129 https://scst.svn.sourceforge.net/svnroot/scst/branches/sysfs-tree-changes). Bart Van Assche 2010-12-20 14:12:44 +00:00
  • 8e32148fc1 ib_srpt: Fixed a bug in the RDMA channel disconnection processing code. Bart Van Assche 2010-12-19 13:33:46 +00:00
  • 36d3ac3059 ib_srpt: Fixed a bug in the RDMA channel disconnection processing code. Bart Van Assche 2010-12-19 13:29:08 +00:00
  • 3a01db3279 Merge of the trunk's r3131: Vladislav Bolkhovitin 2010-12-18 15:57:34 +00:00
  • 14930d39a9 Making creation of default target and session by default Vladislav Bolkhovitin 2010-12-18 15:53:59 +00:00
  • efe33340f2 Merge of the trunk's r3121: Vladislav Bolkhovitin 2010-12-17 14:40:16 +00:00
  • 5b99207610 Fix minor issue when generating INQUIRY responses for not existing LUNs. Vladislav Bolkhovitin 2010-12-17 14:35:09 +00:00
  • 63811c3560 Let's not confuse booleans and integers. Vladislav Bolkhovitin 2010-12-16 21:10:28 +00:00
  • 7cf0816360 Reverted r3077: let's not confuse booleans and integers. I've seen enough subtlehard to track bugs from it. Vladislav Bolkhovitin 2010-12-16 21:00:26 +00:00
  • 977ff41b15 Revert r3045, because it isn't quite correct Vladislav Bolkhovitin 2010-12-16 20:48:45 +00:00
  • 3ce2f9446c Corrected feedback e-mail address (merged r3112 and r3113 from the trunk). Bart Van Assche 2010-12-16 16:25:23 +00:00
  • dd44ac462a Corrected feedback e-mail address. Bart Van Assche 2010-12-16 16:23:35 +00:00
  • 93e5e30c62 Corrected feedback e-mail address. Bart Van Assche 2010-12-16 16:22:25 +00:00
  • 5c4c0defea Merged r3053 and r3096 from the trunk (iSCSI how-to updates). Bart Van Assche 2010-12-16 15:46:06 +00:00
  • 2b224a26ca Clarified two paragraphs in the iSCSI how-to. Bart Van Assche 2010-12-16 15:40:24 +00:00
  • 9b43962c6e Reverted r3097 because the 2.6.35.10 source code is not yet available. Bart Van Assche 2010-12-16 15:14:52 +00:00
  • 178fd02ce9 Made error handling code in scst_main.c more consistent without changing its functionality and added a letter "s" in one error message. Bart Van Assche 2010-12-16 13:33:44 +00:00
  • 6028abbb99 Added definition of macro scst_assert_activity_suspended(). Bart Van Assche 2010-12-16 13:10:09 +00:00
  • 8797dbd533 Cleanup. In scst_cmd_done_pr_preempt() cmd->pr_abort_counter and, hence, saved_cmd_done must be not NULL. Vladislav Bolkhovitin 2010-12-15 20:45:13 +00:00
  • b69080d5f9 Updated kernel versions. Bart Van Assche 2010-12-15 17:52:26 +00:00
  • d1ef0a2ccd Fixed a typo in iscsi-scst/doc/iscsi-scst-howto.txt. Bart Van Assche 2010-12-15 16:49:00 +00:00
  • 07ab8e7e3f Merge of the trunk's r3094: Vladislav Bolkhovitin 2010-12-15 16:47:08 +00:00
  • e3241c4abb Fix wrong last_len computation reported by ido benda <idombd@gmail.com> Vladislav Bolkhovitin 2010-12-15 16:44:37 +00:00
  • c46913f455 Removed superfluous casts. Bart Van Assche 2010-12-15 16:04:25 +00:00
  • e24296ad98 Fix case when after INCOMING_MAX overflow no listen events requested to be provided by poll(). Vladislav Bolkhovitin 2010-12-15 15:48:51 +00:00
  • 1c18e2faf2 scst/sysfs: Moved SGV sysfs implementation from source file scst_sysfs.c to scst_mem.c. Bart Van Assche 2010-12-15 14:36:00 +00:00
  • 2d141454c9 scst/sysfs: Renamed a variable. Bart Van Assche 2010-12-15 13:58:41 +00:00
  • 9383e778e6 scst/sysfs: Moved sysfs attribute definitions immediately after the corresponding method definitions. Bart Van Assche 2010-12-15 13:24:46 +00:00
  • 6e1e8656e1 scst/sysfs: Made error handling style consistent with upstream kernel code. Bart Van Assche 2010-12-15 13:13:17 +00:00
  • 896b616a37 Eliminated 11 more forward declarations. Bart Van Assche 2010-12-15 12:49:37 +00:00
  • e7fec9df35 Eliminated two more forward declarations. Bart Van Assche 2010-12-15 12:42:41 +00:00
  • 8ddea02f56 Eliminated five more forward declarations. Bart Van Assche 2010-12-15 12:34:43 +00:00
  • 369d76eff4 Eliminated two more forward declarations. Bart Van Assche 2010-12-15 12:09:47 +00:00
  • 849c9ec801 Eliminated two more forward declarations. Bart Van Assche 2010-12-15 12:01:41 +00:00
  • cf2a3182aa Aligned array data in columns and updated a comment. Bart Van Assche 2010-12-15 10:45:31 +00:00
  • a82024cdc0 Moved sysfs root object implementation near the end of source file scst_sysfs.c. Bart Van Assche 2010-12-15 10:35:15 +00:00
  • a0fdf96c73 Converted function-local constant definitions from #defines into enums. Bart Van Assche 2010-12-15 10:27:51 +00:00
  • fbb98f4333 Moved definition of scst_read_trace_tbl() too. Bart Van Assche 2010-12-15 10:23:40 +00:00
  • d12d45dd79 Eliminated two forward declarations by rearranging the function order. Bart Van Assche 2010-12-15 10:16:49 +00:00
  • d5cda9519f Converted kmalloc() + strcpy() into kstrdup(). Bart Van Assche 2010-12-14 12:09:47 +00:00
  • fac989f319 Added ADD_MODULES variable to initd.debian. Bart Van Assche 2010-12-14 12:04:36 +00:00
  • 3583bbf2cb Added ADD_MODULES variable to initd.redhat. Bart Van Assche 2010-12-14 12:03:06 +00:00
  • 110991b976 Removed incorrect references to /etc/init.d/scst. Bart Van Assche 2010-12-14 11:00:37 +00:00
  • 5ea14dfbe5 Rewrote two comments blocks. Bart Van Assche 2010-12-13 13:31:57 +00:00
  • 53d401ac36 Don't read uninitialized variables (was introduced in r2868). Bart Van Assche 2010-12-12 12:44:24 +00:00
  • a0e87fb779 Don't read uninitialized variables (was introduced in r2867). Bart Van Assche 2010-12-12 12:42:30 +00:00
  • 3d707844b0 put_page_callback-2.6.37.patch: diff minimizing / added a missing file. Bart Van Assche 2010-12-12 12:22:10 +00:00
  • 49e8bb1aea Fixed a <=2.6.29 compiler warning. Bart Van Assche 2010-12-11 11:14:11 +00:00
  • cd984c6f82 ib_srpt: Fix a procfs-only compiler warning. Bart Van Assche 2010-12-11 09:58:37 +00:00
  • f55ccbe2cd - Small cleanup of issueLip(). - Issue a LIP on any changes which might effect initiators. Mark Buechler 2010-12-10 16:08:52 +00:00
  • c1fc45ee25 Updated kernel versions. Bart Van Assche 2010-12-10 09:49:24 +00:00
  • 8e0e19c9de ib_srpt (sysfs): Converted login_info from a device attribute into a tgt attribute. Bart Van Assche 2010-12-10 09:47:29 +00:00
  • d1f587ef29 Builds now on kernel 2.6.37 too. Bart Van Assche 2010-12-10 09:13:03 +00:00
  • 8f8dffd91b - Exit 0 and issue warning on empty config file. Mark Buechler 2010-12-08 15:01:48 +00:00
  • b12f90f23f - Fix init script for CentOS/RedHat. Patch by fzago@systemfabricworks.com Mark Buechler 2010-12-08 14:57:48 +00:00
  • fe247fde3b Get rid of sparse errors on sk_buff.protocol. Bart Van Assche 2010-12-07 18:51:37 +00:00
  • faa2e13cb6 - Properly detect when SCST isn't loaded. Mark Buechler 2010-12-07 17:49:15 +00:00
  • 42e623f994 - Hopefully fix all remaining exit code issues. - Better fix for empty groups - don't write empty braces. Mark Buechler 2010-12-07 17:40:16 +00:00
  • 3fb6b9e6e7 scst_disk builds again on kernel 2.6.30 and before (was broken by r2836). Bart Van Assche 2010-12-07 17:30:09 +00:00
  • f903a7896e ib_srpt: Handle iWARP devices graciously. Bart Van Assche 2010-12-07 17:04:05 +00:00
  • 17cb105213 Made sure that srpt_release() doesn't oops if srpt_add_one() fails after having registered the target and before the srpt_post_recv() loop started. Bart Van Assche 2010-12-07 16:59:19 +00:00
  • 7631a26bc9 Removed two unused variables. Bart Van Assche 2010-12-07 10:16:14 +00:00
  • 99e1368490 Fixed a bug that could cause scstadmin -write_config to generate an invalid configuration file, e.g. ... GROUP a } ... Bart Van Assche 2010-12-07 09:38:23 +00:00
  • 4afc6e1713 Fixed a bug that could cause scstadmin -write_config to generate an invalid configuration file, e.g. ... GROUP a } ... Bart Van Assche 2010-12-07 09:35:18 +00:00
  • 1fe5da1dea ib_srpt: Source code formatting cleanup. Bart Van Assche 2010-12-07 09:25:23 +00:00
  • 7e158b0c68 Handle iWARP devices graciously - ib_srpt does not work with at least Intel iWARP devices. Bart Van Assche 2010-12-07 09:21:16 +00:00
  • c81d1ed573 Converted kmalloc() + sprintf() calls into a kasprintf() call and converted kmalloc() + strcpy() calls into a kstrdup() call. (Merged r2986, r2897 and r2901 from the sysfs-changes branch.) Bart Van Assche 2010-12-06 10:56:45 +00:00
  • c75f68247a Reverted r2748 because it might offend some people. Bart Van Assche 2010-12-04 09:22:00 +00:00
  • e6fb3b2a1d scst/scst_vdisk: Made error handling in bi_end_io function IRQ-safe since bi_end_io functions must be IRQ-safe. Bart Van Assche 2010-12-03 11:44:38 +00:00
  • 55794571db ib_srpt: Pass correct atomic context information to scst_rx_cmd(). (Merged r2912 from the trunk.) Bart Van Assche 2010-12-03 11:43:37 +00:00
  • d0547fe613 scst/scst_vdisk: Made error handling in bi_end_io function IRQ-safe since bi_end_io functions must be IRQ-safe. Bart Van Assche 2010-12-03 11:35:31 +00:00
  • 1d520654cb ib_srpt: Pass correct atomic context information to scst_rx_cmd(). Bart Van Assche 2010-12-03 11:29:47 +00:00
  • 8773b01fde Fixed scst_suspend_activity() lockdep annotations. Bart Van Assche 2010-12-01 09:56:32 +00:00
  • ddc2387ec5 Merge of the trunk's r2860: Vladislav Bolkhovitin 2010-11-29 17:57:19 +00:00
  • ed2dc7bdaf Merge of the trunk's r2867: Vladislav Bolkhovitin 2010-11-29 17:14:55 +00:00
  • d83c11c1a3 Fix rarely possible race between scst_free_session() and scst_check_reassign_sess() Vladislav Bolkhovitin 2010-11-29 17:12:53 +00:00
  • f9ca99c4da This patch simplifies the SCST sysfs code a little bit by introducing the functions sysfs_create_files() and sysfs_remove_files(). These functions have been introduced in kernel 2.6.34 via commit 1c205ae18db53ff72985dd79f3baaf2dbaba6db7. An implementation of these functions has been included for older kernels. Vladislav Bolkhovitin 2010-11-27 19:35:21 +00:00
  • b330889bf4 This patch fixes a class of race conditions in the ..._sysfs_del() functions: the kobject_put() calls should come after all kobject_del() calls because as long as the last kobject_del() call hasn't been invoked, a sysfs .show() or .store() callback may still be in progress that needs one of these kobjects. Vladislav Bolkhovitin 2010-11-27 19:22:43 +00:00
  • d144966a53 scst: Lock annotation corrections. Bart Van Assche 2010-11-27 10:21:03 +00:00
  • 8e0e14b5e0 My previous commit failed to include 2 critical patches, plus had the wrong version of 22-lport-notify. This corrects that. Joe Eykholt 2010-11-26 21:40:59 +00:00
  • bef485b20f Simplify scst_free_session() by invoking wake_up_all() while scst_mutex is held. Vladislav Bolkhovitin 2010-11-26 21:28:38 +00:00
  • bd60cf5505 Minor improvement Vladislav Bolkhovitin 2010-11-26 20:53:33 +00:00
  • c1f5c42fa4 Merge of the trunk's r2840: Vladislav Bolkhovitin 2010-11-26 15:12:54 +00:00