Commit Graph

  • 36db05162a Re-order Makefile install and uninstall a bit. Specifically for the install so lsb commands come last should lsb not exist on the system, at least the rest of install works. Mark Buechler 2009-02-11 16:16:53 +00:00
  • b0a902a6a1 Add lsb support for init.d scripts. Patch from Bart Van Assche. Mark Buechler 2009-02-11 16:09:45 +00:00
  • 0319c5c81c Fixes checkpatch errors notices by Bart Van Assche <bart.vanassche@gmail.com> Vladislav Bolkhovitin 2009-02-09 20:08:14 +00:00
  • 293c0ee1a3 - Iscsi-scst-adm fixes. It should be fully functional now. - Other iSCSI-SCST user space fixes, improvements and cleanups. Vladislav Bolkhovitin 2009-02-06 19:52:34 +00:00
  • 689bcbc261 Cleanups Vladislav Bolkhovitin 2009-02-06 19:46:57 +00:00
  • 5a9a0ad491 2 missed functions added to scst_user interface: Vladislav Bolkhovitin 2009-02-05 18:30:50 +00:00
  • 45fd88076c - Fix typo in scst_rx_mgmt_fn_tag() call for task abort - Cosmetics Vladislav Bolkhovitin 2009-02-05 18:23:28 +00:00
  • c10ae6b32d Clustering of scst_user pages added Vladislav Bolkhovitin 2009-02-05 18:07:51 +00:00
  • a34ec0f7ff A bunch of pending fixes/cleanups: Vladislav Bolkhovitin 2009-02-04 18:45:32 +00:00
  • e4d19dd1da Remove some misleading and dead files. Dotan Barak 2009-02-03 06:32:12 +00:00
  • 75561e4790 Update some firmware sets. Dotan Barak 2009-02-03 06:31:27 +00:00
  • b237ddf08f In the header file scst.h scst_cmd::sg_cnt and tgt_sg_cnt::sg_cnt are declared as signed integers, while some inline functions in the same header file treat these as unsigned integers. The patch below converts all uses to signed integer. Vladislav Bolkhovitin 2009-02-02 16:25:47 +00:00
  • d5322f10ad The patch below implements the following changes for the iSCSI-SCST HOWTO document: - Added RHEL / CentOS to the list of officially supported kernels. - Mentioned that regenerating the initial RAM disk is an explicit step on many distro's. - Replaced shell instructions for generating /etc/scst.conf by a sequence of scstadmin commands. - Added note about insserv. Vladislav Bolkhovitin 2009-02-02 15:49:39 +00:00
  • dd1400dddc The patch below adds the following two RHEL 5 / CentOS 5 patches to the SCST source tree: - Support for zero-copy TCP transfer completion. - An implementation of scsi_execute_async_fifo(). Except for the hunk headers, these patches are identical to similarly named patches already present in the SCST source tree. Vladislav Bolkhovitin 2009-02-02 11:36:53 +00:00
  • ae5ec143aa The patch below is a minor correction for the 2.6.27 in-tree kernel patches I submitted about three months ago: the patch headers now refer to the 2.6.27 kernel as they should instead of the 2.6.26 kernel. At least one user has been confused by this. The patch below does not change any behavior of SCST. The patch has been tested by verifying that the output of the following command remained the same as before the modifications: scripts/run-regression-tests -k 2.6.27 Vladislav Bolkhovitin 2009-02-02 11:29:14 +00:00
  • 52d7752136 - Removed artificial limitation on sg_tablesize. It isn't needed, because the regular iSCSI negotiated MaxRecvDataSegmentLength-related facilities do all the job pretty well. - Cleanups Vladislav Bolkhovitin 2009-02-02 11:16:38 +00:00
  • b240091109 Final merge with IET (r201-204): Vladislav Bolkhovitin 2009-01-30 17:47:31 +00:00
  • ff10abd363 Merge with IET r196: Vladislav Bolkhovitin 2009-01-30 16:49:01 +00:00
  • 922c377cd2 Merge with IET r195: Vladislav Bolkhovitin 2009-01-30 16:41:22 +00:00
  • 0f68fb5b58 Merge of IET r194: Vladislav Bolkhovitin 2009-01-30 16:36:39 +00:00
  • 4a7cdb58b4 Merge with IET r192-193: Vladislav Bolkhovitin 2009-01-30 16:25:52 +00:00
  • 684719c66e Merge with IET r170-191: Vladislav Bolkhovitin 2009-01-29 19:10:10 +00:00
  • ba698dbdd5 - Fix for iSCSI RFC violation: TARGET COLD RESET must close all connections/sessions, not only the current one - Cleanups Vladislav Bolkhovitin 2009-01-29 18:25:45 +00:00
  • a03936f3bc Merge with IET r169: Vladislav Bolkhovitin 2009-01-29 12:19:22 +00:00
  • 04041fa3f1 Merge with IET r160-168: add iscsi-scst-adm support to display list of CHAP accounts and their data Vladislav Bolkhovitin 2009-01-29 12:12:42 +00:00
  • 2f392619fb Make USN related stuff completed. Unfortunately, it can break existing cluster setups, but it's better to make it now, then later. Vladislav Bolkhovitin 2009-01-28 18:44:59 +00:00
  • 467b075b57 Sync with IET revisions 156-159: fix for compilation on glibc 2.8 Vladislav Bolkhovitin 2009-01-27 18:50:33 +00:00
  • 9ab503a347 - Add autogenerated USN - Sync fileio_tgt with scst_vdisk Vladislav Bolkhovitin 2009-01-27 18:09:24 +00:00
  • 77d509b0f9 - Fixed race in scst_user, which can lead to usage of already freed command. A misbehaving user space handler can make ucmd to get dead immediately after the lock is released and we should catch it. - Text in README about barriers usage updated - Minor cleanup with aim to have more robust code Vladislav Bolkhovitin 2009-01-26 18:08:07 +00:00
  • 2482d19490 The patch below fixes most checkpatch and sparse issues that are reported by the most recent versions (checkpatch 2.6.28 / latest sparse git version) and that were not reported by previous versions (checkpatch 2.6.27 / sparse 0.4.1). The patch below fixes the following issues: * Removed trailing space in iscsi-scst/README_in-tree. * Fixed sparse complaints about functions that were not declared static. * Fixed sparse complaints about casts between address spaces: such casts are now either fixed or explicit (via the __force keyword). Vladislav Bolkhovitin 2009-01-26 17:32:50 +00:00
  • a5589e099a Recently (Subversion revision 633) code was added to scst_vdisk.c that performs a.o. 64-bit division. While gcc supports 64-bit divisions on 32-bit CPU's, gcc generates a function call for these 64-bit divisions (see also http://gcc.gnu.org/onlinedocs/gccint/Integer-library-routines.html for the entire list). Unfortunately there is no implementation available for these functions in the Linux kernel. Which means that loading kernel modules that contain 64-bit divisions on a 32-bit system will fail and that insmod/ modprobe will complain about undefined references to e.g. __umoddi3. AFAIK the proper approach in the Linux kernel is to use the do_div() macro for performing 64-bit divisions. This macro is defined in <asm/div64.h>. The patch below converts the call to div_s64_rem() by a call to do_div(). Vladislav Bolkhovitin 2009-01-26 17:23:46 +00:00
  • 3943177f67 Fixes wrong usage of the last parameter of module_param_named() Vladislav Bolkhovitin 2009-01-26 12:57:22 +00:00
  • 48addc3482 Modified patch from Bart Van Assche <bart.vanassche@gmail.com> Vladislav Bolkhovitin 2009-01-23 19:51:54 +00:00
  • c5faf6a7b4 - Fixed bug in evaluation of expressions containing '&&' or '||'. - Added support for evaluating #ifdef and #ifndef. - Added support for substituting the macro's RHEL_MAJOR, RHEL_MINOR and RHEL_RELEASE_CODE. - Added more comments. Bart Van Assche 2009-01-19 19:07:42 +00:00
  • 553f1920e1 Bumped default kernel version to 2.6.28. Bart Van Assche 2009-01-17 10:34:48 +00:00
  • ae7345340c A bunch of minor fixes/improvements, cleanups and updates: Vladislav Bolkhovitin 2009-01-16 20:56:06 +00:00
  • 7a4e9129fc - Minor optimization - New member target_name added to struct scst_user_sess - Docs updates Vladislav Bolkhovitin 2009-01-15 18:50:43 +00:00
  • 5a9ff63133 Minor fixes for better Windows compatibility Vladislav Bolkhovitin 2009-01-15 16:14:57 +00:00
  • 479a9d0a9f - Update for 2.6.28 - Small doc update in flow control area Vladislav Bolkhovitin 2009-01-12 18:55:08 +00:00
  • e5caaf4548 Removed trailing whitespace. While the checkpatch script included with the 2.6.27 kernel did not complain on trailing whitespace in documentation and kbuild files, the checkpatch script included with the 2.6.28 kernel does. Bart Van Assche 2009-01-10 17:21:57 +00:00
  • 606a02d963 Minor performance improvement Vladislav Bolkhovitin 2009-01-04 17:53:57 +00:00
  • c89d549bbe - Minor improvements - Incorrect BUG_ON removed Vladislav Bolkhovitin 2009-01-04 16:14:33 +00:00
  • e7429fd16e Minor fixes Vladislav Bolkhovitin 2009-01-04 16:12:56 +00:00
  • 9f2ac56d74 Fixed problem with KERN_CONT absent in some vendor kernels Vladislav Bolkhovitin 2008-12-30 10:37:07 +00:00
  • 4d6896745e READ POSITION command's constants cleanup, since LONG_BIT conflicts with constant defined in /usr/include/bits/xopen_lim.h Vladislav Bolkhovitin 2008-12-26 17:49:27 +00:00
  • 968475e2dc Obsolete TODO removed Vladislav Bolkhovitin 2008-12-26 17:42:21 +00:00
  • 5026d92ad0 Access control docs updated Vladislav Bolkhovitin 2008-12-26 17:40:30 +00:00
  • b4c37abdb2 - Fixed a removeDevice() case when using -ForceConfig. Spotted by Ondrej Palkovsky. - SCST.pm: Cosmetic changes to error messages - include the handler name. - SCST.pm: Quote handlers, handler IOs, devices, users and groups in error messages. Mark Buechler 2008-12-18 17:30:37 +00:00
  • d30fbf8e66 Set memory limits according to LOWMEM, not TOTALMEM Vladislav Bolkhovitin 2008-12-18 16:50:43 +00:00
  • c1fa6b6258 Cleanup: dev_serialized deleted, because it dublicates dev_double_ua_possible Vladislav Bolkhovitin 2008-12-18 16:41:26 +00:00
  • 40e56edbbd - Cosmetic fixes by Witold Kowolik and increment version. Mark Buechler 2008-12-18 16:11:32 +00:00
  • c7fafb82ab - Fixed enabling/disabling targets. Spotted by Witold Kowolik. Mark Buechler 2008-12-18 16:05:55 +00:00
  • 1d168fae23 - Fix a check in SCST::removeUser(), spotted by Witold Kowolik. - Changed a few returns to 1 instead of $TRUE since really they're int returns and not boolean. Mark Buechler 2008-12-18 16:00:34 +00:00
  • 3ee7fc1e44 .26 changed to .27 to stop confusing too observant people :) Vladislav Bolkhovitin 2008-12-11 14:30:40 +00:00
  • de25580abb Checkpatch fix Vladislav Bolkhovitin 2008-12-10 15:55:16 +00:00
  • 30e75c38b3 Trailing whitespace fixed Vladislav Bolkhovitin 2008-12-10 12:05:17 +00:00
  • 41c3515516 - Memory barriers cleanup. Comments for them improved - Small docs update - srpt/README_in-tree added Vladislav Bolkhovitin 2008-12-10 10:55:01 +00:00
  • 76d0a69737 - Added patch my Witold Kowolik to allow enable/disable of qla_isp cards. Mark Buechler 2008-12-09 18:57:32 +00:00
  • d530e39e3a - Applied patch from Witold Kowolik with modifications, simplifies/fixes option parsing. - Added new REMOVABLE option. - Allow options to be specified in lowercase. - Misc. fixes. Mark Buechler 2008-12-09 18:28:29 +00:00
  • 4a0a3e01e9 Split generated patch files further: - Left out iscsi_scst_itf_ver.h since it is a generated file. - README.qla2x00t has been put in a separate patch, qla2x00t-doc.diff. - scst_proc.diff has been scst_core.diff. - scst_vdisk.diff has been split from scst_dev_handlers.diff. - scst_dev_handlers.diff has been renamed into scst_passthrough.diff. Bart Van Assche 2008-12-09 07:50:44 +00:00
  • d7d7dc7af6 Cleanup. Bart Van Assche 2008-12-08 12:58:09 +00:00
  • 8dadf2c789 Made "make htmldocs" the last step. Bart Van Assche 2008-12-06 16:28:05 +00:00
  • e2ef5de20c Option -p now generates three extra patches: scst_debug.diff, scst_sgv.diff and scst_user.diff. Bart Van Assche 2008-12-06 16:27:19 +00:00
  • f1b811e8dc Fixed typo. Bart Van Assche 2008-12-06 14:04:29 +00:00
  • a4f41bca01 Added 'make htmldocs'. Changed default kernel version from 2.6.27.7 into 2.6.27.8. Bart Van Assche 2008-12-06 13:39:16 +00:00
  • 86d4199dcb Modified the way in which the dummy mpt patch is suppressed, such that the run-regression-tests script works again. Bart Van Assche 2008-12-06 13:37:43 +00:00
  • 0e845189f9 Cleanup Vladislav Bolkhovitin 2008-12-05 13:56:43 +00:00
  • f9e6ba44ad Cleanup Vladislav Bolkhovitin 2008-12-05 13:54:00 +00:00
  • 7ba9ab3f9c Various changes Vladislav Bolkhovitin 2008-12-05 13:48:10 +00:00
  • e01c2da60f Fixed a sparse warning. Bart Van Assche 2008-12-04 21:29:24 +00:00
  • 5567479e23 - Removed command-line option -l -- scst_local is now unconditionally included in the generated patch output. - Added command-line option -p <patchdir>, which allows to generate a set of patches instead of one big patch. - New feature: by setting the environment variable SIGNED_OFF_BY, the Signed-off-by line is filled in. Bart Van Assche 2008-12-04 21:21:05 +00:00
  • c3ce35ab76 It was brocken. Fixed. Vladislav Bolkhovitin 2008-12-04 19:31:46 +00:00
  • c062b11e42 Added README for scst_local Vladislav Bolkhovitin 2008-12-04 19:13:02 +00:00
  • 089b7c391d Cleanups Vladislav Bolkhovitin 2008-12-04 18:20:22 +00:00
  • cba6490e82 Until now I had been using the latest git version of sparse (August 26, 2008). Apparently not all messages reported by this version are correct. So I switched back to the last released sparse version (0.4.1). The patch below fixes all errors and warnings reported by sparse 0.4.1 on the SCST source code. Vladislav Bolkhovitin 2008-12-04 18:00:51 +00:00
  • 52fae86a01 Added 'make headers_check', 'make checkstack' and 'make namespacecheck'. Bart Van Assche 2008-12-03 18:29:50 +00:00
  • 26cde4de56 Make soft IRQ context default Vladislav Bolkhovitin 2008-12-03 18:01:42 +00:00
  • e7e7c386f9 Cleanups after "make namespacecheck" Vladislav Bolkhovitin 2008-12-03 11:59:41 +00:00
  • 0961dd7433 - Patch from Richard Sharpe <realrichardsharpe@gmail.com> to fix an unterminated macro call and add a semicolon to please the compiler in an ifdef block. Vladislav Bolkhovitin 2008-12-01 18:36:54 +00:00
  • bd3cef926e Some minor fixups to the doc to make it more correct. Richard Sharpe 2008-12-01 00:55:56 +00:00
  • 4c90106577 Fix a problem on kernels older than 2.6.25 where the symbol SCSI_MAX_SG_SEGMENTS is not available. Define it if it is not already defined. Richard Sharpe 2008-12-01 00:42:02 +00:00
  • 7f87aa16a3 Small docs update Vladislav Bolkhovitin 2008-11-29 17:00:15 +00:00
  • 2ceda4a4c2 alloc_io_context renamed to export_alloc_io_context Vladislav Bolkhovitin 2008-11-28 17:19:29 +00:00
  • 1cabaea296 - Performance increase - Cleanups Vladislav Bolkhovitin 2008-11-28 17:15:17 +00:00
  • 9013ab1315 Signed/unsigned cleanups Vladislav Bolkhovitin 2008-11-28 16:11:51 +00:00
  • c9bdcb7c70 Fixing compilation warning when compiling the code with -Wcast-qual. The casting from (const uint8_t *) to (uint8_t *) is not really necessary. Vladislav Bolkhovitin 2008-11-26 19:03:41 +00:00
  • 9183709081 There are two remaining printk() statements on which checkpatch warns that the KERN_ facility level is missing. Algthough these warnings are false positives, I have developed a patch to suppress these warnings. Vladislav Bolkhovitin 2008-11-26 19:00:23 +00:00
  • 61c0d1167f - Now task_mgmt_fn() callback called for TARGET RESET and NEXUS LOSS only once for tgt_dev, which belongs to the session, from which the corresponding request came Vladislav Bolkhovitin 2008-11-25 16:44:24 +00:00
  • fb2fdb2ed6 Checkpatch warnings fixed Vladislav Bolkhovitin 2008-11-21 12:12:53 +00:00
  • 2bce93c688 Forgotten in r578 initiator version increase Vladislav Bolkhovitin 2008-11-21 10:18:28 +00:00
  • 8563f4f876 DRIVER_ATTR add_host made static Vladislav Bolkhovitin 2008-11-21 10:16:34 +00:00
  • ea7e57886e The patch below fixes the sparse warnings on passing a __user pointer where a kernel pointer is expected and vice versa. Additionally, there are a few fixes for checkpatch warnings on trailing whitespace and lines that were over 80 columns. Vladislav Bolkhovitin 2008-11-21 10:15:03 +00:00
  • e54c3872bc Update to initiator driver from 2.6.27 Vladislav Bolkhovitin 2008-11-20 18:58:53 +00:00
  • d908081912 - SGV cache related parameters moved from scst.h to scst_sgv.h Vladislav Bolkhovitin 2008-11-20 17:05:08 +00:00
  • 371e083d06 Prevent memory leaks in error paths by deferring allocation until we have checked for errors. Also, fix the host ID (target #) to be one larger than the max target ID for the host. Also, reduce the number of outstanding commands per LUN to 1 (although this might not be needed). Also scst_lcl_ini_driver_template flags cleanup. Vladislav Bolkhovitin 2008-11-19 11:37:45 +00:00
  • 7edb4c0c72 Fix for memory overwrite-after-free bug in scst_local Vladislav Bolkhovitin 2008-11-19 10:55:58 +00:00
  • 31c2ada297 The patch below implements the following modifications for scripts/run-regression-tests: - Adds a description about what the script does. - Added command-line option -c which allows to specify which directory to use as cache for kernel tar balls and patch files. - More error checking. - scst_local is now included in all the tests. - Swapped the order of two test steps, namely compiling the whole tree and running sparse. This way the output of the sparse tool is available a lot sooner. Vladislav Bolkhovitin 2008-11-18 18:47:09 +00:00
  • bad0bad3da The patch below fixes two categories of checkpatch complaints on scst_local, namely "line over 80 columns" and "use tabs to indent instead of spaces". Vladislav Bolkhovitin 2008-11-18 18:45:13 +00:00
  • ec7d33e537 Log level for "Warning: expected transfer length X for opcode Y" changed to be disabled by default for release build Vladislav Bolkhovitin 2008-11-18 18:42:09 +00:00
  • e882fcec37 The patch below fixes sparse warnings about int / unsigned int mismatches in the iscsi-scst source code. Vladislav Bolkhovitin 2008-11-18 18:23:08 +00:00