Commit Graph
4826 Commits
Author SHA1 Message Date
Bart Van Assche ea85435911 scst.h: Spelling fix: overriden -> overridden
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-06-07 06:23:14 -07:00
Bart Van Assche d8fc1d7423 Merge branch 'svn-trunk' 2015-06-06 16:31:16 -07:00
Vladislav Bolkhovitin d1bd22afd9 scst_user: avoid global locks
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6221 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-06 04:35:06 +00:00
Vladislav Bolkhovitin 62fcbdc434 QLogic README updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6220 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-06 02:06:34 +00:00
Vladislav Bolkhovitin eb8e0d6126 Cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6219 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-06 01:49:34 +00:00
Vladislav Bolkhovitin 21cb8657a9 Logging improvement
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6218 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-06 01:22:46 +00:00
Vladislav Bolkhovitin a34966fbda QLogic driver web page updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6217 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-06 00:49:52 +00:00
Vladislav Bolkhovitin d5336a72b3 Logging improvements
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6216 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-05 23:53:22 +00:00
Vladislav Bolkhovitin a4fc2e5638 scst: use t10_pi_tuple
Use t10_pi_tuple instead of scst_dif_tuple.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6215 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-05 02:15:09 +00:00
Vladislav Bolkhovitin 2d2621536e Commands suspending clarified
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6214 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-05 01:31:18 +00:00
Bart Van Assche 7ccc3033ec scstadmin, installation: Make the activation command output easier to read
Reported-by: Chris Weiss <cweiss@gmail.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6213 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-03 20:21:34 +00:00
Vladislav Bolkhovitin d971c47cad "How To install SCST on Ubutuntu 15.04 with in-tree kernel patches" added, thanks to Chris Weiss
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6212 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-02 02:35:45 +00:00
Vladislav Bolkhovitin 2c7dd187eb Document generate-kernel-patch and generate-patched-kernel scripts
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6211 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-02 02:27:26 +00:00
Bart Van Assche ec6c9386c7 ib_srpt: Change default behavior from using SRQ to not using SRQ 2015-05-22 12:28:20 +02:00
Vladislav Bolkhovitin c236c36778 Microoptimizations
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6210 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-05-21 01:38:55 +00:00
Vladislav Bolkhovitin e0887beef6 Forwarding targets attribute added
See the patch for description



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6209 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-05-21 01:36:34 +00:00
Vladislav Bolkhovitin a422ba3cc9 Unaligned I/O statistics added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6208 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-05-21 01:28:58 +00:00
Bart Van Assche 1f3ca26cc7 nightly build: Update kernel versions
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-20 09:09:26 +02:00
Bart Van Assche 397f1b8d07 nightly build: Update kernel versions
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-14 06:52:42 +02:00
Vladislav Bolkhovitin dd3799d62a Disable preemption during tasklet schedule for per-CPU variable usage
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6206 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-05-09 03:17:16 +00:00
Vladislav Bolkhovitin 93dc546f3b Fix typo in the new QLA git qla_extraclean target
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6205 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-05-09 03:16:19 +00:00
Bart Van Assche 453d09164d nightly build: Update kernel versions
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-08 07:40:50 +02:00
Bart Van Assche 00bf2ee083 qla2x00t: Fix a potential buffer overflow
Detected by Coverity.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-07 15:55:22 +02:00
Bart Van Assche 3213130f66 qla2x00t: Fix a potential buffer overflow
Detected by Coverity.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-07 15:55:22 +02:00
Bart Van Assche 823e4dd887 qla2x00t: Change type of first argument of qla24xx_prep_ct_fm_req()
This makes it easier for Coverity to analyze this code.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-07 15:55:22 +02:00
Bart Van Assche 2ef13131b4 iscsiadm: Fix a resource leak in an error path
Detected by Coverity.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-07 15:20:44 +02:00
Bart Van Assche fbbea79704 iscsi-scstd: Annotate a fall-through for Coverity
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-07 15:20:44 +02:00
Bart Van Assche 035b12c8a7 Merge branch 'svn-trunk' 2015-05-07 11:14:57 +02:00
Bart Van Assche f4d718309d iscsi-scstd: Constify several function arguments
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-07 11:13:51 +02:00
Bart Van Assche a92e509177 iscsi-scstd: Suppress a compiler warning
Avoid that gcc reports the following compiler warning:

