Bart Van Assche
09a2e79069
scst.spec, scst-dkms.spec: Use version of running kernel if %{kdir} has not been set
2018-03-03 15:27:48 -08:00
Bart Van Assche
295dfff14b
Makefile, rpm: Pass kdir to scst.spec
2018-03-03 15:19:07 -08:00
Bart Van Assche
33a182ab98
scst*.spec: Set default attributes for directories
2018-03-03 15:05:16 -08:00
Bart Van Assche
c87bcfb857
scstadmin: Remove 'use Test'
...
Since scstadmin doesn't use the Perl module 'Test', remove 'use Test'.
See also trunk r6736.
2018-03-03 14:00:17 -08:00
Bart Van Assche
ff297c892f
scst.spec, scstadmin.spec: Add support for Fedora
2018-03-03 08:30:04 -08:00
Bart Van Assche
78f7b0c596
Merge branch 'svn-trunk'
2018-02-22 20:12:10 -08:00
Vladislav Bolkhovitin
464b87730c
scst: make tgt_dev per-CPU array directly referenced
...
Modern distributions come with kernels configured for thousands CPUs
(NR_CPUS), which leads to per-CPU array of SGV pool references in each
tgt_dev exceed tens of KB requiring high order page allocations that are
not reliable on aged systems leading to inabilities to create new
sessions.
Reported-by: Jose Martins <jose.martins2307@gmail.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7373 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-16 05:27:51 +00:00
Bart Van Assche
73f84f5755
Merge branch 'svn-trunk'
2018-02-13 18:31:03 -08:00
Bart Van Assche
fa153f9b96
Add .cache.mk and *.o.d to multiple Subversion ignore lists
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7372 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-13 19:18:31 +00:00
Bart Van Assche
efb383cab4
ib_srpt: Kernel v4.16 build fix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7371 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-13 19:15:32 +00:00
Bart Van Assche
31b5d8ee79
Merge branch 'svn-trunk'
2018-02-10 08:13:49 -08:00
Bart Van Assche
a8e299b5e6
scst_const.h: Make WRITE_VERIFY_16 available to user space applications
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7370 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-10 05:58:02 +00:00
Bart Van Assche
2b68838191
Merge branch 'svn-trunk'
2018-02-07 21:43:43 -08:00
Bart Van Assche
39d9ce2bb5
Debian: Add support for older versions on which dpkg-buildpackage neither supports -ui nor -jauto
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7369 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-08 05:43:15 +00:00
Bart Van Assche
7ad5908619
Merge branch 'svn-trunk'
2018-02-07 20:34:02 -08:00
Bart Van Assche
d7dd927a07
Make Debian packaging also work for older Debian versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7368 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-08 00:21:20 +00:00
Bart Van Assche
f3d438ac01
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7367 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-07 21:32:46 +00:00
Bart Van Assche
3d2536c5ab
.gitignore: Update
2018-02-05 19:32:26 -08:00
Bart Van Assche
642c6f16e8
Merge branch 'svn-trunk'
2018-02-05 19:30:04 -08:00
Bart Van Assche
1aa2453add
dpkg: Build in release mode
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7366 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-06 03:26:33 +00:00
Bart Van Assche
47b9268d4f
dpkg: Enable stripping of binary and compression of manual pages
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7365 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-06 03:26:03 +00:00
Bart Van Assche
9ed469e4ee
Merge branch 'svn-trunk'
2018-02-05 19:22:23 -08:00
Bart Van Assche
80b20ded1b
dpkg: Remove SCST init script links after package uninstallation instead of before
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7364 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-06 03:22:14 +00:00
Bart Van Assche
6fc7c5676f
Merge branch 'svn-trunk'
2018-02-05 17:31:06 -08:00
Bart Van Assche
bcdb25e550
iscsi-scst, srpt: Remove MOFED_MAJOR and MOFED_MINOR definitions
...
Commit r7084 removed all users of MOFED_MAJOR. Hence also remove the
code that sets that variable. Note: MOFED_MINOR was never used in any
.c file.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7363 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-05 17:24:46 +00:00
Bart Van Assche
0dd06cbcb9
srpt/Makefile: Improve MOFED detection further
...
Ensure that MOFED is detected correctly on Debian systems on which the rpm
command has been installed ("alien" package).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7362 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-05 17:12:39 +00:00
Bart Van Assche
8ab8549e89
Merge branch 'svn-trunk'
2018-02-04 16:12:15 -08:00
Bart Van Assche
f0f5c0ae40
scst: Port DEFINE_TIMER() instances to kernel v4.15
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7361 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-05 00:12:07 +00:00
Bart Van Assche
719ecbea2a
Merge branch 'svn-trunk'
2018-02-04 15:58:36 -08:00
Bart Van Assche
86121f3ee4
scst: Reduce the object size slightly
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7360 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-04 23:57:14 +00:00
Bart Van Assche
c036d7afc3
scst/include/scst_debug.h: Insert a space to keep checkpatch happy
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7359 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-04 23:56:31 +00:00
Bart Van Assche
55a4f364f7
Merge branch 'svn-trunk'
2018-02-04 15:17:03 -08:00
Bart Van Assche
a290c4ea4b
qla2x00t: Remove a cast from a debug statement
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7358 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-04 23:14:43 +00:00
Bart Van Assche
993cf71424
qla2x00t: Fix kernel-doc header inconsistencies
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7357 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-04 23:06:21 +00:00
Bart Van Assche
39139632db
scst: Document scst_register_session_mq() arguments
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7356 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-04 23:05:58 +00:00
Bart Van Assche
38a3ad3b42
Merge branch 'svn-trunk'
2018-02-04 09:57:56 -08:00
Bart Van Assche
56a8b3ba57
srpt/Makefile: Add support for detecting MOFED on Debian systems
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7355 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-04 17:55:38 +00:00
Bart Van Assche
f8baf14c70
Merge branch 'svn-trunk'
2018-02-02 21:15:24 -08:00
Bart Van Assche
7b7d702f10
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7354 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-03 05:15:16 +00:00
Bart Van Assche
c4a4c59f61
Merge branch 'svn-trunk'
2018-01-31 20:46:54 -08:00
Bart Van Assche
b3435fbdda
debian/rules: Also clean the scstadmin/scstadmin soft link
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7353 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-01 04:45:01 +00:00
Bart Van Assche
34f4744997
scripts/list-non-source-files: Add to repository
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7352 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-01 04:33:56 +00:00
Bart Van Assche
c1761b1682
Merge branch 'svn-trunk'
2018-01-31 20:26:58 -08:00
Bart Van Assche
24568c1482
debian/rules: Make executable
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7351 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-01 04:26:50 +00:00
Bart Van Assche
c75cbf1aa6
Merge branch 'svn-trunk'
2018-01-31 20:21:45 -08:00
Bart Van Assche
41473b3e66
Add support for generating Debian packages
...
Debian packages can be generated by running "make dpkg". Running that command
will produce e.g. the following output:
[ ... ]
Output files:
total 8444
-rw-r--r-- 1 bart bart 185150 Jan 31 20:11 iscsi-scst_3.4.0.6003-1_amd64.deb
-rw-r--r-- 1 bart bart 53174 Jan 31 20:11 scst-dev_3.4.0.6003-1_all.deb
-rw-r--r-- 1 bart bart 878030 Jan 31 20:11 scst-dkms_3.4.0.6003-1_all.deb
-rw-r--r-- 1 bart bart 7388 Jan 31 20:09 scst_3.4.0.6003-1.debian.tar.xz
-rw-r--r-- 1 bart bart 1046 Jan 31 20:09 scst_3.4.0.6003-1.dsc
-rw-r--r-- 1 bart bart 95348 Jan 31 20:11 scst_3.4.0.6003-1_amd64.build
-rw-r--r-- 1 bart bart 6526 Jan 31 20:11 scst_3.4.0.6003-1_amd64.buildinfo
-rw-r--r-- 1 bart bart 3054 Jan 31 20:11 scst_3.4.0.6003-1_amd64.changes
-rw-r--r-- 1 bart bart 4892014 Jan 31 20:11 scst_3.4.0.6003-1_amd64.deb
-rw-rw-r-- 1 bart bart 2458224 Jan 31 20:09 scst_3.4.0.6003.orig.tar.xz
-rw-r--r-- 1 bart bart 43616 Jan 31 20:11 scstadmin_3.4.0.6003-1_amd64.deb
These packages can be installed with the dpkg command. An example:
cd dpkg && sudo dpkg -i scst_*.deb iscsi-scst_*.deb scstadmin_*.deb
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7350 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-01 04:21:29 +00:00
Bart Van Assche
dc20e09b51
scripts/clean-source-tree: Add command-line option -x (exclude file)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7349 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-01 04:19:13 +00:00
Bart Van Assche
9ec73e101a
Makefile: Rework the code for generation of a source code distribution archive
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7348 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-01 04:17:00 +00:00
Bart Van Assche
6c61863bf9
Makefile: Evaluate $(VERSION) once
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7347 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-01 04:14:57 +00:00
Vladislav Bolkhovitin
2e5ed15fb0
scst: disabled global allocated memory limits
...
See scst_max_cmd_mem module parameter for more info. Allows to avoid 2
global atomic variables on the fast path, hence get better multi-queue
performance.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7346 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-31 23:45:04 +00:00