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: freebsd-bugs@FreeBSD.org Reporter: f...@fabiankeil.de 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. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"