From fb04eee26883b1249c0d22b9b242b2ecb89d3e34 Mon Sep 17 00:00:00 2001 From: Mike Belopuhov Date: Tue, 6 Jun 2017 20:33:29 +0000 Subject: Call xbf_intr for polled transfers that can't sleep --- sys/dev/pv/xbf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev/pv') 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); -- cgit v1.2.3