diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-09-10 20:59:01 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-09-10 20:59:01 +0000 |
commit | df58f470ea4ca0ee9ea2a64cb2b556f7a4176034 (patch) | |
tree | fe174c68db038e475607b8e1c55648469ccbec5f /usr.bin/whois | |
parent | e58fc146313c511c51ba88774b1dcbfe0a60f35c (diff) |
When selecting cylinder groups as candidates for new directory creation
make sure that theres a minimum amount of free blocks in that cylinder
group by tweaking the minbfree calculation. Without this, cylinder groups
with no free blocks could be chosen which resaults in expensive searches
for free blocks each time a new file is created in the directory.
Tweak the calculation of minifree (minimum free inodes) in the same
way. Also decrease the maxcontigdirs as the file system fills up to
lessen the chance of directory clusters overflowing the available
space in the cylinder group.
From FreeBSD (Rev 1.116 of sys/ufs/ffs/ffs_alloc.c);
ok miod@
Diffstat (limited to 'usr.bin/whois')
0 files changed, 0 insertions, 0 deletions