git: 6af8350df682 - stable/13 - cam: Mark the qos data is valid in xpd_done_direct() too.

Warner Losh imp at FreeBSD.org
Wed Jul 21 16:14:17 UTC 2021


The branch stable/13 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=6af8350df68206be18bc1ebee5e461ca20fb523e

commit 6af8350df68206be18bc1ebee5e461ca20fb523e
Author:     Warner Losh <imp at FreeBSD.org>
AuthorDate: 2021-07-17 22:10:46 +0000
Commit:     Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-07-21 16:13:12 +0000

    cam: Mark the qos data is valid in xpd_done_direct() too.
    
    Sponsored by:           Netflix
    
    (cherry picked from commit abea0c6b0ddc969d1f3b9cab1fd90df00de1f2e4)
---
 sys/cam/cam_xpt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c
index 9cfee80a6049..ba01e741c5a7 100644
--- a/sys/cam/cam_xpt.c
+++ b/sys/cam/cam_xpt.c
@@ -4648,6 +4648,7 @@ xpt_done_direct(union ccb *done_ccb)
 
 	/* Store the time the ccb was in the sim */
 	done_ccb->ccb_h.qos.periph_data = cam_iosched_delta_t(done_ccb->ccb_h.qos.periph_data);
+	done_ccb->ccb_h.status |= CAM_QOS_VALID;
 	xpt_done_process(&done_ccb->ccb_h);
 }
 


More information about the dev-commits-src-all mailing list