mfs - revert part of previous commit; should not have been commited
This commit is contained in:
parent
762665cec1
commit
491efeead9
@ -13,7 +13,7 @@ MAN=
|
|||||||
BINDIR?= /sbin
|
BINDIR?= /sbin
|
||||||
INSTALLFLAGS+= -S 128k
|
INSTALLFLAGS+= -S 128k
|
||||||
|
|
||||||
DEFAULT_NR_BUFS= 102400
|
DEFAULT_NR_BUFS= 1024
|
||||||
CPPFLAGS+= -DDEFAULT_NR_BUFS=${DEFAULT_NR_BUFS}
|
CPPFLAGS+= -DDEFAULT_NR_BUFS=${DEFAULT_NR_BUFS}
|
||||||
|
|
||||||
.include <minix.prog.mk>
|
.include <minix.prog.mk>
|
||||||
|
@ -63,10 +63,8 @@ PUBLIC struct buf *get_block(
|
|||||||
if(vmcache_avail < 0) {
|
if(vmcache_avail < 0) {
|
||||||
/* Test once for the availability of the vm yield block feature. */
|
/* Test once for the availability of the vm yield block feature. */
|
||||||
if(vm_forgetblock(VM_BLOCKID_NONE) == ENOSYS) {
|
if(vm_forgetblock(VM_BLOCKID_NONE) == ENOSYS) {
|
||||||
printf("mfs: no cache\n");
|
|
||||||
vmcache_avail = 0;
|
vmcache_avail = 0;
|
||||||
} else {
|
} else {
|
||||||
printf("mfs: cache\n");
|
|
||||||
vmcache_avail = 1;
|
vmcache_avail = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user