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
This commit is contained in:
Sepherosa Ziehau 2016-04-15 08:01:07 +00:00
parent 4a060c8407
commit a014f7e1a6

View File

@ -2093,8 +2093,9 @@ storvsc_io_done(struct hv_storvsc_request *reqp)
reqp->softc->hs_frozen = 0;
}
storvsc_free_request(sc, reqp);
xpt_done(ccb);
mtx_unlock(&sc->hs_lock);
xpt_done_direct(ccb);
}
/**