Vladislav Bolkhovitin
b1c8432588
Merged revisions 5933,5940 via svnmerge from
...
svn+ssh://vlnb@svn.code.sf.net/p/scst/svn/trunk
........
r5933 | vlnb | 2014-12-10 20:38:04 -0800 (Wed, 10 Dec 2014) | 11 lines
vdisk_blockio: Report invalid scatterlists
It is possible for a target driver to pass a scatterlist via
scst_cmd_set_tgt_sg() that is valid for the vdisk_fileio handler
but not for the vdisk_blockio handler. Complain loudly if an invalid
scatterlist is passed to vdisk_blockio because such scatterlists
cause silent data corruption with most Linux block drivers.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
........
r5940 | vlnb | 2014-12-18 19:55:14 -0800 (Thu, 18 Dec 2014) | 7 lines
Replace in cases, where sporadic failures are possible, HARDWARE ERROR
by INTERNAL TARGET FAILURE, which is retriable (some OS'es don't retry
HARDWARE ERROR)
Reported and suggested by Shahar Salzman <shahar.salzman@kaminario.com>
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@6109 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-21 04:07:53 +00:00
Bart Van Assche
b627ccf92f
rpm build: Add support for qla2x00t driver in QLogic git repository (merge r5929 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5930 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-09 12:34:50 +00:00
Bart Van Assche
c0418585fe
scst: Avoid complaints about unused variables (merge r5600 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5927 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-05 13:01:57 +00:00
Bart Van Assche
3ddf750f51
scst: Remove unused variables (merge r5585 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5926 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-05 12:59:32 +00:00
Bart Van Assche
f3f3a27273
scst_local: Add 64-bit LUN support (kernel 3.17 - merge r5588 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5925 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-05 12:56:59 +00:00
Bart Van Assche
314d4265d1
scst: Add 64-bit LUN support (kernel 3.17 - merge r5587 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5924 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-05 12:55:32 +00:00
Bart Van Assche
4efa37a0c7
scst_local: Set max_id to 1 (merge r5786 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5923 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-05 12:25:46 +00:00
Bart Van Assche
31daca921d
scst_local: Avoid that session deletion triggers a kernel warning (merge r5601 and 5631 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5922 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-05 12:24:23 +00:00
Bart Van Assche
d8da2ff95d
ib_srpt: Speed up kernel driver unloading after a cable pull (merge r5727 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5921 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-05 10:57:03 +00:00
Bart Van Assche
fe9540b213
scstadmin: Sync saved configuration files (merge r5793 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5920 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-05 10:50:41 +00:00
Bart Van Assche
bb002671ca
scstadmin regression tests: Merge r5475:5915 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5919 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-05 10:49:20 +00:00
Bart Van Assche
4834b768d5
scst: Clean up __scst_resume_activity() (merge r5589 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5918 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-05 10:33:22 +00:00
Bart Van Assche
e4868819ea
scst_lib: Fix READ POSITION parsing (merge r5740 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5917 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-05 10:30:54 +00:00
Bart Van Assche
b4b85efd6e
nightly: Merge r5720:5915 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5916 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-05 10:22:05 +00:00
Bart Van Assche
808301be78
iscsi-scst/kernel/patches/rhel/put_page_callback-2.6.32-504.patch: Add (merge r5904 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5915 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-05 10:01:49 +00:00
Bart Van Assche
a4a79cd572
scripts/generate-kernel-patch: Swap two filters (merge r5910 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5911 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-04 12:14:44 +00:00
Bart Van Assche
b47d6e3c8f
Build fixes for RHEL 6.6 kernel 2.6.32-504 (merge r5908 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5909 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-03 17:41:09 +00:00
Bart Van Assche
3680f57572
scripts: Merge 5827:5907 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5908 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-03 17:14:42 +00:00
Bart Van Assche
1871ca8abc
Add kernel 3.17 build infrastructure (merge r5883 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5907 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-03 17:13:06 +00:00
Bart Van Assche
c9100494b4
Update for kernel 3.17 (merge r5882 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5906 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-03 17:12:20 +00:00
Vladislav Bolkhovitin
f58278a211
Merged revisions 5856 via svnmerge from
...
svn+ssh://vlnb@svn.code.sf.net/p/scst/svn/trunk
........
r5856 | vlnb | 2014-11-14 17:55:27 -0800 (Fri, 14 Nov 2014) | 3 lines
Report RX data digest failures by default
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5858 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-15 05:38:28 +00:00
Vladislav Bolkhovitin
89e808a7e8
Merged revisions 5855 via svnmerge from
...
svn+ssh://vlnb@svn.code.sf.net/p/scst/svn/trunk
........
r5855 | vlnb | 2014-11-14 17:44:06 -0800 (Fri, 14 Nov 2014) | 3 lines
Ease severity of reporting unsupported REPORT LUNS SELECT REPORT value
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5857 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-15 05:35:50 +00:00
Bart Van Assche
3659c93d70
scst_mem: Fix a memory leak triggered by the scst_user driver (merge r5829 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5830 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-10-03 12:27:30 +00:00
Bart Van Assche
74d4cabe3a
scripts/generate-kernel-patch: Only generate scst_itf_ver.h if needed (merge r5827 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5828 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-10-03 12:24:27 +00:00
Bart Van Assche
3af3b655db
scripts/rebuild-rhel-kernel-rpm: Fix for invocation from current directory (merge r5744 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5826 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-10-03 12:10:28 +00:00
Bart Van Assche
40ce174457
scripts/rebuild-rhel-kernel-rpm: Add RHEL 7 support (merge r5712 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5825 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-10-03 12:08:24 +00:00
Bart Van Assche
a1012f2ebf
scripts/rebuild-rhel-kernel-rpm: Move code for downloading a RHEL (clone) RPM into a separate file (merge r5672 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5824 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-10-03 12:07:17 +00:00
Bart Van Assche
8aa19779f4
scripts: Merge r5533:5821 from trunk except rebuild-rhel-kernel-rpm
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5823 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-10-03 11:59:39 +00:00
Bart Van Assche
e2060eaaee
scripts/rebuild-rhel-kernel-rpm: Enable put_page_callback patch for RHEL 7 (merge r5817 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5822 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-10-03 11:51:13 +00:00
Vladislav Bolkhovitin
8868defd89
Version updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5815 d57e44dd-8a1f-0410-8b47-8ef2f437770f
v3.0.0
2014-09-20 05:52:06 +00:00
Bart Van Assche
51e9717728
vdisk_blockio: Make large COMPARE AND WRITE requests work for stacked block devices (merge r5811 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5813 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-17 11:18:17 +00:00
Bart Van Assche
38f613c069
scst_vdisk: Insert a blank line (merge r5810 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5812 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-17 11:14:38 +00:00
Bart Van Assche
e018e972c6
scst/src/Makefile: Make "make install" without prior "make" work (merge r5808 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5809 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-16 11:26:10 +00:00
Bart Van Assche
ef69510af0
ib_srpt: Make "make -j<n> install" work for n >= 2 if "make all" has not been run first (merge r5806 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5807 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-15 12:32:02 +00:00
Vladislav Bolkhovitin
ef01d3e0ac
Merged revisions 5802 via svnmerge from
...
svn+ssh://vlnb@svn.code.sf.net/p/scst/svn/trunk
........
r5802 | vlnb | 2014-09-12 18:13:29 -0700 (Fri, 12 Sep 2014) | 3 lines
Fix autofinding SCST headers in fileio_tgt
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5803 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-13 01:15:12 +00:00
Bart Van Assche
82dcb36065
fcst: Change version number from 0.3 into 3.0.0
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5800 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-12 11:19:21 +00:00
Bart Van Assche
b9e294349c
fcst/Makefile: Add release-archive target (merge r5798 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5799 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-12 11:17:49 +00:00
Bart Van Assche
1dd9dec15f
scstadmin: Suppress a Perl warning (merge r5731 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5778 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-04 13:55:04 +00:00
Bart Van Assche
7c6188422f
Pass-through error handling fix (merge r5703 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5777 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-04 13:49:12 +00:00
Bart Van Assche
6e4b41416e
scst_pres: Make a few error messages more clear (merge r5733 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5776 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-04 13:46:14 +00:00
Bart Van Assche
66af9edb6e
Forbid using '.' in PR and mode page file names (merge r5702 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5775 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-04 13:44:08 +00:00
Bart Van Assche
14187b9810
Add support for the RHEL 7 kernel (merge r5710:5711 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5774 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-04 13:29:18 +00:00
Bart Van Assche
7f2d82eb14
scripts/kernel-functions: Handle 3.x.0 kernel versions correctly (merge r5658 and r5661 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5773 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-04 13:13:52 +00:00
Bart Van Assche
0d3085ddef
scripts/generate-patched-kernel: Fix for invocation from current directory (merge r5659 and r5745 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5772 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-04 13:11:23 +00:00
Bart Van Assche
2c9cfa303c
iscsi-scst: Micro-optimize cmnd_prepare_recv_pdu() (merge r5735 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5771 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-04 13:06:38 +00:00
Bart Van Assche
4513e2441b
iscsi-scst: Build fix for IPV6=n (merge r5732 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5770 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-04 13:02:42 +00:00
Bart Van Assche
941e51b727
ib_srpt: Version 3.0.0
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5768 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-04 12:45:59 +00:00
Bart Van Assche
03c07d835c
Update for kernel 3.16 (merge r5717 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5766 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-03 14:27:09 +00:00
Bart Van Assche
4ba96140a5
scst_vdisk: Use parentheses around && inside ||
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5765 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-03 14:25:53 +00:00
Bart Van Assche
5d37dc5c4b
scst.h: Fix definition of __aligned() (merge r5762 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5763 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-03 14:01:04 +00:00