Commit Graph

1227 Commits

Author SHA1 Message Date
Vladislav Bolkhovitin
90aedbc026 Pranah Storage Technologies added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1317 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-04 19:29:11 +00:00
Bart Van Assche
7f1e235150 Added command-line options -m and -M.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1316 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-04 12:52:17 +00:00
Vladislav Bolkhovitin
b92c7d1c6f The patch below converts the #ifndef SYMBOL / #define SYMBOL / #endif symbol
constructs in the SCST source code into one of the following:
* These three lines are removed entirely if the symbol definition is present in
  the Linux 2.6.18 source tree.
* The definition has been made unconditional if the symbol definition is not yet
  present in the 2.6.31 source tree.
* Converted the definition into #if LINUX_VERSION_CODE < KERNEL_VERSION(...) /
  #define SYMBOL / #endif if a definition for the symbol has been added between
  kernel versions 2.6.18 and 2.6.31.

The patch below has been tested by veryfing whether the SCST tree still
compiles on RHEL 5.4 and by verifying the output of the following command:

  for ((i=24;i<=31;i++)); do scripts/run-regression-tests 2.6.$i; done

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

also MI_REPORT_TARGET_PGS removed as not used.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1315 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-03 18:56:19 +00:00
Vladislav Bolkhovitin
02bdb07c7e Fixes possible crash, caused by q2t_sess_work_fn() called on several CPUs at time. Reported by Gal Rosen <galr@storwize.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1314 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-03 18:44:09 +00:00
Bart Van Assche
cdbd65daeb Removed trailing whitespace.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1313 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-03 07:46:39 +00:00
Bart Van Assche
d5cd0c893a - Fixed uninitialized variable read that was introduced in r1307.
- Introduced new kernel module parameter srp_max_rdma_size. This parameter
  allows to configure the maximum size of SRP RDMA transfers.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1312 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-02 19:45:45 +00:00
Vladislav Bolkhovitin
2d25617396 Disable inlining in the debug build
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1310 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-02 18:37:53 +00:00
Vladislav Bolkhovitin
3af8bc9a4c Various sysfs related fixes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1309 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-02 18:07:54 +00:00
Bart Van Assche
b9f64a7c61 - Fixed a bug introduced in the previous commit.
- Added more debug tracing related to command abortion.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1308 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-01 20:11:30 +00:00
Bart Van Assche
c9f49128bb Fixed the following issues found by Vladislav Bolkhovitin via source reading:
- Inserted tests such that ib_dma_unmap_sg() is never called with a NULL
  second argument.
- Fixed race conditions triggered by ioctx->state manipulations.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1307 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-01 17:01:08 +00:00
Bart Van Assche
b9a0eb9386 Updates for the OFED 1.5 + kernel 2.6.30 combination.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1306 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-31 13:06:39 +00:00
Vladislav Bolkhovitin
977a20ccba ISCSI target sysfs implementation, except "enabled" attribute.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1305 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-30 20:15:38 +00:00
Vladislav Bolkhovitin
10fa35de3f - DataCrunch Company added
- Cosmetics



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1304 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-30 18:36:16 +00:00
Bart Van Assche
ec836491e4 Should have been included in the previous commit.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1303 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-29 19:42:53 +00:00
Vladislav Bolkhovitin
831942d577 The patch below fixes two occurrences of the following sparse warning:
warning: incorrect type in argument 2 (different address spaces)

