Commit Graph
450 Commits
Author SHA1 Message Date
Vladislav Bolkhovitin 90f46b1416 Merged revisions 6896,6905,6908-6910,6912-6914,6917-6921 via svnmerge from
svn+ssh://svn.code.sf.net/p/scst/svn/trunk

........
  r6896 | bvassche | 2016-06-08 14:19:24 -0700 (Wed, 08 Jun 2016) | 1 line
  
  ib_srpt: Port to Linux kernel v4.7
........
  r6905 | vlnb | 2016-06-29 21:05:14 -0700 (Wed, 29 Jun 2016) | 8 lines
  
  scst: fix possible error path crash in debug mode
  
  It could happen, if a non-pass-through dev handler erroneously returned
  SCST_EXEC_NOT_COMPLETED and TRAGE_DBG() statements enabled in debug mode.
  
  Reported-by: Jeff Goldszer <jeff.goldszer@alebra.com>
........
  r6908 | vlnb | 2016-07-01 18:42:49 -0700 (Fri, 01 Jul 2016) | 8 lines
  
  iscsi-scst: handle a case in target_del() where the target was already freed
  
  target_del() calls handle_iscsi_events() which may recursively call target_del().
  The 1st target_del() may resume its execution after the target object was already freed.
  
  Signed-off-by: Erez Zilber <erezzi.list@gmail.com>
........
  r6909 | vlnb | 2016-07-13 16:24:41 -0700 (Wed, 13 Jul 2016) | 3 lines
  
  README.dlm update to refer to LVB truncation prevention patch
........
  r6910 | vlnb | 2016-07-13 18:33:20 -0700 (Wed, 13 Jul 2016) | 3 lines
  
  README.dlm: update ToDo to reflect recently discovered APTL issue
........
  r6912 | bvassche | 2016-07-22 09:48:38 -0700 (Fri, 22 Jul 2016) | 9 lines
  
  scst_dlm: Initialize reg->dlm_idx for PR information loaded from disk
  
  This patch avoids that the following kernel warning appears while
  starting SCST after having loaded APTPL PR information:
  
  WARNING: scst/src/scst_dlm.c:461 scst_copy_to_dlm()
  
  Reported-by: <consus@gmx.com>
........
  r6913 | bvassche | 2016-07-22 09:50:31 -0700 (Fri, 22 Jul 2016) | 2 lines
  
  scst_pres: Modify scst_pr_sync_device_file() function prototype
........
  r6914 | bvassche | 2016-07-22 09:51:07 -0700 (Fri, 22 Jul 2016) | 2 lines
  
  scst_pres: Save APTPL PR info on both nodes
........
  r6917 | vlnb | 2016-07-25 18:42:26 -0700 (Mon, 25 Jul 2016) | 10 lines
  
  iscsi-scst: increase past CmdSN window to 2048
  
  On modern storage there might be more, than 128, commands queued, so
  previous CmdSN window might be too small and on unstable networks lead
  to infinite retries. For more infor see thread
  https://sourceforge.net/p/scst/mailman/message/35238904.
  
  Reported-By: Lev Vainblat <lev@zadarastorage.com>
........
  r6918 | vlnb | 2016-07-25 19:04:34 -0700 (Mon, 25 Jul 2016) | 3 lines
  
  scst: small post-r6913 cleanup
........
  r6919 | bvassche | 2016-07-26 10:26:17 -0700 (Tue, 26 Jul 2016) | 1 line
  
  /etc/init.d/scst: Make this script work on recent versions of Ubuntu Linux
........
  r6920 | bvassche | 2016-08-02 09:31:00 -0700 (Tue, 02 Aug 2016) | 2 lines
  
  scst_dlm: Instantiate lockspace as soon as cluster mode is enabled
