summaryrefslogtreecommitdiff
path: root/drivers/block/nvme-scsi.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2015-05-01 22:31:41 (GMT)
committerAlex Williamson <alex.williamson@redhat.com>2015-05-01 22:31:41 (GMT)
commitdb7d4d7f40215843000cb9d441c9149fd42ea36b (patch)
tree838cf9aa408444cbed520ccf294d301019f2b3c1 /drivers/block/nvme-scsi.c
parent5f55d2ae699d1756ad6132786c7f9c27dc456b66 (diff)
downloadlinux-db7d4d7f40215843000cb9d441c9149fd42ea36b.tar.xz
vfio: Fix runaway interruptible timeout
Commit 13060b64b819 ("vfio: Add and use device request op for vfio bus drivers") incorrectly makes use of an interruptible timeout. When interrupted, the signal remains pending resulting in subsequent timeouts occurring instantly. This makes the loop spin at a much higher rate than intended. Instead of making this completely non-interruptible, we can change this into a sort of interruptible-once behavior and use the "once" to log debug information. The driver API doesn't allow us to abort and return an error code. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Fixes: 13060b64b819 Cc: stable@vger.kernel.org # v4.0
Diffstat (limited to 'drivers/block/nvme-scsi.c')
0 files changed, 0 insertions, 0 deletions