HomeFreeBSD

da: Update trim stats for WRITE SAME and ATA TRIM

Description

da: Update trim stats for WRITE SAME and ATA TRIM

The scsi UNMAP path updated trim stats in the da sysctl, but the ATA
TRIM passthru and WRITE SAME paths did not. Add code so they do.

PR: 277637
Reviewed by: imp (tweaked WS path to update ranges)

Details

Provenance
mgrooms_shrew.netAuthored on May 3 2024, 2:41 PM
impCommitted on May 3 2024, 2:46 PM
Parents
rG0c0146c30904: tests/sendfile: test operation on unix/stream socket
Branches
Unknown
Tags
Unknown