scsi: smartpqi: improve handling for sync requests
Kevin Barnett authored

Decrement the active thread count after the synchronous request was
submitted to the controller but before the driver blocks to wait for the
request to complete.
Reviewed-by: default avatarScott Benesh <scott.benesh@microsemi.com>
Reviewed-by: default avatarScott Teel <scott.teel@microsemi.com>
Signed-off-by: default avatarKevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: default avatarDon Brace <don.brace@microsemi.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
957c5ab1
Name Last commit Last update
Documentation Merge tag 'for-linus-20180616' of git://git.kernel.dk/linux-block
LICENSES LICENSES: Add Linux-OpenIB license text
arch Merge tag 'docs-broken-links' of git://linuxtv.org/mchehab/experimental
block Merge tag 'for-linus-20180616' of git://git.kernel.dk/linux-block
certs docs: Fix some broken references
crypto docs: Fix some broken references
drivers scsi: smartpqi: improve handling for sync requests
firmware kbuild: remove all dummy assignments to obj-
fs Merge tag 'docs-broken-links' of git://linuxtv.org/mchehab/experimental
include scsi: libsas: dynamically allocate and free ata host
init Merge tag 'kbuild-v4.18-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
ipc ipc: use new return type vm_fault_t
kernel Merge tag 'docs-broken-links' of git://linuxtv.org/mchehab/experimental
lib scsi: Remove percpu_ida
mm mm: fix oom_kill event handling
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
samples Merge tag 'vfio-v4.18-rc1' of git://github.com/awilliam/linux-vfio
scripts scripts/documentation-file-ref-check: check tools/*/Documentation
security docs: Fix some broken references
sound docs: Fix some broken references
tools Merge tag 'docs-broken-links' of git://linuxtv.org/mchehab/experimental
usr kbuild: rename built-in.o to built-in.a
virt Merge tag 'overflow-v4.18-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
.clang-format clang-format: add configuration file
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.