summaryrefslogtreecommitdiff
path: root/sys/dev/pv
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2017-06-06 20:33:29 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2017-06-06 20:33:29 +0000
commitfb04eee26883b1249c0d22b9b242b2ecb89d3e34 (patch)
tree99537bf6b9d699562fa1bdd80cd97331b074603d /sys/dev/pv
parentcfa10f396c46eb041d2776a38f56dcd79ca7bb9f (diff)
Call xbf_intr for polled transfers that can't sleep
Diffstat (limited to 'sys/dev/pv')
-rw-r--r--sys/dev/pv/xbf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pv/xbf.c b/sys/dev/pv/xbf.c
index d5c44770acb..edf975cd7a8 100644
--- a/sys/dev/pv/xbf.c
+++ b/sys/dev/pv/xbf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xbf.c,v 1.28 2017/03/19 16:37:19 mikeb Exp $ */
+/* $OpenBSD: xbf.c,v 1.29 2017/06/06 20:33:28 mikeb Exp $ */
/*
* Copyright (c) 2016 Mike Belopuhov
@@ -688,6 +688,7 @@ xbf_poll_cmd(struct scsi_xfer *xs, int desc, int timo)
delay(10);
else
tsleep(xs, PRIBIO, "xbfpoll", 1);
+ xbf_intr(xs->sc_link->adapter_softc);
} while(--timo > 0);
return (0);