From nobody Wed Jan 5 20:00:03 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1B70019323CD for ; Wed, 5 Jan 2022 20:00:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JTgLp6Qylz4hT3 for ; Wed, 5 Jan 2022 20:00:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BE1F312457 for ; Wed, 5 Jan 2022 20:00:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 205K02eB044820 for ; Wed, 5 Jan 2022 20:00:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 205K024J044819 for bugs@FreeBSD.org; Wed, 5 Jan 2022 20:00:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260257] CAM_IO_STATS does not track MEDIUM ERRORs Date: Wed, 05 Jan 2022 20:00:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rew@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641412802; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LmPrPWPRkxhSqTa9q6vJiDaTbqlKlv4SffFKEqDxyp4=; b=vBw2QnlOy2msCMSIcFG9RTM3yVLqcmLoWQ9owPng00hIj3oTcYOCqA2JAtEhE97DTfMPT8 6tv60xVu8QzUk8HzOXc9D21ZkDHiNPtpcIdGB/jQwaLy6Tc92HU3D7CoeajGi3m7Dks74O qJ/vi2/6KGjD5A6xHMcidoN4rWzMRLAUuHhG8K0ObiMfm6etxO3fNvhk6A8/fLzXndzG1B CoiJYdVYHsoP2RXfJAcGMxwRTkh/g5AuOA5ippF716Pb738Bcpz44BVa6Rn3J6BRv4GUDx UGKJA+3KeDAiZnswccH+zjp65GINefK694B3v6j5suIDcnQO5OpGPEXjRoQJLA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641412803; a=rsa-sha256; cv=none; b=E1ONdK6RnCRxu1ZgfUB4NdIracKFAR7VBaIW0obrh+xj/KaZB83vqdfVCjdcZBreqoIXVM btgNpjudM1BMMSwiEoil2FR8s8etP6d5mgItc+plvnutXb61eENHTTmkoYWJFTEIayfUIQ BYUgE4i+aFeQkAQtHBu6Cd7g01fRP8kXhgOmNlvIyFzAyGKISLSDZHPlxH7tuXklIQ8cvu GIIEp/0JBA9JX1Isf7M536djdYEAe4qVDtrMDZCxJvFsDXZRWjY7TJrUjjG1OV50vB/2KV LjXlXzco2i+NwhaMkN/ZOnfmFblaJZvZVVn3vNMBJNYmKvCbPq0/qQTKubjbHg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260257 Robert Wing changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rew@FreeBSD.org --- Comment #7 from Robert Wing --- Wonder if the counter should be bumped when CAM_SCSI_STATUS_ERROR? something for context: diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c index df8791e4b23e..2d78c00dbb60 100644 --- a/sys/cam/scsi/scsi_da.c +++ b/sys/cam/scsi/scsi_da.c @@ -5994,20 +5994,21 @@ daerror(union ccb *ccb, u_int32_t cam_flags, u_int3= 2_t sense_flags) #ifdef CAM_IO_STATS switch (ccb->ccb_h.status & CAM_STATUS_MASK) { case CAM_CMD_TIMEOUT: softc->timeouts++; break; case CAM_REQ_ABORTED: case CAM_REQ_CMP_ERR: case CAM_REQ_TERMIO: case CAM_UNREC_HBA_ERROR: case CAM_DATA_RUN_ERR: + case CAM_SCSI_STATUS_ERROR: softc->errors++; break; default: break; } #endif --=20 You are receiving this mail because: You are the assignee for the bug.=