........
  r6921 | vlnb | 2016-08-02 18:43:24 -0700 (Tue, 02 Aug 2016) | 3 lines
  
  scst: Update README.dlm
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6922 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-08-03 01:55:28 +00:00
Vladislav Bolkhovitin b737e3e036 Since it is release branch, switch to release mode by default
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6893 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-05-27 02:30:36 +00:00
Bart Van Assche 4e003b19df isert: Merge r6875:6879 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6880 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-04-26 14:30:46 +00:00
Vladislav Bolkhovitin 660fd30d85 Merged revisions 6821,6824-6825,6827-6828,6835,6858,6863,6865-6867 via svnmerge from
svn+ssh://svn.code.sf.net/p/scst/svn/trunk

........
  r6821 | vlnb | 2016-03-01 20:13:42 -0800 (Tue, 01 Mar 2016) | 8 lines
  
  iscsi-scst: fix possible recursive locking
  
  cmnd_done() called from cmnd_put() can take cmd_list_lock, so it must
  not be called under it.
  
  Reported and tested by David Chen <david.chen@osnexus.com>
........
  r6824 | bvassche | 2016-03-08 10:24:23 -0800 (Tue, 08 Mar 2016) | 8 lines
  
  scst_vdisk: Fix kfree() argument in vdev_size_store() error path
  
  The wrong variable is freed in the vdev_size_store() error path.
  Pass 'new_size' instead of 'buf' to kfree().
  
  Signed-off-by: Sebastian Parschauer <sebastian.riemer@profitbricks.com>
  [ bvanassche: edited patch description ]
........
  r6825 | vlnb | 2016-03-09 21:00:01 -0800 (Wed, 09 Mar 2016) | 6 lines
  
  qla2x00t: decrease severity of 2 log messages
  
  Those messages don't necessare mean any error. Some harmless race
  conditions between the target driver and FW can lead to them as well.
........
  r6827 | vlnb | 2016-03-10 19:10:04 -0800 (Thu, 10 Mar 2016) | 8 lines
  
  This limits target group state changes to only apply to targets local to the host.
  This prevents the devices being blocked offline by changes to non-local targets.
  
  Signed-off-by: Adrian Saul <adrian.saul@tpgtelecom.com.au>
  
  with some minor corrections
........
  r6828 | vlnb | 2016-03-10 19:27:53 -0800 (Thu, 10 Mar 2016) | 3 lines
  
  scst_vdisk: warning clarification
........
  r6835 | bvassche | 2016-03-23 21:08:12 -0700 (Wed, 23 Mar 2016) | 2 lines
  
  scst: Port to Linux kernel v4.6
........
  r6858 | bvassche | 2016-04-11 12:59:59 -0700 (Mon, 11 Apr 2016) | 5 lines
  
  scst: Kernel v4.6-rc3 build fix
  
  See also patch "mm: drop PAGE_CACHE_* and page_cache_{get,release}
  definition".
........
  r6863 | vlnb | 2016-04-19 21:00:00 -0700 (Tue, 19 Apr 2016) | 3 lines
  
  scst_user: improve backward compatibility with handlers relying on obsolete SCST_USER_UNREGISTER_DEVICE call
........
  r6865 | vlnb | 2016-04-19 21:29:34 -0700 (Tue, 19 Apr 2016) | 3 lines
  
  scst: decrease severity of "Copy Manager already registered" message, because it is harmless
........
  r6866 | vlnb | 2016-04-19 21:34:43 -0700 (Tue, 19 Apr 2016) | 3 lines
  
  Follow-up for the previous commit
