Bart Van Assche
ec4d623028
ib_srpt: Fix nightly build
2016-12-19 15:15:48 +01:00
Bart Van Assche
6f639f07e2
ib_srpt, Makefile: Align shell code
2016-12-19 15:15:48 +01:00
Bart Van Assche
0fdb98e5d5
ib_srpt: Fix MOFED build
2016-12-19 15:15:48 +01:00
Bart Van Assche
1567392211
ib_srpt: CentOS 7.3 build fix
2016-12-19 11:38:13 +01:00
Bart Van Assche
250aead21d
ib_srpt: Only report that SRQ creation failed if it was attempted to create an SRQ
2016-12-19 11:38:13 +01:00
Bart Van Assche
34d98213ef
ib_srpt: Destroy SRQ before freeing the buffers posted on the SRQ
2016-12-19 11:38:13 +01:00
Bart Van Assche
c500c848be
ib_srpt: Rename a symbolic constant
2016-12-19 11:38:13 +01:00
Bart Van Assche
f9e116c68f
ib_srpt: Remove a local variable
2016-12-19 11:38:13 +01:00
Bart Van Assche
c555a0135f
ib_srpt: Join two lines
2016-12-19 11:37:29 +01:00
Bart Van Assche
b495223128
ib_srpt: Add support for kernels without ib_device.dma_ops
2016-12-19 11:37:28 +01:00
Bart Van Assche
574d6f327b
ib_srpt: Simplify a debug statement
2016-12-19 11:37:28 +01:00
Bart Van Assche
804bead1ab
Merge branch 'svn-trunk'
2016-12-01 18:07:11 -08:00
Bart Van Assche
b3893277be
ib_srpt: Reduce build time
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7048 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-12-01 16:19:40 +00:00
Bart Van Assche
7cb08382ac
ib_srpt Makefile: Follow-up for trunk r6138
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7047 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-12-01 16:19:14 +00:00
Bart Van Assche
dca84e290b
ib_srpt: Only complain if immediate data has to be copied if CONFIG_SLUB_DEBUG=n
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7046 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-12-01 16:18:39 +00:00
Bart Van Assche
2ceb46b6f0
Merge branch 'svn-trunk'
2016-11-30 21:32:09 -08:00
Bart Van Assche
7d6dda42f4
*/*/Makefile-4.*: Remove because no longer needed
2016-11-30 21:31:41 -08:00
Bart Van Assche
34bf6df75d
iscsi-scst: Restore msg->msg_iov check
2016-11-30 21:31:41 -08:00
Bart Van Assche
585e1a9e65
scst_vdisk: Sync with svn-trunk
2016-11-30 21:31:41 -08:00
Bart Van Assche
2470b10ad0
scst_vdisk: Remove more unneeded casts
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7045 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-12-01 05:22:01 +00:00
Bart Van Assche
e42dfbbb72
scst_vdisk: Remove a superfluous cast
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7044 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-12-01 05:16:15 +00:00
Bart Van Assche
c9eae551f5
scst.spec.in: Remove %dir /lib/modules/%{kversion}/extra
...
This avoids that the SCST RPM conflicts with other kernel RPMs
that install kernel modules in the "extra" directory. Reported
and suggested by Consus <consus@gmx.com >.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7043 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-12-01 05:10:43 +00:00
Bart Van Assche
07e91f348e
scripts/run-regression-tests: Avoid that "make oldconfig" hangs
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7042 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-12-01 05:08:58 +00:00
Bart Van Assche
89e17d75c9
scst: Use READ_ONCE() instead of ACCESS_ONCE()
...
This is a stylistic change only.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7041 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-12-01 05:07:48 +00:00
Bart Van Assche
38991d1222
scst_mem: Fix indentation
...
See also trunk r677.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7040 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-12-01 05:06:36 +00:00
Bart Van Assche
5a28661cc6
Merge branch 'svn-trunk'
2016-11-29 19:22:48 -08:00
Vladislav Bolkhovitin
1dd41fa380
generate-kernel-patch: fix custom cross-compilation kernel case
...
Otherwise there is non-fatal error like: No such file or directory
grep: /lib/modules/<current_running_kernel>/build/.config: Permission denied
This is a better version of r7022 suggested by Bart
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7037 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-30 03:06:38 +00:00
Bart Van Assche
92d58ab9f5
Merge branch 'svn-trunk'
2016-11-26 11:25:45 -08:00
Bart Van Assche
a274e9a82b
scripts/run-regression-tests: Disable CONFIG_STACK_VALIDATION and CONFIG_X86_X32
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7036 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-26 19:25:30 +00:00
Bart Van Assche
af36dbc1f4
scripts/generate-kernel-patch: Fix shellcheck warnings
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7035 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-26 19:25:06 +00:00
Bart Van Assche
37cd6430e7
Merge branch 'svn-trunk'
2016-11-24 09:33:17 -08:00
Bart Van Assche
2c9728e4cf
iscsi-scst/Makefile: Fix INFINIBAND_ENABLED test
...
Running "make install" ensures that the kernel config file is available
in $(KDIR)/.config. However, that file is not available if $(KDIR) points
at a kernel that comes from a Linux distributor. Hence change the
$(INFINIBAND_ENABLED) test to check $(KDIR)/../modules.symbols.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7034 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-24 17:32:40 +00:00
Bart Van Assche
881402bdc3
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7033 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-24 17:15:14 +00:00
Bart Van Assche
6ba9d088ee
scripts/generate-kernel-patch: Revert r7022
...
Revert r7022 because:
* Changing $kver3 into $kver is wrong for 2.x kernels.
* Building include/iscsi_scst_itf_ver.h must not depend on the kernel version.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7032 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-24 16:53:00 +00:00
Bart Van Assche
7df42099eb
Merge branch 'svn-trunk'
2016-11-23 20:26:50 -08:00
Vladislav Bolkhovitin
6258844d60
scst: fix overflows handling for tapes
...
Reported and tested by Matthew D. Frederes <matt@bitech.biz >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7029 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-23 03:45:35 +00:00
Bart Van Assche
bb09dc08c9
Merge branch 'svn-trunk'
2016-11-16 21:26:03 -08:00
Vladislav Bolkhovitin
9ed7b217e3
generate-kernel-patch: optimize generation of Makefile for scst_local
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7028 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-17 05:24:07 +00:00
Vladislav Bolkhovitin
84c71bc53e
generate-kernel-patch: optimize generation of Makefile.drivers patch
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7027 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-17 05:18:55 +00:00
Vladislav Bolkhovitin
11be80dac7
generate-kernel-patch: optimize generation of Makefile for drivers/Kconfig
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7026 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-17 05:12:33 +00:00
Vladislav Bolkhovitin
66b195dd2f
generate-kernel-patch: optimize generation of Makefile for scst
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7025 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-17 05:06:59 +00:00
Vladislav Bolkhovitin
fc892680c8
generate-kernel-patch: optimize generation of Makefile for dev_handlers
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7024 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-17 04:55:15 +00:00
Vladislav Bolkhovitin
7083e395e9
generate-kernel-patch: optimize generation of Makefile for qla2x00t
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7023 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-17 04:44:48 +00:00
Vladislav Bolkhovitin
b2fa7521a7
generate-kernel-patch: fix custom cross-compilation kernel case
...
Otherwise there is non-fatal error like: No such file or directory
grep: /lib/modules/<current_running_kernel>/build/.config: Permission denied
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7022 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-17 04:33:38 +00:00
Bart Van Assche
efe9ed54e7
Merge branch 'svn-trunk'
2016-11-09 21:49:05 -08:00
Bart Van Assche
7f1d8c91b1
iscsi-scst: Port to Linux kernel versions >= v4.7
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7021 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-10-26 21:33:50 +00:00
Bart Van Assche
9eb7eb7fd2
Merge branch 'svn-trunk'
2016-10-25 19:07:31 -07:00
Bart Van Assche
599a059cf8
isert-scst: Port to Linux kernel v4.9
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7020 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-10-25 22:22:07 +00:00
Bart Van Assche
bfe9d77412
isert-scst: Cache L_Key
...
This patch does not change any functionality.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7019 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-10-25 22:21:46 +00:00
Bart Van Assche
8c04ce53f4
ib_srpt: Port to Linux kernel v4.9
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7018 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-10-25 20:50:34 +00:00