[Bug 236654] sa (SCSI tape) doesn't show up in devstat

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 20 06:16:36 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236654

            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 at FreeBSD.org
          Reporter: darius at 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 line
2852 (rev 333152) should fix it, but I've been unable to find an opportunity to
reboot the machine with the tape drive to test it so it's only been compile
tested.

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


More information about the freebsd-bugs mailing list