Stricter limit for the number of unused vnodes. The fs_shell doesn't

really manage memory, so one could easily run out of memory when copying
large files.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22256 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2007-09-19 20:14:50 +00:00
parent 0c85ed21ae
commit 32bf31b3ee
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@
namespace FSShell {
const static uint32_t kMaxUnusedVnodes = 1024;
const static uint32_t kMaxUnusedVnodes = 16;
// This is the maximum number of unused vnodes that the system
// will keep around (weak limit, if there is enough memory left,
// they won't get flushed even when hitting that limit).