]> Zhao Yanbai Git Server - minix.git/commit
libminixfs, mfs, ext2: may re-evaluate cache size 29/529/1
authorBen Gras <ben@minix3.org>
Fri, 26 Apr 2013 09:54:33 +0000 (09:54 +0000)
committerBen Gras <ben@minix3.org>
Fri, 26 Apr 2013 13:57:08 +0000 (13:57 +0000)
commitf0cc0106146af66bf4971c74094faa5b0a0f78dc
tree443f76412cc4dc2610410dd0cb78b5ac76eb26f1
parent988c7e39c00aa0e526062109a8bc3ae846ddf10b
libminixfs, mfs, ext2: may re-evaluate cache size

libminixfs may now be informed of changes to the block usage on the
filesystem. if the net change becomes big enough, libminixfs may
resize the cache based on the new usage.

. update the 2 FSes to provide this information to libminixfs

Change-Id: I158815a11da801fd5572a8de89c9e6c039b82650
include/minix/libminixfs.h
lib/libminixfs/cache.c
servers/ext2/balloc.c
servers/mfs/proto.h
servers/mfs/stats.c
servers/mfs/super.c