Bart Van Assche
a51cd22614
ib_srpt: Refine two log messages
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7318 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-04 00:30:22 +00:00
Bart Van Assche
58f7ca66f1
ib_srpt: Make it easier to use SR-IOV virtual functions
...
Management datagrams (MADs) are not supported for SR-IOV VFs. That
is why srpt_refresh_port() fails for SR-IOV VFs. Make it easier to
use SR-IOV VFs by only logging an error message if MAD handler
registration fails.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7317 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-03 23:54:44 +00:00
Bart Van Assche
c3b1c10abf
ib_srpt: Revert r7315 because it did not enable SR-IOV support
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7316 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-03 23:29:49 +00:00
Bart Van Assche
c6393cefa3
ib_srpt: Make it easier to use SR-IOV virtual functions
...
Management datagrams (MADs) are not supported for SR-IOV VFs. That
is why srpt_refresh_port() fails for SR-IOV VFs. Make it easier to
use SR-IOV VFs by only logging an error message if MAD handler
registration fails.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7315 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-03 20:48:56 +00:00
Bart Van Assche
52483357c7
qla2x00t: Fix build against kernel versions before v4.14
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7314 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-02 00:03:58 +00:00
Bart Van Assche
17f858726b
qla2x00t: Make qla2x00_store_class2_enabled() report failures
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7313 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-31 20:41:24 +00:00
Bart Van Assche
6cac363e4c
qla2x00t: Remove set-but-not-used variables
...
Except for the addition of one log message, this patch does not change any
functionality.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7312 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-31 20:40:46 +00:00
Bart Van Assche
45dc582617
qla2x00t: Move a definition from a .h into a .c file
...
This patch does not change any functionality but reduces the size of the
qla2x00t driver.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7311 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-31 20:38:04 +00:00
Bart Van Assche
41491391f8
scstadmin: Fix -close_dev
...
Avoid that closing a device fails and an empty export list is reported
if a device is currently not exported. This patch is based on a patch
provided by Dzmitry Kotsikau <dkotsikau@gmail.com >.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7310 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-31 05:39:38 +00:00
Bart Van Assche
4d81f8e174
scst_debug.h: Avoid that smatch complains about passing a pointer to format specifier %lx
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7309 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-30 03:37:31 +00:00
Bart Van Assche
feb3bd8b5f
scst: Fix source code indentation
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7308 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-30 03:36:39 +00:00
Bart Van Assche
3ef4c364ab
iscsi-scst/kernel/conn.c: Fix source code indentation
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7307 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-30 02:25:54 +00:00
Bart Van Assche
1d27948af3
iscsi-scst: Fix a format specifier
...
Detected by checkpatch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7306 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-30 02:23:23 +00:00
Bart Van Assche
45128613ab
scst: Backport timer_setup() to kernel versions before v4.10
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7305 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-30 00:53:47 +00:00
Bart Van Assche
661bd6f5b2
fcst: Suppress a set-but-not-used variable warning
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7304 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-29 23:57:06 +00:00
Bart Van Assche
15a604145b
fcst: Suppress kernel-doc warnings
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7303 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-29 23:56:42 +00:00
Bart Van Assche
e86fc13ff6
qla2x00t: Follow-up for r7293 and r7294
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7302 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-29 23:56:21 +00:00
Bart Van Assche
df74fa408e
qla2x00t: Annotate fall-through
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7301 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-29 23:55:54 +00:00
Bart Van Assche
f739a23ce3
ib_srpt: Restore struct srp_login_req_rdma
...
This patch reverts an unintended change from r7296.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7300 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-29 22:43:05 +00:00
Bart Van Assche
41d6ad1c78
scst: Kernel v4.15 build fix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7299 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-29 22:39:16 +00:00
Bart Van Assche
9246a05f7e
Fix kernel-doc warnings
...
Avoid that building SCST with W=1 against kernel v4.15 triggers warnings about
kernel-doc header issues.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7298 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-29 22:34:17 +00:00
Vladislav Bolkhovitin
d2b346e964
Web updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7297 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-29 04:40:27 +00:00
Bart Van Assche
d6c53cec8b
ib_srpt: Fix kernel-doc warnings
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7296 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-28 18:45:47 +00:00
Bart Van Assche
66adc2ce3f
scst_vdisk: Change page_cache_alloc_cold() calls into page_cache_alloc() calls
...
See also commit 453f85d43fa9 ("mm: remove __GFP_COLD").
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7295 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-28 18:45:20 +00:00
Bart Van Assche
8268f5d5b1
Convert setup_timer() into timer_setup() calls
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7294 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-28 18:44:21 +00:00
Bart Van Assche
56e27f4125
qla2x00t: Convert init_timer() into setup_timer() calls
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7293 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-28 18:43:15 +00:00
Bart Van Assche
892d25f4f2
iscsi-scst: Convert init_timer() into setup_timer() calls
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7292 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-28 18:42:58 +00:00
Bart Van Assche
b786e5f954
scst: Convert init_timer() into setup_timer() calls
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7291 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-28 18:42:42 +00:00
Bart Van Assche
602f745df5
ib_srpt: Rename a goto label
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7290 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-28 18:41:09 +00:00
Vladislav Bolkhovitin
805e3ffeb7
scst: fix pass-through on kernels 4.11 and 4.12
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7287 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-23 04:03:09 +00:00
Vladislav Bolkhovitin
a4421e4d8b
scst: nolockdep patch for 4.13 kernels
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7286 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-23 02:19:31 +00:00
Bart Van Assche
06c7c8283c
ib_srpt: Fix spelling in a function header
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7285 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-22 23:15:48 +00:00
Bart Van Assche
2a90cd1e14
ib_srpt: Fix a comment
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7284 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-22 23:15:06 +00:00
Bart Van Assche
63178c603d
ib_srpt: Remove an unused member variable
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7283 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-22 23:14:47 +00:00
Bart Van Assche
9e3d2d4681
ib_srpt: Document rationale of srpt_set_ch_state()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7282 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-22 23:14:31 +00:00
Bart Van Assche
6472d7c208
ib_srpt: Declare second srpt_get_u64_x() argument const
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7281 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-22 23:13:55 +00:00
Bart Van Assche
ff77f1acf4
Move WARN() backport from srpt/src/ib_srpt.c to scst/include/backport.h
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7280 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-22 23:13:30 +00:00
Bart Van Assche
8fba68c994
ib_srpt: Source code cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7279 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-22 23:12:50 +00:00
Bart Van Assche
ab6e0cd782
ib_srpt: Refine a log message
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7278 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-22 23:11:30 +00:00
Bart Van Assche
323b6f36ad
ib_srpt: Tweak a function header
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7277 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-22 23:11:07 +00:00
Bart Van Assche
14d2b1a4c4
ib_srpt: Inline functions with a body of one line
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7276 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-22 23:10:39 +00:00
Bart Van Assche
8188c07183
ib_srpt: Make the code for converting GIDs into ASCII more brief
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7275 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-22 23:09:15 +00:00
Bart Van Assche
e7539ca671
ib_srpt: Move rdma_cm_id definition
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7274 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-22 23:08:35 +00:00
Bart Van Assche
9b33ce46bb
scripts/specialize-patch: Add support for SOCK_RECVMSG_HAS_FOUR_ARGS
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7273 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-19 16:45:22 +00:00
Bart Van Assche
7c550d4724
iscsi-scst: UEK 4.1.12-103.9.7.el7uek.x86_64 build fix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7272 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-19 16:35:40 +00:00
Bart Van Assche
891ec1b390
nightly/conf/nightly.sendmail: Use mail if mutt is not available
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7271 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-11-15 02:48:03 +00:00
Bart Van Assche
979d70c0a3
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7270 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-11-15 02:47:06 +00:00
Bart Van Assche
33f545642d
nightly/bin/nightly: Clone the source code tree quietly
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7269 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-11-15 02:45:57 +00:00
Bart Van Assche
8c92d5c168
scst: Fix kernel <= 2.6.30 build
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7268 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-11-14 16:37:24 +00:00
Vladislav Bolkhovitin
97c44e27ce
web: fixed broken link
...
Reported-By: Gilbert Standen <gilstanden@hotmail.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7267 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-11-14 04:18:00 +00:00