summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2016-02-23 15:28:13 +0000
committerdwmalone <dwmalone@FreeBSD.org>2016-02-23 15:28:13 +0000
commitb5836dc86468066c8b641bf65cbfc5e18cef67da (patch)
treed14ffeba0241fba34734f6834c1a70fc37d85068 /lib/libc
parent3d569ff3bef0f758d848427c0ebed038dce6245d (diff)
downloadFreeBSD-src-b5836dc86468066c8b641bf65cbfc5e18cef67da.zip
FreeBSD-src-b5836dc86468066c8b641bf65cbfc5e18cef67da.tar.gz
Following revision r295924, the changes to a db file should be fsynced
before the file is closed. Consequently, it shouldn't be necessary to open the file with O_SYNC any more. This improves the performance of building large .db files for large password files a lot and should resolve this problem: https://forums.freebsd.org/threads/10-2-pre-pwd_mkdb-slow-on-larger-master-passwd.52700/ Differential Revision: https://reviews.freebsd.org/D5186 Reviewed by: garga, vangyzen, bapt, se MFC after: 1 week
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud