Commit Graph

5970 Commits

Author SHA1 Message Date
Bart Van Assche
69b95aaea8 Merge branch 'svn-trunk' 2018-01-04 18:00:20 -08:00
Bart Van Assche
e0903d4ce0 scstadmin: Fix parsing of the soft links under the 'exported' directory
Reported-by: Dzmitry Kotsikau <dkotsikau@gmail.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7326 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-04 18:02:47 +00:00
Bart Van Assche
7baba46a23 scstadmin: Improve test 08
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7325 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-04 18:01:16 +00:00
Bart Van Assche
e02fb4b9ad scstadmin tests: Remove temporary files after tests 05 and 06 have finished
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7324 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-04 18:00:48 +00:00
Bart Van Assche
e2c87a3d3f Merge branch 'svn-trunk' 2018-01-03 20:17:37 -08:00
Bart Van Assche
3ef72409bd scstadmin: Add test 08 for -close_dev
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7323 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-04 04:17:23 +00:00
Bart Van Assche
efff1b524d scstadmin: Skip the copy manager when computing exported LUNs
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7322 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-04 04:16:04 +00:00
Bart Van Assche
a8f0afeb50 scstadmin: Add the -dumpAttrs command line option
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7321 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-04 04:15:11 +00:00
Bart Van Assche
6aaefd6882 scstadmin, test 07: Make a filename more specific
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7320 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-04 04:14:08 +00:00
Bart Van Assche
e8a01af251 .gitignore: Update 2018-01-03 19:48:32 -08:00
Bart Van Assche
952bc33f8f Merge branch 'svn-trunk' 2018-01-03 18:40:38 -08:00
Bart Van Assche
31ff7ecab8 scstadmin: Revert r7310 because it was reported not to fix the issue it should have fixed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7319 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-04 02:40:13 +00:00
Bart Van Assche
2a9b0929e7 Merge branch 'svn-trunk' 2018-01-03 17:56:34 -08:00
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
06834d23a1 Merge branch 'svn-trunk' 2018-01-01 16:04:12 -08: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
7a38dea2b5 .gitignore: Suppress srpt configuration test output files and .cache.mk files 2017-12-31 12:43:47 -08:00
Bart Van Assche
ed8c8054d5 Merge branch 'svn-trunk' 2017-12-31 12:42:25 -08: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
045b15afdd Merge branch 'svn-trunk' 2017-12-31 10:09:00 -08: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
eea5ef2aa5 Merge branch 'svn-trunk' 2017-12-30 21:23:50 -08: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
330268819d Merge branch 'svn-trunk' 2017-12-29 15:57:49 -08: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
509517d83e Merge branch 'svn-trunk' 2017-12-29 14:43:20 -08: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
a7b7c152f5 Merge branch 'svn-trunk' 2017-12-28 10:47:32 -08: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