Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2019 06:16:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 236654] sa (SCSI tape) doesn't show up in devstat
Message-ID:  <bug-236654-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236654

            Bug ID: 236654
           Summary: sa (SCSI tape) doesn't show up in devstat
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: darius@dons.net.au

sys/cam/scsi/scsi_sa.c creates a devstat node and calls
devstat_start_transaction_bio() but never calls devstat_end_transaction_bio=
()
so nothing ever appears.

I think adding "devstat_end_transaction_bio(softc->device_stats, bp);" at l=
ine
2852 (rev 333152) should fix it, but I've been unable to find an opportunit=
y to
reboot the machine with the tape drive to test it so it's only been compile
tested.

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



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