From owner-cvs-src-old@FreeBSD.ORG Mon Apr 5 10:12:46 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9563A1065674 for ; Mon, 5 Apr 2010 10:12:46 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 847548FC24 for ; Mon, 5 Apr 2010 10:12:46 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o35ACkGf016711 for ; Mon, 5 Apr 2010 10:12:46 GMT (envelope-from avg@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o35ACkQg016710 for cvs-src-old@freebsd.org; Mon, 5 Apr 2010 10:12:46 GMT (envelope-from avg@repoman.freebsd.org) Message-Id: <201004051012.o35ACkQg016710@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to avg@repoman.freebsd.org using -f From: Andriy Gapon Date: Mon, 5 Apr 2010 10:12:21 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/db/hash hash.c hash.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2010 10:12:46 -0000 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 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