- 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
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
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
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
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
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
- 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
- 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
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