Re: svn commit: r278760 - head/sys/kern

2015-02-16 Thread John Baldwin
On Saturday, February 14, 2015 07:21:10 PM Mateusz Guzik wrote: On Sat, Feb 14, 2015 at 05:02:51PM +, John Baldwin wrote: +SYSCTL_ULONG(_vfs, OID_AUTO, vnodes_created, CTLFLAG_RD, vnodes_created, +0, Number of vnodes created by getnewvnode); + [..] +static u_long

Re: svn commit: r278760 - head/sys/kern

2015-02-16 Thread John Baldwin
On Saturday, February 14, 2015 09:18:03 PM Gleb Smirnoff wrote: On Sat, Feb 14, 2015 at 05:02:51PM +, John Baldwin wrote: J Author: jhb J Date: Sat Feb 14 17:02:51 2015 J New Revision: 278760 J URL: https://svnweb.freebsd.org/changeset/base/278760 J J Log: J Add two new counters for

Re: svn commit: r278760 - head/sys/kern

2015-02-14 Thread Gleb Smirnoff
On Sat, Feb 14, 2015 at 05:02:51PM +, John Baldwin wrote: J Author: jhb J Date: Sat Feb 14 17:02:51 2015 J New Revision: 278760 J URL: https://svnweb.freebsd.org/changeset/base/278760 J J Log: J Add two new counters for vnode life cycle events: J - vfs.recycles counts the number of vnodes

svn commit: r278760 - head/sys/kern

2015-02-14 Thread John Baldwin
Author: jhb Date: Sat Feb 14 17:02:51 2015 New Revision: 278760 URL: https://svnweb.freebsd.org/changeset/base/278760 Log: Add two new counters for vnode life cycle events: - vfs.recycles counts the number of vnodes forcefully recycled to avoid exceeding kern.maxvnodes. -

Re: svn commit: r278760 - head/sys/kern

2015-02-14 Thread Mateusz Guzik
On Sat, Feb 14, 2015 at 05:02:51PM +, John Baldwin wrote: +SYSCTL_ULONG(_vfs, OID_AUTO, vnodes_created, CTLFLAG_RD, vnodes_created, +0, Number of vnodes created by getnewvnode); + [..] +static u_long recycles_count; +SYSCTL_ULONG(_vfs, OID_AUTO, recycles, CTLFLAG_RD, recycles_count,