Commit Graph

2989 Commits

Author SHA1 Message Date
Bart Van Assche
b16cd67df6 scst_local: Restore support for detecting LUN 16383 via a sequential scan (merge r5820 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6073 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 14:39:30 +00:00
Bart Van Assche
f92684c644 scst_local: Set max_id to 1 (merge r5786 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6072 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 14:37:57 +00:00
Bart Van Assche
86c9b76489 scst_local: Change max_lun into SCST_MAX_LUN (16383) (merge r5785 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6071 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 14:36:58 +00:00
Bart Van Assche
f7c66dea1a scst_local: Avoid that session deletion triggers a kernel warning (merge r5631 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6070 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 14:35:35 +00:00
Bart Van Assche
d526c3ee92 scst_local: Add close_session() callback function (merge r5601 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6069 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 14:34:33 +00:00
Bart Van Assche
3ed0f1a433 ib_srpt, Makefile: Introduce the OFED_KERNEL_DIR variable (merge r5473 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6068 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 14:05:58 +00:00
Bart Van Assche
3227ff306f ib_srpt, Makefile: Introduce the OFED_KERNEL_DIR variable (merge r5473 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6067 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 14:04:25 +00:00
Bart Van Assche
2006700dfa ib_srpt: Add support in the Makefile for MLNX OFED and for OFED 3.x (merge r5471 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6066 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 14:03:58 +00:00
Bart Van Assche
d3b312a5d4 ib_srpt/Makefile: Avoid that the build process depends on source control tools (merge r5361 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6065 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 14:03:27 +00:00
Bart Van Assche
75e7656dc3 ib_srpt: Minor build process terminology change (merge r5338 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6064 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 14:02:49 +00:00
Bart Van Assche
d18ffbcb54 Makefiles: Convert from "install" to "make modules_install" (merge r5284 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6063 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 14:02:11 +00:00
Bart Van Assche
60a712a523 regression tests: Sync with a recent sysfs change (merge r5581 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6062 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:59:23 +00:00
Bart Van Assche
e23942e050 Spelling fix: initator -> initiator (merge r5306 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6061 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:57:33 +00:00
Bart Van Assche
2e04d2b2bd regression tests: Filter out scstadmin version number (merge r5794 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6060 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:56:18 +00:00
Bart Van Assche
b0b449a7fb regression tests: Follow-up for r5409 (merge r5475 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6059 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:55:13 +00:00
Bart Van Assche
c40196ecc5 regression tests: Sort hash keys before comparing (merge r5582 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6058 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:54:20 +00:00
Bart Van Assche
452603a5fc scstadmin: Suppress a Perl warning (merge r5731 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6057 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:53:15 +00:00
Bart Van Assche
80af39b041 scstadmin: Restore LUNs in "scstadmin -list_sessions" output (merge r5409 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6056 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:52:29 +00:00
Bart Van Assche
d8c83a7456 Spelling fix: occured -> occurred (merge r5950 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6055 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:51:18 +00:00
Bart Van Assche
c0baa8b857 scst: Add force_close callback in target template (merge r4852 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6054 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:45:50 +00:00
Bart Van Assche
d0a1d3ae94 ib_srpt: Remove an unused variable
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6053 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:36:24 +00:00
Bart Van Assche
37d5958e37 scst_local: Add 64-bit LUN support (merge r5588 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6052 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:35:27 +00:00
Bart Van Assche
7f1f786ac2 scst_local: Remove two superfluous tests (merge r5385 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6051 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:33:22 +00:00
Bart Van Assche
67064cf9f0 scst_local: Add newline to sysfs output (merge r5308 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6050 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:32:28 +00:00
Bart Van Assche
638cc3becf scst_local: Remove an error message print statement (merge r5082 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6049 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:30:24 +00:00
Bart Van Assche
5c43e0ae6b scst_local: RHEL 5 fix (merge r4828 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6048 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:28:24 +00:00
Bart Van Assche
eeb40d2559 scst_local: Improve automatic queue depth adjustment for older kernels (merge r4800 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6047 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:27:19 +00:00
Bart Van Assche
3c6548d277 scst_local: Add automatic queue depth adjustment (merge r4798 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6046 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:26:24 +00:00
Bart Van Assche
cb856ee924 fcst: Remove an unused variable (merge r5605 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6045 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:19:14 +00:00
Bart Van Assche
f7e9bfc4da scst_mem: Spelling fix (merge r5952 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6044 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:17:17 +00:00
Bart Van Assche
ef01e8efbf scst_mem: Fix recently introduced sparse warnings (merge r5178 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6043 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:16:17 +00:00
Bart Van Assche
d1cb470258 Update for 3.17.x kernel series (merge r5582 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6042 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:14:32 +00:00
Bart Van Assche
eb41c9e15d scst: Add 64-bit LUN support (merge r5587 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6041 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:03:18 +00:00
Bart Van Assche
fdaee30dd1 ib_srpt: Kernel 3.17 build fix (merge r5725 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6040 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 13:00:33 +00:00
Bart Van Assche
0176d806ad Convert strict_strtoul() and simple_strtoul() into kstrtoul() or sscanf() (merge r4137 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6039 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 12:59:03 +00:00
Bart Van Assche
1c8d735825 Port to kernel 3.16 (merge r5717 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6038 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 12:51:35 +00:00
Bart Van Assche
7e817c3d70 iscsi-scst: Handle data buffers with non-zero offset correctly (merge r5281 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5699 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-21 16:41:57 +00:00
Bart Van Assche
6ad4000fc3 nightly build: Merge r5541:5642 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5644 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-06-29 05:55:00 +00:00
Bart Van Assche
d384c5210b scripts: Merge r5337:5642 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5643 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-06-29 05:54:01 +00:00
Bart Van Assche
66c239c95d nightly build: Add kernel 3.15 build infrastructure (merge r5611 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5642 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-06-29 05:51:09 +00:00
Bart Van Assche
51a29a310e Update for 3.15 kernels (merge r5610 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5641 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-06-29 05:50:05 +00:00
Bart Van Assche
575b26cb62 scripts/generate-kernel-patch: Add support for kernel versions 3.2.>=57
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5640 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-06-29 05:46:18 +00:00
Bart Van Assche
3ff5efd580 scripts/generate-kernel-patch: Fix for kernel versions 3.7, 3.10, 3.12 and 3.13 (merge r5399 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5639 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-06-29 05:44:50 +00:00
Bart Van Assche
548f229efb ib_srpt: Build fix for kernel version 3.13 and later
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5553 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-24 07:03:12 +00:00
Bart Van Assche
1910a00ed9 regression tests: Run the 2.6.26..2.6.32 tests on the sysfs code instead of procfs (merge r5270 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5552 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-24 06:11:23 +00:00
Bart Van Assche
12fc7d0e0f Add iscsi-scst/kernel/patches/rhel/put_page_callback-2.6.32-279.patch (merge r4535 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5551 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-24 06:08:26 +00:00
Bart Van Assche
651c38d866 Add iscsi-scst/kernel/patches/rhel/put_page_callback-2.6.32-358.patch (merge r5162 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5550 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-24 06:07:29 +00:00
Bart Van Assche
3b5c682647 Add iscsi-scst/kernel/patches/rhel/put_page_callback-2.6.32-431.patch (merge r5171 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5549 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-24 06:06:30 +00:00
Bart Van Assche
eb8758d0dd Add iscsi-scst/kernel/patches/put_page_callback-3.2.57.patch (merge r5450 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5548 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-24 06:04:26 +00:00
Bart Van Assche
62ab339c71 scst_vdisk: Fix READ CAPACITY(10) (merge r5388 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5546 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-23 09:28:32 +00:00