Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jul 2021 22:12:53 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: abea0c6b0ddc - main - cam: Mark the qos data is valid in xpd_done_direct() too.
Message-ID:  <202107172212.16HMCrd3062503@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

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

commit abea0c6b0ddc969d1f3b9cab1fd90df00de1f2e4
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-07-17 22:10:46 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-07-17 22:12:00 +0000

    cam: Mark the qos data is valid in xpd_done_direct() too.
    
    Sponsored by:           Netflix
---
 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 b76d6f5adde7..6b5a04b174e1 100644
--- a/sys/cam/cam_xpt.c
+++ b/sys/cam/cam_xpt.c
@@ -4642,6 +4642,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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107172212.16HMCrd3062503>