minix/servers/mfs
Ben Gras b80e3ac26b vm: new secondary cache
Primary purpose of change: to support the mmap implementation, VM must
know both (a) about some block metadata for FS cache blocks, i.e. inode
numbers and inode offsets where applicable; and (b) know about *all*
cache blocks, i.e.  also of the FS primary caches and not just the
blocks that spill into the secondary one. This changes the interface and
VM data structures.

This change is only for the interface (libminixfs) and VM data
structures; the filesystem code is unmodified, so although the secondary
cache will be used as normal, blocks will not be annotated with inode
information until the FS is modified to provide this information. Until
it is modified, mmap of files will fail gracefully on such filesystems.

This is indicated to VFS/VM by returning ENOSYS for REQ_PEEK.

Change-Id: I5ddf51a27e3b85b87a10556be87fc33bb92b1090
2013-03-16 04:14:47 +00:00
..
buf.h Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
cache.c Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
clean.h Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
const.h Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
fs.h Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
glo.h Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
inode.c Cleaning usage of MAJOR/MINOR 2013-01-14 11:36:26 +01:00
inode.h mfs: restore readonly mounting 2011-12-22 01:29:27 +01:00
link.c Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
main.c Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
Makefile Cleanup: Remove minix.bootprog.mk 2013-03-06 11:56:56 +01:00
mfsdir.h Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
misc.c Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
mount.c Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
open.c Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
path.c Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
pipe.c Check group range for sanity 2011-09-08 12:23:03 +00:00
protect.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
proto.h Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
read.c VFS, FSes: add REQ_PEEK request type 2013-03-07 10:57:38 +00:00
stadir.c Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
stats.c Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
super.c Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
super.h mfs: clean flag 2011-12-22 16:53:32 +01:00
table.c vm: new secondary cache 2013-03-16 04:14:47 +00:00
time.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
type.h Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
utility.c Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
write.c Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00