8786 Commits

Author SHA1 Message Date
Vladislav Bolkhovitin
468e8bab83 Microcosmetics
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1112 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-18 10:30:15 +00:00
Vladislav Bolkhovitin
93950e189a - Web fixes from Daniel Fernandes <dfernandes1978@hotmail.com> (thanks!)
- The comparison page updated



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1111 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-18 10:25:33 +00:00
Mark Buechler
c76190e675 - Remove unused references to handler IOs that don't exist and cleanup the write
configuration function to only write vdisk and vcdrom devices. All other devices
  are automatically claimed by their handler module. I'm not sure how this will work
  with devices we wish to change handlers for.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1110 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-17 21:04:39 +00:00
Mark Buechler
5bf03c83ea - Add the ability to specify options (ie: READ_ONLY) in assignments in scst.conf.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1109 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-17 20:32:35 +00:00
Vladislav Bolkhovitin
8de256e7a3 qla2x00t HOWTO updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1108 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-17 20:10:11 +00:00
Vladislav Bolkhovitin
7d0cd658eb Typo fixed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1107 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-17 19:58:38 +00:00
Vladislav Bolkhovitin
4e7e7ff6b6 Kernels below 2.6.26 not supported anymore by qla2x00t, sorry.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1106 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-17 19:57:04 +00:00
Mark Buechler
a32b30de56 - Move a user from one group to another when applying the configuration instead
of deleting from one and adding to another the same user.
- Minor fix to readConfig() which wasn't fully allowing for empty groups.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1105 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-17 18:38:23 +00:00
Vladislav Bolkhovitin
b03c72f55d Support for 24xx+ QLA chips added to qla2x00t. So far only for 2.6.26+ kernels.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1104 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-17 17:44:07 +00:00
Mark Buechler
788c769a65 - Added the ability to specify options for -assigndev and -replacedev,
mainly READ_ONLY for now.
- Updated module to accept more than one option for assignDeviceToGroup() and
  replaceDeviceInGroup().
- Incremented module version number and renamed module directory to reflect it.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1103 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-17 16:33:24 +00:00
Mark Buechler
c4061f22e2 - Added -moveuser, -renamegroup and -ReplaceDev options and necessary -to argument.
- Fixed minor bug in new renameGroup() method in SCST::SCST.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1102 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-16 19:28:13 +00:00
Mark Buechler
efe48552bc - Adds read only flag support to assignDeviceToGroup() and
replaceDeviceInGroup().



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1101 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-16 18:25:40 +00:00
Mark Buechler
7133b84a7d - Adds rename_group functionality with renameGroup().
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1100 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-16 18:14:32 +00:00
Vladislav Bolkhovitin
ab1835aec5 More consistency in TM functions logging.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1099 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-16 18:08:02 +00:00
Mark Buechler
2afac68fa6 - Added support for new move and replace commands with moveUser()
and replaceDeviceInGroup() and increased the min. SCST supported
  version to 1.0.2.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1098 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-16 18:05:06 +00:00
