SVNews r324542

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-10-11 21:53:53 - r324542 by mjoras (mjoras)

Complete list of files affected by revision r324542:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/fs/tmpfs/tmpfs_subr.c  
  History   Contents   Diff   MODIFY   /head/sys/fs/tmpfs/tmpfs_vfsops.c  

Commit message:

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

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 8 ms, 2 files printed. Current time is 2017-10-22 01:10:00. All times are in UTC/GMT.