svn commit: r298040 - head/sys/dev/hyperv/storvsc

Sepherosa Ziehau sephe at FreeBSD.org
Fri Apr 15 08:01:09 UTC 2016


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);
 }
 
 /**


More information about the svn-src-head mailing list