Date: Thu, 31 Aug 2017 10:11:10 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 221952] cam iosched: Fix trim statistics Message-ID: <bug-221952-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221952 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: fk@fabiankeil.de Flags: mfc-stable11? Created attachment 185944 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185944&action= =3Dedit 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 --=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-221952-8>