/[base]
ViewVC logotype

Revision 206178


Jump to revision: Previous Next
Author: avg
Date: Mon Apr 5 10:12:21 2010 UTC (14 years, 3 months ago)
Changed paths: 2
Log Message:
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


Changed paths

Path Details
Directoryhead/lib/libc/db/hash/hash.c modified , text changed
Directoryhead/lib/libc/db/hash/hash.h modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27