16 |
|
#define CACHESIZE 16 /* default cache size (Mbytes, 0==inf) */ |
17 |
|
#endif |
18 |
|
#ifndef FREEBEAMS |
19 |
< |
#define FREEBEAMS 512 /* maximum beams to free at a time */ |
19 |
> |
#define FREEBEAMS 1024 /* maximum beams to free at a time */ |
20 |
|
#endif |
21 |
|
#ifndef PCTFREE |
22 |
< |
#define PCTFREE 20 /* maximum fraction to free (%) */ |
22 |
> |
#define PCTFREE 15 /* maximum fraction to free (%) */ |
23 |
|
#endif |
24 |
|
#ifndef MAXFRAG |
25 |
|
#define MAXFRAG 32767 /* maximum fragments/file to track (0==inf) */ |
641 |
|
{ |
642 |
|
register int i, j; |
643 |
|
/* insert each beam from hp */ |
644 |
< |
for (i = nbeams(hp); i > 0; i--) { |
644 |
> |
for (i = 1; i <= nbeams(hp); i++) { |
645 |
|
if (hp->bl[i] == NULL) /* check if loaded */ |
646 |
|
continue; |
647 |
|
#if 0 |