Add a bit of verbosity to the comment.

This commit is contained in:
Ivan Voras 2012-01-16 15:47:42 +00:00
parent 575cabed9e
commit d83064751a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=230221

View File

@ -1248,7 +1248,12 @@ ufsdirhash_lowmem()
{
struct dirhash *dh, *dh_temp;
int memfreed = 0;
/* XXX: this 10% may need to be adjusted */
/*
* Will free a *minimum* of 10% of the dirhash, but possibly much
* more (depending on dirhashreclaimage). System with large dirhashes
* probably also need a much larger dirhashreclaimage.
* XXX: this percentage may need to be adjusted.
*/
int memwanted = ufs_dirhashmem / 10;
ufs_dirhashlowmemcount++;