git: DragonFly_RELEASE_6_2 libc - Increase opendir/readdir buffer size

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jan 24 12:55:04 PST 2022


commit 607853b46fed9fe9c801a4253f9105c29dbd90f0
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/607853b46fed9fe9c801a4253f9105c29dbd90f0


-- 
DragonFly BSD source repository


More information about the Commits mailing list