Commit Graph

5466 Commits

Author SHA1 Message Date
Bart Van Assche
c6e9b8cbf6 iscsi-scst: Fix spelling in a source code comment
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7594 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:45:10 +00:00
Bart Van Assche
d23850a85c scst_vdisk: fix crash on/after changing vcdrom media
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7593 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:44:27 +00:00
Bart Van Assche
495bd54e09 iscsi-scst: fix a subtle race inside the EXTRACHECKs facility
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7592 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:43:58 +00:00
Bart Van Assche
acb805d070 qla2x00t: fix in-kernel tree build
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7591 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:43:16 +00:00
Bart Van Assche
b801a5e110 qla2x00t: Declare local functions 'static'
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7590 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:42:49 +00:00
Bart Van Assche
2c9b3a7d67 qla2x00t/extract-qla2xxx-orig: Use scripts/kernel-functions instead of duplicating it
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7589 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:42:26 +00:00
Bart Van Assche
e3ca267824 scstadmin: Slightly change the output format of exported LUNs
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7588 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:41:59 +00:00
Bart Van Assche
a3ecb5b75b scstadmin, listExported: Remove dead code
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7587 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:41:39 +00:00
Bart Van Assche
14d4087ed3 scstadmin: Align exports columns properly
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7586 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:41:17 +00:00
Bart Van Assche
85ab1cc645 scstadmin: Synchronize test 07 with trunk r7327
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7585 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:40:51 +00:00
Bart Van Assche
d04a6d4cf5 scripts/kernel-functions: Synchronize with the latest kernel.org directory layout
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7584 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:40:21 +00:00
Bart Van Assche
d853a42ba3 scst_lib: Kernel v4.14.x (x>=11) build fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7583 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:39:58 +00:00
Bart Van Assche
b7a56cfa12 scst_vdisk: lower severity of message about not supported fallocate(FALLOC_FL_PUNCH_HOLE|FALLOC_FL_KEEP_SIZE) and print it only once
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7582 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:39:36 +00:00
Bart Van Assche
65431b808c scst: fix displaying "mgmt" sysfs help information
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7581 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:39:02 +00:00
Bart Van Assche
6216226567 scstadmin: Fix parsing of the soft links under the 'exported' directory
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7580 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:38:33 +00:00
Bart Van Assche
55ad847977 scstadmin: Improve test 08
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7579 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:38:08 +00:00
Bart Van Assche
496edfcb0b scstadmin tests: Remove temporary files after tests 05 and 06 have finished
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7578 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:37:45 +00:00
Bart Van Assche
3983e066ad scstadmin: Add test 08 for -close_dev
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7577 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:37:21 +00:00
Bart Van Assche
86e388e617 scstadmin: Skip the copy manager when computing exported LUNs
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7576 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:35:04 +00:00
Bart Van Assche
f67f292bb3 scstadmin: Add the -dumpAttrs command line option
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7575 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:31:58 +00:00
Bart Van Assche
838595ec7a scstadmin, test 07: Make a filename more specific
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7574 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:31:35 +00:00
Bart Van Assche
7cd8b03055 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/branches/3.3.x@7573 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:31:10 +00:00
Bart Van Assche
b0fc7c1474 ib_srpt: Refine two log messages
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7572 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:30:41 +00:00
Bart Van Assche
b51f85268c 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/branches/3.3.x@7571 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:30:15 +00:00
Bart Van Assche
ca290b2f59 ib_srpt: Revert the previous revision because it did not enable SR-IOV support
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7570 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:29:47 +00:00
Bart Van Assche
ea51ed6ef4 ib_srpt: Make it easier to use SR-IOV virtual functions
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7569 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:29:10 +00:00
Bart Van Assche
57533dcd0c qla2x00t: Fix build against kernel versions before v4.14
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7568 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:28:46 +00:00
Bart Van Assche
d983ab3638 qla2x00t: Make qla2x00_store_class2_enabled() report failures
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7567 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:28:17 +00:00
Bart Van Assche
1ba478d9f0 qla2x00t: Remove set-but-not-used variables
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7566 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:27:55 +00:00
Bart Van Assche
b2a18fc401 qla2x00t: Move a definition from a .h into a .c file
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7565 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:27:26 +00:00
Bart Van Assche
9d01de3261 scstadmin: Fix -close_dev
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7564 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:27:01 +00:00
Bart Van Assche
a007aede73 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/branches/3.3.x@7563 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:26:35 +00:00
Bart Van Assche
86d8cf4813 scst: Fix source code indentation
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7562 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:25:25 +00:00
Bart Van Assche
0157b92e46 iscsi-scst/kernel/conn.c: Fix source code indentation
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7561 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:24:27 +00:00
Bart Van Assche
a7870940fa iscsi-scst: Fix a format specifier
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7560 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:23:46 +00:00
Bart Van Assche
1646f6f630 scst: Backport timer_setup() to kernel versions before v4.10
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7559 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:23:21 +00:00
Bart Van Assche
4a52c21706 fcst: Suppress a set-but-not-used variable warning
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7558 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:22:54 +00:00
Bart Van Assche
8b3dd95815 fcst: Suppress kernel-doc warnings
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7557 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:20:17 +00:00
Bart Van Assche
f361ec1428 qla2x00t: Follow-up for r7293 and r7294
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7556 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:19:53 +00:00
Bart Van Assche
c26def2a6e qla2x00t: Annotate fall-through
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7555 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:19:22 +00:00
Bart Van Assche
9f80a94922 ib_srpt: Restore struct srp_login_req_rdma
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7554 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:18:51 +00:00
Bart Van Assche
f6f174e6d1 scst: Kernel v4.15 build fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7553 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:18:26 +00:00
Bart Van Assche
dbdf7becb2 Fix kernel-doc warnings
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7552 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:17:39 +00:00
Bart Van Assche
079d7a6312 qla2x00t web update
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7551 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:16:48 +00:00
Bart Van Assche
033080eba1 ib_srpt: Fix kernel-doc warnings
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7550 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:16:22 +00:00
Bart Van Assche
ac65d90b33 scst_vdisk: Change page_cache_alloc_cold() calls into page_cache_alloc() calls
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7549 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:15:14 +00:00
Bart Van Assche
145db52f3f Convert setup_timer() into timer_setup() calls
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7548 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:14:25 +00:00
Bart Van Assche
4af98c3bcc qla2x00t: Convert init_timer() into setup_timer() calls
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7547 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:13:47 +00:00
Bart Van Assche
33c1621245 iscsi-scst: Convert init_timer() into setup_timer() calls
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7546 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:13:05 +00:00
Bart Van Assche
bc2f01f3d2 scst: Convert init_timer() into setup_timer() calls
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7545 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:10:48 +00:00