summaryrefslogtreecommitdiffstats
path: root/cddl
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2015-09-22 00:43:05 +0000
committermckusick <mckusick@FreeBSD.org>2015-09-22 00:43:05 +0000
commit198203431a0911024c97644b46a23e46215c26cd (patch)
tree67df2a0e32a73c0beb0b999eafad85e89cae31e4 /cddl
parentd91e3630bbbd2abb94422dfd294a62526d4f7d63 (diff)
downloadFreeBSD-src-198203431a0911024c97644b46a23e46215c26cd.zip
FreeBSD-src-198203431a0911024c97644b46a23e46215c26cd.tar.gz
MFC of 281677:
More accurately collect name-cache statistics in sysctl functions sysctl_debug_hashstat_nchash() and sysctl_debug_hashstat_rawnchash(). These changes are in preparation for allowing changes in the size of the vnode hash tables driven by increases and decreases in the maximum number of vnodes in the system. Reviewed by: kib@ Phabric: D2265 MFC of 287497: Track changes to kern.maxvnodes and appropriately increase or decrease the size of the name cache hash table (mapping file names to vnodes) and the vnode hash table (mapping mount point and inode number to vnode). An appropriate locking strategy is the key to changing hash table sizes while they are in active use. Reviewed by: kib Tested by: Peter Holm Differential Revision: https://reviews.freebsd.org/D2265
Diffstat (limited to 'cddl')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud