Date: Mon, 5 Apr 2010 10:12:21 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/db/hash hash.c hash.h Message-ID: <201004051012.o35ACkQg016710@repoman.freebsd.org>
index | next in thread | raw e-mail
avg 2010-04-05 10:12:21 UTC
FreeBSD src repository
Modified files:
lib/libc/db/hash hash.c hash.h
Log:
SVN rev 206178 on 2010-04-05 10:12:21Z by avg
libc/db/hash: cap auto-tuned block size with a value that actually works
This fix mostly matters after r206129 that made it possible for
st_blksize to be greater than 4K. For this reason, this change should
be MFC-ed before r206129.
Also, it seems that all FreeBSD uitlities that use db(3) hash databases
and create new databases in files, specify their own block size value
and thus do not depend on block size autotuning.
PR: bin/144446
Submitted by: Peter Jeremy <peterjeremy@acm.org>
MFC after: 5 days
Revision Changes Path
1.23 +2 -0 src/lib/libc/db/hash/hash.c
1.10 +1 -1 src/lib/libc/db/hash/hash.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004051012.o35ACkQg016710>