message.c:197:44: warning: 'rsp_data_sz' may be used uninitialized in this function [-Wmaybe-uninitialized]

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-07 11:13:50 +02:00
Bart Van Assche 9915d5a016 iscsi-scstd: Allow the compiler to inline functions
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-07 11:10:53 +02:00
Vladislav Bolkhovitin c6c52f4a71 Fix FAILFAST for pass-through requests
It seems that REQ_QUIET and REQ_FAILFAST flags were confused. We want
both printed information in the logs about backend devices IO faulires
and fail fast pass-through requests without extra retries. Setting
rq->retries along is not sufficient, because in the kernel code retries
and the FAILFAST bitfields control behavior of different kernel pieces,
so they need to be used together. For instance, blk_noretry_request()
has no idea about rq->retries.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6204 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-05-07 02:21:35 +00:00
Bart Van Assche e1a1667e51 fileio: Fix a potential buffer overflow
Detected by Coverity.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-06 14:57:14 +02:00
Bart Van Assche 60decfb5b8 SCST RPMs: Build in release mode
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-06 14:57:14 +02:00
Bart Van Assche afca3efc45 qla2x00t: Help Coverity with analyzing ct_sns_pkt initialization
This patch does not change any functionality. See also the upstream
patch "qla2xxx: Help Coverity with analyzing ct_sns_pkt initialization".

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-06 14:57:14 +02:00
Bart Van Assche 43cbdda736 qla2x00t: Fix a potential buffer overflow
Detected by Coverity.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-06 14:57:14 +02:00
Bart Van Assche bd20e1fcf7 ib_srpt, make clean: Remove all temporary files
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-06 14:57:14 +02:00
Bart Van Assche fbefda3445 iscsiadm: Fix a resource leak
Detected by Coverity.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-06 14:57:14 +02:00
Bart Van Assche d479592413 iscsiadm: Fix strerror() argument
Detected by Coverity.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-06 14:57:14 +02:00
Bart Van Assche e7905028e8 iscsiadm: Fix a (harmless) incorrect sizeof() expression
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-06 14:57:14 +02:00
Bart Van Assche d37f120a01 iscsiadm: Fix a file descriptor leak in an error path
Detected by Coverity.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-06 14:57:14 +02:00
Bart Van Assche 484ad85aca iscsi-scstd: Fix a resource leak in an error path
Detected by Coverity.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-06 14:57:14 +02:00
Bart Van Assche 94af8a1082 iscsi-scstd: Fix a file descriptor leak
Detected by Coverity.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-06 14:57:14 +02:00
Bart Van Assche 3eddafe90c iscsi-scstd: Avoid that Coverity complains about a use-after-free
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-06 14:57:14 +02:00
Bart Van Assche d681f8e287 iscsi-scstd: Annotate fall-throughs for Coverity
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-06 14:57:14 +02:00
Bart Van Assche ec8f308851 iscsi-scstd: Move two local variables to suppress a Coverity complaint
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-06 14:57:14 +02:00
Bart Van Assche 40c4078e97 iscsi-scstd: Fix a file descriptor leak in an error path
Detected by Coverity.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-06 14:57:14 +02:00
Bart Van Assche 9da649131f iscsi-scstd: Fix a dereference-before-null-check
Detected by Coverity.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-06 14:57:14 +02:00
Bart Van Assche 1fc64916e5 iscsi-scstd: Fix a memory leak in the iSNS code
Detected by Coverity.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-06 14:57:14 +02:00
Bart Van Assche 39f46daa44 iscsi-scstd: Rearrange driver major number lookup code
Introduce a function for looking up the driver major number.
This patch does not change any functionality but makes the source
code easier to read and also makes it easier for Coverity to
analyze this code.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
2015-05-06 14:57:14 +02:00