minix/servers
Ben Gras bd3cde4571 Move primary cache code to libminixfs.
Add primary cache management feature to libminixfs as mfs and ext2
currently do separately, remove cache code from mfs and ext2, and make
them use the libminixfs interface. This makes all fields of the buf
struct private to libminixfs and FS clients aren't supposed to access
them at all. Only the opaque 'void *data' field (the FS block contents,
used to be called bp) is to be accessed by the FS client.

The main purpose is to implement the interface to the 2ndary vm cache
just once, get rid of some code duplication, and add a little
abstraction to reduce the code inertia of the whole caching business.

Some minor sanity checking and prohibition done by mfs in this code
as removed from the generic primary cache code as a result:
        - checking all inodes are not in use when allocating/resizing
          the cache
        - checking readonly filesystems aren't written to
        - checking the superblock isn't written to on mounted filesystems

The minixfslib code relies on fs_blockstats() in the client filesystem to
return some FS usage information.
2012-10-23 19:48:38 +02:00
..
devman devman: initialize libvtreefs hooks 2012-08-31 19:12:49 +02:00
ds various coverity-inspired fixes 2012-07-16 14:00:56 +02:00
ext2 Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
hgfs Create SFFS library out of HGFS 2012-04-09 18:08:26 +02:00
inet various warning/errorwarning fixes for gcc47 2012-08-27 16:19:18 +02:00
init No more intel/minix segments. 2012-07-15 22:30:15 +02:00
ipc VM: make mapping types explicit 2012-10-12 14:52:01 +02:00
is VM: make mapping types explicit 2012-10-12 14:52:01 +02:00
iso9660fs Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
lwip LWIP - fix, removed segments 2012-08-03 00:20:34 -07:00
mfs Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
pfs various warning/errorwarning fixes for gcc47 2012-08-27 16:19:18 +02:00
pm PM: don't deliver signals to VM 2012-09-17 11:01:46 +00:00
procfs VM: make mapping types explicit 2012-10-12 14:52:01 +02:00
rs VM: full munmap 2012-09-18 13:17:52 +02:00
sched Remove MINIXSRCDIR and use NETBSDSRCDIR 2012-06-18 10:53:35 +00:00
vbfs Add VBFS: VirtualBox Shared Folder File System 2012-04-11 00:27:48 +02:00
vfs VFS: fix check_bsf() locking 2012-09-28 14:57:34 +02:00
vm VM: munmap fix 2012-10-13 19:08:28 +02:00
Makefile Add VBFS: VirtualBox Shared Folder File System 2012-04-11 00:27:48 +02:00
Makefile.inc Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00