MFC 298040

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:
sephe 2016-06-21 05:02:03 +00:00
parent 29d5b44ca0
commit 427b3540bf

View File

@ -2133,8 +2133,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);
}
/**