git: libc - Use fixed block size for db hash and btree method
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Mar 2 17:29:12 PST 2020
commit 08acb08c0a6e4dcab346cdf0c24c7567d8a66858
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Mon Mar 2 17:08:34 2020 -0800
libc - Use fixed block size for db hash and btree method
* Use a fixed block size for newly created hash and btree DB
files instead of querying the filesystem for st_blksize.
st_blksize has little to do with what an efficient blocksize
for I/O would be on a modern system.
Summary of changes:
lib/libc/db/btree/bt_open.c | 6 +++++-
lib/libc/db/btree/btree.h | 1 +
lib/libc/db/hash/hash.c | 2 +-
lib/libc/db/hash/hash.h | 1 +
4 files changed, 8 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/08acb08c0a6e4dcab346cdf0c24c7567d8a66858
--
DragonFly BSD source repository
More information about the Commits
mailing list