Bart Van Assche
2ff67c27cc
Removed trailing whitespace.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1366 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-28 08:24:10 +00:00
Vladislav Bolkhovitin
69d7b1eba7
Patch from Witold Kowolik <witoldk1@open-e.com> implementing manual setting of SCSI ID on vdisk devices (with some changes)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1365 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-27 18:52:23 +00:00
Vladislav Bolkhovitin
1de649c263
Followup for r1361
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1364 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-27 18:22:45 +00:00
Bart Van Assche
e6f5aa8865
Changes:
...
- The message that sense data is truncated is now generated via the
PRINT_WARNING() macro instead of TRACE_DBG().
- Cleaned up code for sense data truncation.
- Compiles again on RHEL and CentOS systems.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1363 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-27 17:52:47 +00:00
Bart Van Assche
1065e2d317
Log sense data truncation when debugging is enabled.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1362 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-27 12:10:59 +00:00
Vladislav Bolkhovitin
f381dbb74c
Device sysfs locking reconsidered to remove recently introduced deadlock possibility.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1361 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-26 18:39:13 +00:00
Vladislav Bolkhovitin
a4f3af18bb
Improve fairness between connections.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1360 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-24 19:50:11 +00:00
Vladislav Bolkhovitin
d3665768f0
Logos rearranged
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1359 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-24 11:52:54 +00:00
Vladislav Bolkhovitin
78ec60df89
Fix for warning: 'res' may be used uninitialized in this function
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1358 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-23 18:43:03 +00:00
Vladislav Bolkhovitin
f0a5a62fd4
- Patch from Daniel Fernandes <dfernandes1978@hotmail.com> adding validator logos
...
- QStar Technologies added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1357 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-23 16:38:44 +00:00
Vladislav Bolkhovitin
2658982f05
- Patch from Daniel Fernandes <dfernandes1978@hotmail.com> fixing bug in URL reported by validator
...
- Soul company name fixed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1356 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-23 12:06:23 +00:00
Vladislav Bolkhovitin
78f387fe1b
Patch from Daniel Fernandes <dfernandes1978@hotmail.com>:
...
- Fixes Some code error in comparison.html
- Add class tab to Orange.css
- Add tab class in code inside Contributing.html
+ Beijing Soul Technology Co., Ltd. added on the users page
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1355 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-23 11:44:55 +00:00
Bart Van Assche
10530125a5
Whitespace-only change.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1354 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-23 08:40:51 +00:00
Bart Van Assche
495257b44e
- Added counter that keeps track of the number of work requests posted on
...
the per-channel queue pair. This counter is used to prevent that
ib_post_send() triggers a queue overflow.
- Fixed error handling in srpt_xfer_data(): srpt_unmap_sg_to_ib_sge() is now
called before returning an error code.
- Simplified implementation of the sysfs attribute login_info.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1353 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-22 18:42:35 +00:00
Vladislav Bolkhovitin
c918eb371e
gcc 4.4.1 (as included in openSUSE 11.2) complains about the user-space iSCSI code because it breaks strict-aliasing rules. The reported warnings should be addressed because not doing so can result in the compiler generating incorrect code. The patch below fixes these compiler warnings.
...
Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1352 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-20 19:53:12 +00:00
Vladislav Bolkhovitin
da022918e4
Patch from Daniel Fernandes <dfernandes1978@hotmail.com> fixing a bit incorrect layout on the users page
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1351 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-20 11:28:37 +00:00
Vladislav Bolkhovitin
8219791b72
Ordered reads groupped under single config symbol.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1350 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-19 11:57:57 +00:00
Vladislav Bolkhovitin
4e65d67680
Fix bug preventing pass-through dev handlers be loaded if SCSI_EXEC_REQ_FIFO_DEFINED not defined.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1349 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-19 10:22:25 +00:00
Vladislav Bolkhovitin
96e4adfb03
Minor web updates and fixes
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1348 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-18 13:57:58 +00:00
Bart Van Assche
e9e8884f41
Removed trailing whitespace.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1347 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-18 07:52:12 +00:00
Bart Van Assche
b9402438ff
Updated to do list once more.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1346 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-18 07:22:30 +00:00
Bart Van Assche
b01b495735
Updated to do list.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1345 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-17 20:03:35 +00:00
Bart Van Assche
a57d10033f
Added more comments.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1344 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-17 18:01:16 +00:00
Bart Van Assche
9d65e4fe05
Removed a BUILD_BUG_ON() statement that was too restrictive.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1343 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-17 18:00:23 +00:00
Vladislav Bolkhovitin
ef9469cefb
Fix for recently introduced incorrectly set expected data direction
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1342 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-17 13:53:03 +00:00
Vladislav Bolkhovitin
c3ad1a5075
Minor compiler and checkpatch fixes
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1341 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-17 12:59:49 +00:00
Vladislav Bolkhovitin
42d9b02d49
Web fixes from Daniel Fernandes <dfernandes1978@hotmail.com>
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1340 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-17 12:10:10 +00:00
Vladislav Bolkhovitin
ed22024642
Patch from Daniel Fernandes <dfernandes1978@hotmail.com>:
...
- Fixes wrong writing in using CompanySubTitles Class
- Fixes lost link for SCST Local in Pages scst_admin.html and handler_fileio_tgt.html
- Fixes Users.html page in Subtitles( I increase a little page space, and reduce a little font size)
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1339 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-16 18:19:46 +00:00
Vladislav Bolkhovitin
3261614731
- Fix for memory allocation for scst_user and locally handled commands
...
- Execution context cleanups and fixes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1338 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-16 18:05:10 +00:00
Vladislav Bolkhovitin
760b190ba2
Users page made logs based
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1337 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-16 17:22:27 +00:00
Bart Van Assche
9955ef7627
Since the expression "sizeof(*sense) + sizeof(*sense) % 4" did not make
...
sense, replaced this expression by "sizeof(*sense)" and a BUILD_BUG_ON()
statement that verifies that sizeof(*sense) is a multiple of four. Should
the first expression have been "roundup(sizeof(*sense), 4)" ?
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1336 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-15 13:14:40 +00:00
Bart Van Assche
bcec50e065
- Small performance improvement: ib_dma_sync_for_device() and
...
ib_dma_sync_for_cpu() calls do now only synchronize the data areas used.
- Removed per-command mutex again because it's not a full solution with
regard to avoiding races between module unloading / IB error handling and
SCST's command handling.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1335 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-15 13:11:46 +00:00
Bart Van Assche
0a657760e0
Fixed a (false positive) compiler warning.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1334 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-14 19:30:27 +00:00
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