https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221952
Bug ID: 221952
Summary: cam iosched: Fix trim statistics
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Flags: mfc-stable11?
Created attachment 185944
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=185944&action=edit
cam iosched: Fix trim statistics
The attached patch fixes the cam iosched trim statistics.
When cam_iosched_bio_complete() gets called, all pending
BIO_DELETEs are done.
Previously only one of them was accounted for, as a result
the "pending" counter got higher and higher and the "out"
count was off as well. An ElectroBSD release build in a vm
resulted in ~60k "leaked" pending trims.
cam_iosched_ticker() has a note that seems to refer to this
bug but I didn't adjust it.
Obtained from: ElectroBSD
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"