........
  r6867 | vlnb | 2016-04-19 21:52:58 -0700 (Tue, 19 Apr 2016) | 5 lines
  
  scstadmin: prevent saving statistical dif_checks_failed attribute
  
  From Marc Smith <marc.smith@mcc.edu>
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6869 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-04-21 01:00:41 +00:00
Vladislav Bolkhovitin c41a878488 Merged revisions 6777,6801,6806,6815 via svnmerge from
svn+ssh://svn.code.sf.net/p/scst/svn/trunk



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6829 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-03-11 03:35:11 +00:00
Bart Van Assche 04544e0bd9 isert-scst: Port to Linux kernel v4.5 (merge r6798 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6799 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-16 19:37:58 +00:00
Bart Van Assche fa1d634262 iscsi-scst: Unbreak nightly build (merge r6740 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6761 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 15:54:50 +00:00
Bart Van Assche 564015a95e iscsi-scst: RHEL 7.2 build fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6760 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 15:51:10 +00:00
Bart Van Assche d2e17ff514 iscsi-scst, procfs: Fix a compiler warning (merge r6742 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6750 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 15:09:48 +00:00
Vladislav Bolkhovitin e35e79706e Merged revisions 6693-6701 via svnmerge from
svn://svn.code.sf.net/p/scst/svn/trunk

........
  r6693 | vlnb | 2015-11-17 19:59:30 -0800 (Tue, 17 Nov 2015) | 5 lines
  
  scst: Add user space control for suspend/resume activities
  
  Useful to speed up mass management
........
  r6694 | vlnb | 2015-11-17 20:09:50 -0800 (Tue, 17 Nov 2015) | 6 lines
  
  scst: Rework Copy Manager's sysfs interface
  
  The old version had management incompatible with scstadmin and had
  issues with LUNs management.
........
  r6695 | bvassche | 2015-11-18 11:36:01 -0800 (Wed, 18 Nov 2015) | 8 lines
  
  scst: Make it easier to build without DLM support
  
  With this change all that is required to build without DLM support
  is to add the following in scst_priv.h:
  
  #undef CONFIG_DLM
  #undef CONFIG_DLM_MODULE
........
  r6696 | bvassche | 2015-11-18 14:10:03 -0800 (Wed, 18 Nov 2015) | 2 lines
  
  scst_pres: Suppress a compiler warning when building against a kernel with no DLM support
........
  r6697 | bvassche | 2015-11-18 14:10:33 -0800 (Wed, 18 Nov 2015) | 1 line
  
  scst_vdisk: Kernel v4.4 build fix
........
  r6698 | bvassche | 2015-11-18 14:10:54 -0800 (Wed, 18 Nov 2015) | 1 line
  
  ib_srpt: Kernel v4.4 build fix
........
  r6699 | bvassche | 2015-11-18 14:11:37 -0800 (Wed, 18 Nov 2015) | 1 line
  
  isert-scst: Port to Linux kernel v4.4
........
  r6700 | bvassche | 2015-11-18 14:44:29 -0800 (Wed, 18 Nov 2015) | 1 line
  
  scst: Do not build cluster PR support if CONFIG_SCST_NO_DLM has been set
........
  r6701 | vlnb | 2015-11-18 21:20:43 -0800 (Wed, 18 Nov 2015) | 3 lines
  
  scst: fix explicit ALUA disabled DIF type 2 handling
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6702 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-19 05:21:59 +00:00
Vladislav Bolkhovitin 408ae374ba Merged revisions 6596-6674,6679 via svnmerge from
svn+ssh://vlnb@svn.code.sf.net/p/scst/svn/trunk



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6681 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 03:57:17 +00:00
Bart Van Assche a8ecf61074 isert: Rename a function
Signed-off-by: Ariel Nahum <arieln@mellanox.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6566 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-29 15:57:32 +00:00
Bart Van Assche 0a2cdd1f64 iscsi-scst/kernel/Makefile.in-kernel: Sort file names alphabetically
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6563 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-28 21:11:06 +00:00
Bart Van Assche 46202aa823 isert: Fix null dereference in isert_cmnd allocation code
In a state where the list isert_conn->tx_free_list is empty
(mostly under traffic), we might fail to receive a command from
the isert command pool. This will result in later null deref.

In this case, busy-wait until a command will be available (will
be freed by the receive context).

[2158233.952087] BUG: unable to handle kernel NULL pointer dereference at (null)
[2158233.956023] IP: [<ffffffffa04e14d0>] isert_pdu_send+0xc0/0x1f0 [isert_scst]
....
[2158233.956023]  [<ffffffffa04d98c8>] ? isert_cmnd_alloc+0x78/0x110 [isert_scst]
[2158233.956023]  [<ffffffffa045b5a0>] req_cmnd_release+0x50/0x130 [iscsi_scst]
[2158233.956023]  [<ffffffffa04622cb>] iscsi_send_nop_in+0x19b/0x370 [iscsi_scst]

Signed-off-by: Ariel Nahum <arieln@mellanox.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6554 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-28 16:55:48 +00:00
Bart Van Assche bd6d12aa38 isert-scst: Kernel v4.3 build fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6521 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-29 00:07:48 +00:00
Bart Van Assche 0cbd279a34 isert-scst: Fix a checkpatch complaint about whitespace
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6506 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-16 16:31:01 +00:00
Bart Van Assche 175463ca84 isert-scst: Fix race condition between login request and scst teardown flow
On scst teardown we call rdma_disconnect() on all connections.
this moves the qps to error state and flushes all the wc, including
the drain wc which will results in kref_put of the connection.

In a race condition with the connection request, we might be only in
the init stage of the ref, and calling kref_put will result in refcount
0 and freeing the connection while establishing it.

Call the first kref_get before rdma_accept() to prevent this race.

Signed-off-by: Ariel Nahum <arieln@mellanox.com>
Signed-off-by: Yan Burman <yanb@mellanox.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6486 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-08-27 17:53:32 +00:00
Bart Van Assche dba2b1ac6b isert: Only set WR next pointer when needed
Signed-off-by: Yan Burman <yanb@mellanox.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6482 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-08-25 21:40:41 +00:00
Bart Van Assche 4fcec5f359 isert: Only set signalled flag when needed
Do not set signalled flag and then zero it for unneeded cases.
Instead only set it when necessary
    
Signed-off-by: Yan Burman <yanb@mellanox.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6481 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-08-25 21:40:11 +00:00
Bart Van Assche 58cfc4f8b8 iscsi: Only use thread pool for TCP but not for iSER
Signed-off-by: Yan Burman <yanb@mellanox.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6480 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-08-25 21:39:39 +00:00
Vladislav Bolkhovitin 45d7f40ec1 Improve release logging
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6478 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-08-25 02:57:51 +00:00
Vladislav Bolkhovitin 20f523a1b3 Cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6477 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-08-25 02:56:08 +00:00
Bart Van Assche 7a9e1f1889 isert: Limit isert_nr_devs parameter to maximum we support
Signed-off-by: Yan Burman <yanb@mellanox.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6461 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-08-03 18:48:24 +00:00
Bart Van Assche 9105e9cf5d isert: Don't overwrite userspace if insufficient buffer is provided
Signed-off-by: Yan Burman <yanb@mellanox.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6460 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-08-03 18:46:16 +00:00
Vladislav Bolkhovitin e5e54f312b iscsi-scst: Move old TM response dropping to preparing new response stage
The second TM request can come while the old one, response for which is
going to be delayed, is still being processed, hence no response
prepared yet, so the delayed response should be dropped on the stage of
the new response preparing. Otherwise in this place the old delayed
response will trigger BUG_ON().



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6456 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-07-31 01:09:58 +00:00
Bart Van Assche 7a2d9043f6 isert: Fix use-after-free when work requests were submitted after drain_wr
We were submitting work requests sometimes after the drain_wr,
so we would try to process flushes on something that is already
destroyed. This can be seen with very high login/logout load.

Signed-off-by: Yan Burman <yanb@mellanox.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6428 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-07-27 15:26:09 +00:00
Bart Van Assche 6c0a869007 isert-scst: Linux kernel v4.2 ib_create_cq() build fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6427 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-07-14 23:57:42 +00:00
Bart Van Assche d05518f5bc isert-scst: Kernel v4.2 build fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6425 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-07-14 23:47:50 +00:00
Bart Van Assche 8eb3f31eea iscsi-scst: Fix parameter order in a debug statement
Signed-off-by: Alexey Obitotskiy <mobbitster@gmail.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6421 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-07-14 21:50:51 +00:00
Bart Van Assche ebcfc73439 isert: Allocate sge and wr structures dynamically
In order to be able to support large block sizes (larger than 512K),
we allocate required structured in a lazy fashion. This way we both support
large block sizes (over 512K and even over 1M). We also lower memory footprint
when smaller block sizes are used.

Signed-off-by: Yan Burman <yanb@mellanox.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6418 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-07-11 03:41:15 +00:00
Bart Van Assche 993f290908 isert-scst: Port this driver to RHEL 5
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6416 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-07-10 22:27:37 +00:00
Vladislav Bolkhovitin 1656efe689 iscsi-scst: small post-r6315 cleanup
Avoid that rd_task declared when it is not used



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6408 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-07-03 04:21:52 +00:00
Bart Van Assche 75369451a5 isert-scst/Kconfig: Add InfiniBand dependency
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6402 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-25 14:12:54 +00:00
Bart Van Assche 79c8bf1f7c iscsi-scst, isert-scst: One trace flags variable per kernel module
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6397 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-23 15:01:17 +00:00
Bart Van Assche f0e98ee4b2 isert-scst: Build fix for older kernel versions (< 2.6.29)
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6395 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-19 14:06:05 +00:00
Bart Van Assche 46915ef3e5 iscsi-scst: Fix a syntax error
Preprocessor directives are not allowed in argument lists of a macro.
This patch reverts r6317.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6393 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-17 05:00:20 +00:00
Bart Van Assche 40a90a705d isert-scst: Add address length check in isert_listen_ioctl()
Detected by Coverity.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6365 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-17 00:19:27 +00:00
Bart Van Assche 26cda0eb38 iscsi-scst: Annotate fall-through cases for Coverity
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6364 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-17 00:18:23 +00:00
Bart Van Assche 63cb4a9d40 iscsi-scst: Fix indentation
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6363 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-17 00:09:23 +00:00
Bart Van Assche 612fac9874 isert: Declare a local function static
Detected by checkpatch.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6354 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-16 23:55:52 +00:00
Bart Van Assche eb10fe3f7d iscsi-scst: Surround complex values with parentheses
Detected by checkpatch.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6353 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-16 23:55:22 +00:00
Bart Van Assche f272064c12 iscsi-scst: Suppress put_page_callback patch warnings
The put_page_callback patch only improves performance on single
socket systems but not on systems with multiple CPU sockets.
Since this message is confusing to SCST users, do not print a
warning if the put_page_callback patch has not been applied.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6340 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-16 23:10:28 +00:00
Bart Van Assche 6b3f45696a RHEL 7.1: Add put_page_callback patch
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6336 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-16 20:17:52 +00:00
Bart Van Assche 807c4eacf0 isert: Use break in default case
Detected by checkpatch.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6328 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-16 18:51:47 +00:00
Bart Van Assche 7c3b2c4ca6 iscsi-scst: Fix spelling in a source code comment
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6321 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-16 15:53:31 +00:00
Vladislav Bolkhovitin 3e9eaf6b29 iscsi-scst: small post-r6315 cleanup
Avoid that rd_task when it is not used



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6317 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-16 01:43:26 +00:00
Bart Van Assche 7566e2ed71 Avoid that compiler warnings depend on the build mode
It is annoying that some warnings are only reported in release mode.
Modify scst_debug.h such that the compiler does not report variables
that are only used in debug builds as unused.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6315 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-15 22:15:07 +00:00
Bart Van Assche 15535bf648 iscsi-scst: Suppress a compiler warning
Avoid that the compiler complains that the variable 'pad_bytes'
is not used with CONFIG_LIBCRC32C=n.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6314 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-15 22:06:29 +00:00
Bart Van Assche 0d9d6a6f57 isert-scst: Fix in-tree build
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6312 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-12 16:15:45 +00:00
Bart Van Assche a2a22c0b95 isert-scst: Shorten the compiler include path
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6311 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-12 15:31:05 +00:00