freebsd-nq/sys/fs/tmpfs
Matt Joras 9aaf913e13 When unmounting a tmpfs, do not call free_unr.
tmpfs uses unr(9) to allocate inodes. Previously when unmounting it
would individually free the units when it freed each vnode. This is
unnecessary as we can use the newly-added unrhdr_clear function to clear
out the unr in onde go. This measurably reduces the time to unmount a
tmpfs with many files.

Reviewed by:	cem, lidl
Approved by:	rstone (mentor)
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D12591
2017-10-11 21:53:53 +00:00
..
tmpfs_fifoops.c Use tmpfs_print for tmpfs FIFOs. 2017-09-25 20:26:16 +00:00
tmpfs_fifoops.h
tmpfs_subr.c When unmounting a tmpfs, do not call free_unr. 2017-10-11 21:53:53 +00:00
tmpfs_vfsops.c When unmounting a tmpfs, do not call free_unr. 2017-10-11 21:53:53 +00:00
tmpfs_vnops.c Return 64 for pathconf(_PC_FILESIZEBITS) on tmpfs. 2017-10-02 23:23:12 +00:00
tmpfs_vnops.h Use tmpfs_print for tmpfs FIFOs. 2017-09-25 20:26:16 +00:00
tmpfs.h Remove mistakenly merged field. 2017-01-19 20:03:26 +00:00