Bart Van Assche
0fd6551230 Replaced kernel versions 2.6.27.32 and 2.6.30.6 by 2.6.27.34 and 2.6.30.7 respectively.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1097 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-16 10:44:38 +00:00
Vladislav Bolkhovitin
41cba1157e Microcleanup to log TM functions always in decimal.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1095 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-15 17:57:16 +00:00
Vladislav Bolkhovitin
bd33476600 Size of external names, like initiator names, increased.
Thanks to savik@alumni.technion.ac.il for pointing on it.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1094 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-14 18:08:18 +00:00
Vladislav Bolkhovitin
5f6db09212 Minor cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1093 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-14 18:02:11 +00:00
Vladislav Bolkhovitin
e25dd44fad Small cleanup: don't do anything if on resync_size command size of the device remained the same
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1091 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-14 17:47:47 +00:00
Bart Van Assche
4decd55808 - Removed blank lines from kernel log.
- When a session is being released, it is now logged why.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1090 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-13 19:13:31 +00:00
Bart Van Assche
9d78dc61b7 - Renamed PFX macro to LOG_PFX such that it is recognized by the
PRINT_INFO() and related macro's.
- Replaced printk(KERN_INFO PFX and printk(KERN_ERROR PFX by
  PRINT_INFO( and PRINT_ERROR( respectively.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1089 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-13 18:15:05 +00:00
Bart Van Assche
663e046df0 Made sure that there is only a single blank line before scsi_end_async() in the output of scripts/generate-kernel-patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1088 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-10 18:26:06 +00:00
Bart Van Assche
6f455c9c30 Replaced kernel versions 2.6.27.31 and 2.6.30.5 by 2.6.27.32 and 2.6.30.6 respectively.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1085 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-09 18:30:50 +00:00
Vladislav Bolkhovitin
bd4f1748dd Maintainer's address added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1083 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-08 11:31:48 +00:00
Dotan Barak
596fee74a4 Don't try and stop a kernel thread that hasn't started- this will fix some
reported oopses.

Fix residual setting for 21XX/22XX/23XX cards. Oops.

Return at least *some* kind of WWN. Apparently there are still enough
cards floating around that have scrambled NVRAM that this is a problem-
at least for me.

More meaningless format changes.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1082 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-08 01:45:52 +00:00
Dotan Barak
72d038f1b6 If we're running newer than 3.0.16 firmware and are in target mode, tell
the firmware to not automatically issue a PRLI after a PLOGI. This should
solve the problem of being in N-port topology where we have to issue a PLOGI
which by default is followed by a PRLI, which makes us an illegal target.

This is not the most ideal fix in that it breaks the initiator side of
initiator/target mode for any local topology disks.

Various other meaningless formattting changes.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1081 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-08 01:40:39 +00:00
Dotan Barak
613542b923 Remove obsolete documentation.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1080 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-08 01:36:17 +00:00
Vladislav Bolkhovitin
95032dca33 The patch below fixes occurrences of the following recently introduced
checkpatch warning: "do not use assignment in if condition".

Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>

with some fixes



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1079 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-07 12:09:16 +00:00
Vladislav Bolkhovitin
103f8bb8ec Microcleanup to combine the vars alltogether
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1078 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-07 12:02:47 +00:00
Bart Van Assche
a003cea218 Do not only remove references of SCSI_EXEC_REQ_FIFO_DEFINED / SCST_IO_CONTEXT
but also their definition.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1077 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-06 12:02:49 +00:00
Bart Van Assche
9d4e2f9399 Refinements / bug fixes of the changes introduced in the previous commit:
- Only replace sBUG/sBUG_ON by BUG/BUG_ON when this macro is being used, not
  in its definition.
- Fixed bugs in algorithm for preserving the original code during a sparse run.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1076 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-06 11:09:21 +00:00
Vladislav Bolkhovitin
bea5b6dfc8 Bump up SCSI version to SCSI-3
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1075 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-04 15:49:41 +00:00
Bart Van Assche
9e18cc659e Whitespace-only changes. Fixed the following categories of checkpatch
complaints:
- code indent should use tabs where possible.
- trailing whitespace.
- else should follow close brace '}'.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1074 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-03 18:31:22 +00:00
Vladislav Bolkhovitin
70d66b181f Fix for a problem found by Saar David <liorg@ged-I.com>: the missed << 24 added.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1073 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-03 16:52:34 +00:00
Vladislav Bolkhovitin
003204c5e7 The patch below fixes the spelling of a few function names. This patch has
been tested by running the following command and verifying its output:
scripts/run-regression-tests 2.6.30.4

Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1071 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-03 12:09:33 +00:00
Vladislav Bolkhovitin
f8f89ad8be - Some docs and web updates with minor fixes.
- Default number of IO threads for vdisks on systems with context-RA increased, because context-RA handles multitreaded sequential IO much better.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1070 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-03 11:53:48 +00:00
Bart Van Assche
7d65deaac8 Updated SRPT to do list.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1069 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-02 16:43:54 +00:00
Bart Van Assche
aaf2ed455d Modified scripts invoked during a regression test run such that the line numbers printed by sparse match those of the SCST source files present in the Subversion repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1068 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-02 16:42:26 +00:00
Bart Van Assche
4684d781c7 Updated Subversion ignore list.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1067 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-02 16:38:27 +00:00
Vladislav Bolkhovitin
56c36f8ebf Trace_level cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1065 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-02 09:59:37 +00:00
Vladislav Bolkhovitin
56440d9262 Minor SGV docs improvements
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1064 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-02 09:58:31 +00:00
Vladislav Bolkhovitin
0785ab7746 Web fixes and new images from Daniel Fernandes <dfernandes1978@hotmail.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1063 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-09-02 09:57:23 +00:00
Dotan Barak
27204db16a Update copyright date on LICENSE.
Update README to note that multi-id firmware needs to be used for NPIV.

Add a FIRMWARE readme that was supposed to go in back last June.

M    qla_isp/LICENSE
M    qla_isp/README.scst
A    qla_isp/FIRMWARE.readme


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1062 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-08-23 04:10:13 +00:00
Bart Van Assche
9137f7efa0 Updated kernel version 2.6.27.30 to 2.6.27.31.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1061 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-08-17 16:01:06 +00:00
Bart Van Assche
4c429ee3e8 Updated kernel versions: 2.6.30.4 to 2.6.30.5 and 2.6.27.29 to 2.6.27.30.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1060 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-08-17 10:43:28 +00:00
Bart Van Assche
097f5151cb Refinements for SRPT command processing state management.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1059 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-08-16 13:27:01 +00:00
Bart Van Assche
d9bc8bbff8 Fixed bug introduced in the previous revision of the specialize-patch
script: empty lines after #if ... #else ... #endif blocks were deleted.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1058 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-08-16 12:18:52 +00:00
Stanislaw Gruszka
f5248dc2ab Update firmware to that we have in Feral cvs repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1057 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-08-15 14:10:08 +00:00
Bart Van Assche
28cb02f78b Minor documentation updates.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1056 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-08-15 13:54:36 +00:00