Author: sephe
Date: Fri Apr 15 08:01:07 2016
New Revision: 298040
URL: https://svnweb.freebsd.org/changeset/base/298040

Log:
  hyperv/stor: Use xpt_done_direct() upon I/O completion
  
  Reviewed by:  mav
  MFC after:    1 week
  Sponsored by: Microsoft OSTC
  Differential Revision:        https://reviews.freebsd.org/D5955

Modified:
  head/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c

Modified: head/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
==============================================================================
--- head/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c        Fri Apr 15 
07:48:41 2016        (r298039)
+++ head/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c        Fri Apr 15 
08:01:07 2016        (r298040)
@@ -2093,8 +2093,9 @@ storvsc_io_done(struct hv_storvsc_reques
                reqp->softc->hs_frozen = 0;
        }
        storvsc_free_request(sc, reqp);
-       xpt_done(ccb);
        mtx_unlock(&sc->hs_lock);
+
+       xpt_done_direct(ccb);
 }
 
 /**
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to