Additionally, remove the 'inline' keyword from these two functions
because today's compilers are better than humans at deciding which
functions should be inlined and which ones not. This patch avoids
that building the qla2x00t driver on RHEL 7.4 triggers two compiler
warnings.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7336 d57e44dd-8a1f-0410-8b47-8ef2f437770f
An example:
# scstadmin -noprompt -handler vdisk_fileio -close_dev diskf0
Collecting current configuration: done.
-> Making requested changes.
Device 'diskf0' is currently in use by the following:
Driver Target Group Lun
---------- ----------------------- ----- ----
iscsi iqn.2012-06.be.bva:tgt1 61
scst_local disks 1
FATAL: Received the following error:
Device 'diskf0' still in use, aborting. Use -force to override.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7334 d57e44dd-8a1f-0410-8b47-8ef2f437770f
An example:
# scstadmin -noprompt -handler vdisk_fileio -close_dev diskf0
Collecting current configuration: done.
-> Making requested changes.
Device 'diskf0' is currently in use by the following:
Driver Target Group Lun
--------------------------------------------
iscsi iqn.2012-06.be.bva:tgt1 61
scst_local disks 1
FATAL: Received the following error:
Device 'diskf0' still in use, aborting. Use -force to override.
This patch is based on a proposal from Dzmitry Kotsikau.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7332 d57e44dd-8a1f-0410-8b47-8ef2f437770f
Trunk r7327 restored the 'dummy' attribute for the vdisk_nullio handler
and hence changed the outcome of test 07. Update the expected output.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7331 d57e44dd-8a1f-0410-8b47-8ef2f437770f
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
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
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
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
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