minix/lib
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
..
csu csu: build for ARM 2012-08-12 23:30:54 +02:00
libasyn No more intel/minix segments. 2012-07-15 22:30:15 +02:00
libaudiodriver libaudiodriver: properly deallocate memory 2012-08-24 09:17:27 +00:00
libbdev libbdev: resolve Coverity warnings 2012-07-30 12:10:12 +00:00
libblockdriver libblockdriver: minor whitespace fix 2012-08-31 12:36:17 +00:00
libbz2 set major version of shlibs to 0 2012-05-10 16:38:24 +02:00
libc LIBC - getifaddrs() fix 2012-10-11 09:43:33 +00:00
libchardriver libchardriver: resolve Coverity warnings 2012-07-30 12:10:13 +00:00
libcompat_minix ARM support for system libraries 2012-08-28 13:49:27 -04:00
libcrypt set major version of shlibs to 0 2012-05-10 16:38:24 +02:00
libcurses set major version of shlibs to 0 2012-05-10 16:38:24 +02:00
libddekit Remove MINIXSRCDIR and use NETBSDSRCDIR 2012-06-18 10:53:35 +00:00
libdevman retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
libedit Fix prototypes for getdents, read, readlink 2012-08-10 22:09:43 +02:00
libelf set major version of shlibs to 0 2012-05-10 16:38:24 +02:00
libexec SYSENTER/SYSCALL support 2012-09-24 15:53:43 +02:00
libfetch Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
libhgfs Create SFFS library out of HGFS 2012-04-09 18:08:26 +02:00
liblwip Cleanup servers to make GCC/Clang a little happier 2011-09-08 13:57:03 +00:00
libm set major version of shlibs to 0 2012-05-10 16:38:24 +02:00
libminc libc/libminc malloc reorganization 2012-09-18 13:17:44 +02:00
libminixfs Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
libminlib SYSENTER/SYSCALL support 2012-09-24 15:53:43 +02:00
libmthread ARM support for system libraries 2012-08-28 13:49:27 -04:00
libnetdriver retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
libnetsock libnetsock: resolve Coverity warnings 2012-08-09 00:16:36 +02:00
libprop set major version of shlibs to 0 2012-05-10 16:38:24 +02:00
libpuffs drop segment from safecopy invocations 2012-06-16 16:22:51 +00:00
librefuse various symbol referencing fixes 2012-06-28 15:20:53 +02:00
libsffs libsffs: resolve Coverity warnings 2012-07-30 12:10:14 +00:00
libsys libsys: add sys_safememset() 2012-09-26 02:18:00 +02:00
libterminfo Remove MINIXSRCDIR and use NETBSDSRCDIR 2012-06-18 10:53:35 +00:00
libtimers Replace NULL macro defs with null.h include 2010-07-22 10:03:31 +00:00
libusb retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
libutil Clean up generated files for ash,ramdisk,libutil,libc 2012-06-18 10:54:56 +00:00
libvassert No more intel/minix segments. 2012-07-15 22:30:15 +02:00
libvboxfs libvboxfs: fix setting file mtimes 2012-10-17 23:01:24 +02:00
libvtreefs libvtreefs: resolve Coverity warnings 2012-07-30 14:00:22 +00:00
libz set major version of shlibs to 0 2012-05-10 16:38:24 +02:00
generateasm.mk libc: ARM generateasm 2012-08-07 17:01:25 +02:00
Makefile Import NetBSD flex 2012-06-18 10:54:47 +00:00
Makefile.inc minix.ack.mk: use CPPFLAGS for ACK asm files 2011-08-05 14:16:48 +02:00