[Bug 260257] CAM_IO_STATS does not track MEDIUM ERRORs

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 09 Jan 2022 17:18:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260257

--- Comment #10 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

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

commit 85056a56f3bbd26fdbaf0f045b527acac7199589
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-01-09 17:13:05 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-01-09 17:13:05 +0000

    cam: Include more statuses as errors for CAM_IO_STATS

    Tag more status return values as an error for the
    I/O. CAM_SCSI_STATUS_ERROR is returned for medium errors, for example,
    but the counts weren't increased. The added errors all indicate a
    problem with the device request.

    Sponsored by:           Netflix
    PR:                     260257
    Feedback from:          ken
    Reviewed by:            asomers
    Differential Revision:  https://reviews.freebsd.org/D33783

 sys/cam/scsi/scsi_da.c | 2 ++
 1 file changed, 2 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.