Commit Graph

  • caa419d49d Cleanup Vladislav Bolkhovitin 2008-11-13 16:14:06 +00:00
  • b0c6d9a561 The patch below fixes many checkpatch warnings triggered by the iSCSI kernel code, mainly about lines that exceeded 80 columns. As you can see in the patch below most lines that were too long have been split, but some code has also been moved into helper functions in order to keep the code readable. No functionality has been changed. Vladislav Bolkhovitin 2008-11-12 18:49:18 +00:00
  • 190e00f6d2 Here is the patch to fix problems with scst_local and 2.6.24 or earlier (tested by building under 2.6.24). Vladislav Bolkhovitin 2008-11-11 12:04:52 +00:00
  • 47422bf856 Added possibility to coexist if both target driver and dev handler need custom memory allocation. Direct consequences: Vladislav Bolkhovitin 2008-11-11 11:56:18 +00:00
  • e967b30f95 Small cleanup of unused code Vladislav Bolkhovitin 2008-11-10 17:23:23 +00:00
  • 95c93b2626 Depecated scst_cmd_get_tgt_resp_flags() removed Vladislav Bolkhovitin 2008-11-10 17:21:09 +00:00
  • 2177758f82 Fixes warning: Vladislav Bolkhovitin 2008-11-10 17:11:48 +00:00
  • 6822e4f6cf Added proposed patch to solve SG IO count limitation issue in pass-through mode. It allows SGV cache do allocation of pages with order > 0, i.e. more than 1 page per SG entry. Web and doc updated correspondingly. Vladislav Bolkhovitin 2008-11-07 18:47:17 +00:00
  • 3842a0af02 Make SWP and TAS parameters changable in vdisk handler. Vladislav Bolkhovitin 2008-11-06 12:06:58 +00:00
  • 55153a772c Attached is a patch that I think makes scst_local properly handle multiple targets per host. Vladislav Bolkhovitin 2008-11-05 18:56:31 +00:00
  • 27dc521710 Cleanup: one more __GFP_NOFAIL removed Vladislav Bolkhovitin 2008-11-01 11:45:26 +00:00
  • b748ebde74 Small optimization Vladislav Bolkhovitin 2008-10-31 18:56:01 +00:00
  • 06905f3e57 Follow-up improvements to r556 Vladislav Bolkhovitin 2008-10-31 16:17:08 +00:00
  • 3379376993 - Fixed incorrect SCST state used on error path - Small cleanups - ToDo entry added Vladislav Bolkhovitin 2008-10-31 11:16:47 +00:00
  • 90c831b838 Cleanup removing usage of in_atomic(). Particularly, now target drivers and dev handlers need to explicitly supply preferred execution context in scst_cmd_done() and scst_tgt_cmd_done(). Vladislav Bolkhovitin 2008-10-31 10:49:25 +00:00
  • c89dae4cb4 The patch below fixes the following: * Lots of checkpatch warnings about lines over 80 characters. * Checkpatch errors about code indent should use tabs where possible (same issues as reported by Dotan Barak). * One checkpatch warning about braces {} are not necessary for single statement blocks. * Sparse warnings about missing declarations. * Sparse warnings about using 0 instead of NULL. Vladislav Bolkhovitin 2008-10-30 20:17:42 +00:00
  • 0b3215695d The patch below fixes the checkpatch warnings for source files in the directory scst/include about lines that exceed 80 columns. Vladislav Bolkhovitin 2008-10-30 19:11:04 +00:00
  • 3d4486cfb9 The patch below fixes a few more warnings about lines that exceed 80 columns. Vladislav Bolkhovitin 2008-10-30 18:59:23 +00:00
  • 75d2a4b1a2 The patch below adds the first version of a script that runs regression tests to the SCST source tree. All tests are run in an automated fashion, but result interpretation is not yet completely automated. Vladislav Bolkhovitin 2008-10-30 12:43:20 +00:00
  • 0b2be958e9 The patch below makes the srpt driver compile against the 2.6.27 kernel headers. Vladislav Bolkhovitin 2008-10-30 12:34:48 +00:00
  • a2fb8cc40c Merge of r549: Fixes wrong sess_count decrement on session registration failure. Thanks to Gal Rosen <galr@storwize.com> for pointing on it svn-1.0.0.x Vladislav Bolkhovitin 2008-10-30 12:26:42 +00:00
  • b35c83dbe2 Fixes wrong sess_count decrement on session registration failure Vladislav Bolkhovitin 2008-10-30 12:22:48 +00:00
  • fe84b1f26b The iscsi-scst kernel module does not get compiled even with CONFIG_SCST_ISCSI set to m or y. The patch below fixes this. Vladislav Bolkhovitin 2008-10-28 20:43:38 +00:00
  • d5dc2fed6a By testing kernel patch generation for the mpt driver I found out that the Kconfig and Makefile were read from the wrong directory. The patch below fixes this. Vladislav Bolkhovitin 2008-10-28 20:41:29 +00:00
  • 7782dc0768 Release/debug/perf patches updated Vladislav Bolkhovitin 2008-10-28 20:38:49 +00:00
  • 0411713796 Small improvement Vladislav Bolkhovitin 2008-10-28 20:30:47 +00:00
  • 3fc14278b5 Fixed accidentally enabled superfluous warnings. Vladislav Bolkhovitin 2008-10-28 20:19:07 +00:00
  • 905eb033a4 Release/debug/perf patches updated + cosmetics in scst/src/dev_handlers/Makefile Vladislav Bolkhovitin 2008-10-25 18:49:47 +00:00
  • 54b2a0a5b9 -Wno-missing-field-initializers added. Small cleanup. Vladislav Bolkhovitin 2008-10-25 17:31:10 +00:00
  • c76083f036 Fixes 2 incorrectly used variables Vladislav Bolkhovitin 2008-10-25 17:14:08 +00:00
  • 79e315a82f A typo fixed Vladislav Bolkhovitin 2008-10-24 15:04:20 +00:00
  • 2688d2b8c4 The patch below fixes the sparse warnings in ib_srpt.c about missing declarations by inserting the keyword static where appropriate. Vladislav Bolkhovitin 2008-10-24 12:14:11 +00:00
  • 6077bb04e5 The patch below fixes more checkpatch warnings about lines that are over eighty columns, and more sparse warnings about missing declarations by inserting the keyword static where appropriate. A sparse warning about a shadowed variable (ucmd) is also fixed. Vladislav Bolkhovitin 2008-10-24 12:11:17 +00:00
  • 6544d6716b - Minor context cleanup - Minor doc update Vladislav Bolkhovitin 2008-10-24 11:52:12 +00:00
  • 20658918dc Web updates Vladislav Bolkhovitin 2008-10-24 11:50:36 +00:00
  • d7d2f38d5e Fix missing removal of DECLARE_MUTEX_UNLOCKED noticed by Shai. Dotan Barak 2008-10-24 00:19:11 +00:00
  • 8e234f8824 Fixes problems spotted by lockdep Vladislav Bolkhovitin 2008-10-23 12:06:39 +00:00
  • 7f62d55dde Replace SCSI_TRY_RESET_BUS by SCSI_TRY_RESET_TARGET, which is more appropriate for TARGET RESET TM Vladislav Bolkhovitin 2008-10-23 12:03:22 +00:00
  • d247bbbd5e Get rid of obsolete DECLARE_MUTEX_LOCKED usage. Dotan Barak 2008-10-22 21:45:16 +00:00
  • 80ea13642f Patch from Bart Van Assche <bart.vanassche@gmail.com> with some minor changes/additions: Vladislav Bolkhovitin 2008-10-22 18:45:05 +00:00
  • 9af236707e The patch below implements the following changes: - Add a dummy Signed-off-by line to the generated patch, such that checkpatch doesn't complain that it's missing. - Sort the names of source files (through ls) before using these, such that the generated patch is the same during each run. - Fixed a bug in #elif handling (this bug is not triggered by the current SCST code). Vladislav Bolkhovitin 2008-10-22 17:47:28 +00:00
  • 1eeffbb3da The first approximation to update to 2.6.27 + minor fixes, particularly remove of unused variable and add full path to depmod in Makefiles. Partially done by Bart Van Assche <bart.vanassche@gmail.com>. Vladislav Bolkhovitin 2008-10-21 11:51:52 +00:00
  • 66bc3f06a3 The patch below implements the following changes: - Converted tabs to spaces in the help text. - Removed command-line option '-s' -- the srpt driver is now always included. - Recognizes now both kernel versions with three components (x.y.z) and kernel versions with four components (x.y.z.p). - Empty files for Kconfig and Makefile are added for those components that are not included in the kernel patch, such that make allyesconfig / make allmodconfig keeps working. Vladislav Bolkhovitin 2008-10-21 10:23:42 +00:00
  • 2c112a2544 Property svn:ignore set Vladislav Bolkhovitin 2008-10-21 10:19:05 +00:00
  • 3fb2634b6e scst_local module added. Vladislav Bolkhovitin 2008-10-16 19:23:22 +00:00
  • 775ddf6f18 The patch below implements the following changes, because an upcoming checkpatch version will complain about these: * Make sure that a single tab is used for indenting instead of four spaces. * Removed spaces from around the colon used for specifying field widths. * Remove trailing whitespace in .txt files. Vladislav Bolkhovitin 2008-10-16 17:46:37 +00:00
  • 54cfaac7ee Compiler warning fixed Vladislav Bolkhovitin 2008-10-16 17:42:54 +00:00
  • ad6366bbf9 A major cleanup of sending commands for execution code path fixing found problems in it: handling double UA and internal REQUEST SENSE + possible wrong context assignment. Plus several other minor cleanups and fixes. Vladislav Bolkhovitin 2008-10-16 17:34:33 +00:00
  • d747aa2fa4 Allows enabling target mode support without SCST enabled. Otherwise it is impossible to use the target driver with out of tree SCST. Vladislav Bolkhovitin 2008-10-10 10:00:08 +00:00
  • fdf6e710e1 Unused files removed as requested by Bart Van Assche <bart.vanassche@gmail.com> Vladislav Bolkhovitin 2008-10-09 17:58:04 +00:00
  • 6181fda851 Fixes SAM violation, noticed by Sudhakar <ssudhakarp@gmail.com>. Plus, Windows requires it to automatically support LUNs >8, see http://support.microsoft.com/kb/310072/en-us Vladislav Bolkhovitin 2008-10-08 17:59:11 +00:00
  • 50af04800a Cleanups Vladislav Bolkhovitin 2008-10-08 17:36:08 +00:00
  • 2f3236e013 Until now the kernel config option to enable the SRP target was called CONFIG_INFINIBAND_SRPT. This is a reminiscent from the time when the SRPT code resided in the directory drivers/infiniband/ulp/srpt. Since this code has been moved into the directory drivers/scst/srpt, the path below renames this config option into CONFIG_SCST_SRPT. The other changes present in this patch are: - Removed srpt/src/Makefile.infiniband.Linux-2.6.2[45].patch since these files are obsolete. - Rewrote Kconfig help text slightly. Vladislav Bolkhovitin 2008-10-08 13:44:27 +00:00
  • 3e3424fb4d Web fixes and updates Vladislav Bolkhovitin 2008-10-07 14:56:42 +00:00
  • 38897729bd The patch below enables compilation of the SRPT driver with the 2.6.26.x kernel. Vladislav Bolkhovitin 2008-10-07 08:57:46 +00:00
  • 3c270e713f The patch below fixes the following class of checkpatch warnings: WARNING: externs should be avoided in .c files Vladislav Bolkhovitin 2008-10-06 17:24:49 +00:00
  • 01f7f50dc4 The patch below fixes the following class of checkpatch warnings: WARNING: %Ld/%Lu are not-standard C, use %lld/%llu Vladislav Bolkhovitin 2008-10-06 17:22:17 +00:00
  • a6be4c1abe The patch below fixes the following checkpatch error: ERROR: return is not a function, parentheses are not required Vladislav Bolkhovitin 2008-10-06 17:19:48 +00:00
  • 7b02f74ee0 The patch below fixes the following classes of checkpatch errors: * ERROR: return is not a function, parentheses are not required * ERROR: that open brace { should be on the previous line Vladislav Bolkhovitin 2008-10-06 17:18:04 +00:00
  • eb7c33a0b0 As known the script generate-kernel-patch generates a patch for the specified vanilla Linux kernel version. When I submitted this script for inclusion in the SCST Subversion repository the SRPT target driver was excluded by default because of checkpatch errors triggered by the SRPT source code. These errors have been fixed considerable time ago. Hence the patch below makes inclusion of the SRPT driver the default. Vladislav Bolkhovitin 2008-10-06 17:15:08 +00:00
  • f876bba99e The patch below fixes the following two checkpatch warnings: Vladislav Bolkhovitin 2008-10-06 17:13:11 +00:00
  • f0da641f63 Web updates. Particularly, "Contributing" page was added Vladislav Bolkhovitin 2008-10-03 18:09:00 +00:00
  • 35754e7f26 Minor fixes and changes Vladislav Bolkhovitin 2008-10-02 10:46:47 +00:00
  • 52aa20c1de Merge of r506: Vladislav Bolkhovitin 2008-09-30 18:18:18 +00:00
  • 8570113f7a VERIFY commands that comes with BYTCHK unset (i.e. no data to write) shouldn't fail Vladislav Bolkhovitin 2008-09-30 18:15:06 +00:00
  • c1f04d3ad9 Sponsorship related updates Vladislav Bolkhovitin 2008-09-30 17:29:31 +00:00
  • 166fed0ae5 Merge of r503: Vladislav Bolkhovitin 2008-09-29 17:01:05 +00:00
  • 34687a4030 As pointed out by Arne Redlich, size of dummy_data is too small as well as some checks in noop_out_start() are not needed Vladislav Bolkhovitin 2008-09-29 16:58:36 +00:00
  • e349f1cd5d Merge of r500: Vladislav Bolkhovitin 2008-09-26 16:25:05 +00:00
  • a25b4db71d Merge of r498: Vladislav Bolkhovitin 2008-09-26 16:18:30 +00:00
  • 2d8ac6b3ee Fixes possible oops in double reset UAs handling Vladislav Bolkhovitin 2008-09-26 16:03:50 +00:00
  • 3785302eaa Handling of double reset UAs made more reliable Vladislav Bolkhovitin 2008-09-26 16:01:53 +00:00
  • a5ec0e4f51 Fixes broken NOP-Out with payload handling + minor fixed. Both problems derived from IET. Vladislav Bolkhovitin 2008-09-26 15:59:47 +00:00
  • ef10d158a5 Minor changes Vladislav Bolkhovitin 2008-09-25 09:21:44 +00:00
  • 7a3b527b88 Belatedly put in a patch to avoid an OOPS that Stanley had sent me but I hadn't integrated. Bad me. Dotan Barak 2008-09-24 01:09:27 +00:00
  • 95b964e4d1 Move the temp fix for 2400 startup problems into the 1.0.0.x branch. Dotan Barak 2008-09-15 19:58:56 +00:00
  • 35abb307a1 Move Stanley's wait_interruptible fix into 1.0.0.x so that ps is not fooled... Dotan Barak 2008-09-15 19:58:08 +00:00
  • 508b07dbb0 Add more startup delay for 24XX cards when execing f/w (temp soln) Add support for up through 2.6.25 (might even be good for 2.6.26) Remove HBAAPI support. This never has worked well and I doubt anyone will miss it. Remove files not pertinent SCST build. Dotan Barak 2008-09-12 22:30:21 +00:00
  • 2072470745 Patch from Gal Rosen <galr@storwize.com>: Vladislav Bolkhovitin 2008-08-28 15:48:35 +00:00
  • eeebea3043 Merge of r490: Forgotten to be changed during 1.0.0 release externally seen SCST revision Vladislav Bolkhovitin 2008-08-20 15:46:12 +00:00
  • 9cf822569c Forgotten to be changed during 1.0.0 release externally seen SCST revision Vladislav Bolkhovitin 2008-08-20 15:33:18 +00:00
  • 1257ac6ecf Make qlaispd sleep interruptible so as to now skew process statistics. Dotan Barak 2008-08-16 17:05:07 +00:00
  • aef7fa62d9 Fixed the following sparse warnings: Dotan Barak 2008-08-14 22:42:58 +00:00
  • 9a94dbe2e6 Return value of the script depend on the return value of the last executed function. Vladislav Bolkhovitin 2008-08-13 18:09:23 +00:00
  • aab4e1d1ff Polishing for in-tree Vladislav Bolkhovitin 2008-08-01 17:59:05 +00:00
  • 2828a3db2c Checkpath and compiler fixes Vladislav Bolkhovitin 2008-08-01 17:03:24 +00:00
  • fdbe23b77c - Compiler made to show more warnings - New warnings fixed Vladislav Bolkhovitin 2008-07-31 10:01:45 +00:00
  • 5a5f1d3247 Compilation if target mode disabled fixed Vladislav Bolkhovitin 2008-07-29 17:19:58 +00:00
  • 27e1f7aa1a Locking documented Vladislav Bolkhovitin 2008-07-29 17:18:08 +00:00
  • 1504425c40 All empty lines due to code commented out because inside #if LINUX_VERSION_CODE ... / #endif is now really removed. Vladislav Bolkhovitin 2008-07-28 18:19:34 +00:00
  • e678ead347 Fixed minor iSCSI standard violation Vladislav Bolkhovitin 2008-07-28 11:08:32 +00:00
  • 65a0818201 SCST_HIGHMEM removed as not needed Vladislav Bolkhovitin 2008-07-25 16:46:27 +00:00
  • 721c811332 Updated corespondingly to the latest changes in the driver (kernels <2.6.26 not supported anymore) Vladislav Bolkhovitin 2008-07-25 10:57:42 +00:00
  • e546852ee7 Added qla2x00t HOWTO written by Amit Mehta. Web pages updated correspondingly. Vladislav Bolkhovitin 2008-07-24 16:23:44 +00:00
  • 9004478071 Minor the kernel patch preparations fixes Vladislav Bolkhovitin 2008-07-24 10:38:51 +00:00
  • 73e27412fb - Update for 2.6.26 - Zero-copy feature, introduced by put_page_callback patch, made kernel compile time configurable via CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION option. If you upgrade from earlier versions, see the corresponding "[CAUTION]" e-mail in scst-devel mailing list about possible compatibility problems. - SRP target temporary removed from "all" and "install" the main Makefile targets, since it isn't compiled on 2.6.26 - Minor fixes and cleanups Vladislav Bolkhovitin 2008-07-24 09:22:55 +00:00
  • 91b9b7299f Fix for long standing protection problem in the initiator driver Vladislav Bolkhovitin 2008-07-24 09:04:05 +00:00
  • c006b05884 Update of the initiator driver to one from kernel 2.6.26. Sorry, the prior kernels not supported anymore, but backport patches are welcome. Vladislav Bolkhovitin 2008-07-23 17:41:22 +00:00
  • 9145969c9c Merged r470 from the trunk: Vladislav Bolkhovitin 2008-07-23 11:16:20 +00:00
  • 84153b23b5 Minor changes and docs updates Vladislav Bolkhovitin 2008-07-22 15:32:42 +00:00