The patch below has been tested by verifying the output of the following
command: scripts/run-regression-tests 2.6.31.5

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



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1302 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-29 19:29:22 +00:00
Vladislav Bolkhovitin
3c93276d8f Cosmetics.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1301 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-29 19:27:14 +00:00
Vladislav Bolkhovitin
031ea81359 Fix for the wrong mcmd state assignment if scst_mgmt_translate_lun() returns >0 because of suspending. Found by Gilad / <gilad.public2@gmail.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1300 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-29 19:18:09 +00:00
Bart Van Assche
eb46362a7b Added more debug code.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1299 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-29 18:56:23 +00:00
Bart Van Assche
debe7f1152 Added and commented out compiler flags that make it easier to locate the statement that triggered a kernel oops.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1298 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-29 18:42:53 +00:00
Bart Van Assche
e83ed53e9b Updated for the 2.6.30 kernel + OFED combination.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1297 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-29 18:41:52 +00:00
Vladislav Bolkhovitin
1bcea3ff7a More companies added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1296 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-29 18:41:50 +00:00
Bart Van Assche
8ec85a34a4 Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1295 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-29 18:41:08 +00:00
Bart Van Assche
1d0b2a972d Simplified OFED installation instructions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1294 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-29 18:40:37 +00:00
Bart Van Assche
a907dc6d2e Made sure that all double blank lines are converted into single blank lines.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1293 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-29 13:18:03 +00:00
Bart Van Assche
e63fbfd2f0 Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1292 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-29 13:17:13 +00:00
Vladislav Bolkhovitin
ac3f04117d Comments why we don't print prefix on debug traces added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1291 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-28 19:54:57 +00:00
Vladislav Bolkhovitin
7e4b596522 Gentoo HOWTO added, thanks to Willem Boterenbrood <Willem@kerrigan.student.utwente.nl>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1290 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-28 19:22:15 +00:00
Vladislav Bolkhovitin
923a54bdfe Version fixed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1289 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-28 17:30:12 +00:00
Vladislav Bolkhovitin
c656b57efb Forgotten ChangeLog
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1288 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-28 17:27:04 +00:00
Bart Van Assche
a068429f5d Delete double blank lines from the input.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1287 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-28 10:54:11 +00:00
Bart Van Assche
9389987264 Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1286 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-28 10:43:22 +00:00
Vladislav Bolkhovitin
0f87f052aa Fix a compiler warning about a mismatch between a format specifier and the corresponding argument, noticed by Bart Van Assche <bart.vanassche@gmail.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1285 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-27 13:12:33 +00:00
Vladislav Bolkhovitin
b38a46b1c8 Patch from Bart Van Assche <bart.vanassche@gmail.com> with improvements:
Remove of leftovers of TRACE_ENTRYEXIT from the mainline patch generation.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1284 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-27 13:05:48 +00:00
Vladislav Bolkhovitin
d3d2a4f1b1 Web upates for release qla_isp 1.0.2
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1283 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-27 12:22:25 +00:00
Vladislav Bolkhovitin
367eac42c2 - Top level "News" menu item added, since sf.net hidden it too well
- Openfiler added on the "Users" page



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1282 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-27 12:04:19 +00:00
Vladislav Bolkhovitin
cbd903ffdf Fixes from Daniel Fernandes <dfernandes1978@hotmail.com>:
*  Some minor fixes about validator
 *  Some cleanups
 *  Some code rellocated ( about pwiki )



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1281 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-26 16:39:17 +00:00
Vladislav Bolkhovitin
97830b9d2a - Proxmox added
- Minor fixes



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1280 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-26 11:07:01 +00:00
Vladislav Bolkhovitin
96a87fae3f Axxana added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1279 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-26 11:00:23 +00:00
Bart Van Assche
12c4889bfa Option -f is now a per-kernel option instead of a global option.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1278 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 13:28:02 +00:00
Bart Van Assche
9d89f0a77f Updated copyright statement.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1277 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 13:27:17 +00:00
Bart Van Assche
9b1c4bd639 TRACE_ENTRY() / TRACE_EXIT*() statements are now filtered from the output
when option -u has been specified.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1276 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 13:26:49 +00:00
Bart Van Assche
0c9d80e58e - TRACE_EXIT_HRES() statements are now also filtered.
- Hunk headers are now updated properly. 


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1275 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 13:25:10 +00:00
Bart Van Assche
4b26187063 Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1274 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 12:39:10 +00:00
Bart Van Assche
692fd09174 Moved specification of which tests have to be run for which kernel from scripts/run-regression-tests to nightly/conf/*.conf. Added 2.6.31.5-u.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1273 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 10:56:54 +00:00
Bart Van Assche
a0aec0ddc1 Added per-kernel options -nc and -ns, which allow to disable the
checkpatch and the sparse run respectively.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1272 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 10:33:09 +00:00
Bart Van Assche
0c3c7bc193 run-regression-tests:
- Adding the suffix "-u" to a kernel version will make the tests to be run
  with generate-kernel-patch -u ${kernel_version} instead of
  generate-kernel-patch ${kernel_version}.
generate-kernel-patch:
- sBUG(...) and sBUG_ON(...) are now replaced by BUG(...) and BUG_ON(...)
  respectively.
- Option -n does no longer disable the above substitution.
- Source file scst/src/scst_proc.c is now excluded when option -u is specified.
specialize-patch:
- Replaced variable delete_disabled_code by blank_deleted_lines. While setting
  the former variable had the effect of deleting disabled code, the latter
  has the effect of replacing disabled code by blank lines.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1271 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 09:46:40 +00:00
Bart Van Assche
773146af26 Added and commented out -DCONFIG_SCST_TRACING.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1270 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 09:39:55 +00:00
Bart Van Assche
87be4a7213 More #undef CONFIG_SCST_PROC fixes.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1269 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 09:39:27 +00:00
Bart Van Assche
a85024917f Fixed a sparse warning.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1268 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 09:31:26 +00:00
Stanislaw Gruszka
28dacdaebb Tag final release.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1267 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-24 15:31:32 +00:00