Bart Van Assche
4afbe006a5
Updated test instructions.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1333 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-11 18:56:05 +00:00
Bart Van Assche
5c208ca261
- Fixed races between command abortion code and regular command processing
...
code.
- Fixed the bug that new commands could be queued for a channel that was
being closed.
- Bug fix: ib_dma_unmap_sg() is now called by srpt_xmit_response() when
aborting commands.
- Changed default value of the kernel module parameter 'thread' from zero
to one because using thread=0 can cause the Linux and the OFED SRP
initiator to lock up -- see also
http://bugzilla.kernel.org/show_bug.cgi?id=14235 and
https://bugs.openfabrics.org/show_bug.cgi?id=1745 .
- Made disconnect logging more detailed -- added cm_id in output.
- Changed argument type of second argument of srpt_release_channel() from
int to bool.
- Eliminated srpt_abort_scst_cmd's 'tell_initiator' argument because this
argument always has the same value (i.e. true).
- Simplified abortion of commands in state SRPT_STATE_NEW. Simplified
implementation of srpt_on_free_cmd().
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1332 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-11 18:44:05 +00:00
Bart Van Assche
b2223e664b
Updated kernel versions 2.6.27.38 and 2.6.31.5 to 2.6.28.39 and 2.6.31.6 respectively.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1331 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-10 11:59:00 +00:00
Vladislav Bolkhovitin
cf54a13171
Web fixes from Daniel Fernandes <dfernandes1978@hotmail.com>
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1330 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-09 20:05:52 +00:00
Vladislav Bolkhovitin
e63a865d23
BIDI fixes
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1329 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-09 13:53:57 +00:00
Bart Van Assche
a6e1b94e5b
- Changed default maximum control message size from 996 to 4096 bytes.
...
As a result, the maximum number of sg list elements that an initiator
can pass in one message increased from 58 to 251.
- Added kernel module parameter srp_max_message_size, which allows to
specify the maximum size of SRP control messages.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1328 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-07 11:56:51 +00:00
Bart Van Assche
2d083413a1
Fixed a sparse error that was introduced in r1324.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1327 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-07 10:15:23 +00:00
Vladislav Bolkhovitin
eaed144f79
Fix for user space part of the iSCSI target, which refused connections in the procfs mode.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1326 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-06 19:28:27 +00:00
Vladislav Bolkhovitin
b5ea323927
Logging cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1325 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-06 19:05:09 +00:00
Vladislav Bolkhovitin
6153a079a3
iSCSI target sysfs "enabled" attribute implemented
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1324 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-06 18:41:37 +00:00
Vladislav Bolkhovitin
1ef8de232b
kobject tricky lifetime races fixed
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1323 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-06 18:39:52 +00:00
Vladislav Bolkhovitin
76390b3d31
Patch from Daniel Fernandes <dfernandes1978@hotmail.com> fixing more Validator errors.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1322 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-06 18:32:39 +00:00
Bart Van Assche
4a72d7efa3
Added command-line option -w.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1321 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-06 13:17:14 +00:00
Vladislav Bolkhovitin
a3460da98d
Data Domain added
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1320 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-06 11:55:00 +00:00
Vladislav Bolkhovitin
1ca3ccd06f
Patch from Daniel Fernandes <dfernandes1978@hotmail.com> fixing issues discovered by validator.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1319 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-05 14:34:38 +00:00
Vladislav Bolkhovitin
df8d5bb882
SVN access changed to trunk/
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1318 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-04 19:44:50 +00:00
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