git: libc - Increase opendir/readdir buffer size

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jan 23 22:06:47 PST 2022


commit 562d2cede5d0f2be4cc951a3b649975e6647397c
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Jan 23 22:01:50 2022 -0800

    libc - Increase opendir/readdir buffer size
    
    * Increase the directory scan buffer size from 4096 bytes to 16384
      bytes, significantly reducing the number of discrete system calls
      which must be made when scanning very large directories.

Summary of changes:
 lib/libc/gen/opendir.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/562d2cede5d0f2be4cc951a3b649975e6647397c


-- 
DragonFly BSD source repository


More information about the Commits mailing list