minix/servers/iso9660fs
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
const.h libbdev: initial version 2011-11-09 14:43:25 +01:00
glo.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
inc.h Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
inode.c Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
inode.h retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
main.c iso9660fs: initialize buffer cache 2012-11-16 11:09:03 +00:00
Makefile Move primary cache code to libminixfs. 2012-10-23 19:48:38 +02:00
misc.c drop segment from safecopy invocations 2012-06-16 16:22:51 +00:00
mount.c iso9660fs: initialize buffer cache 2012-11-16 11:09:03 +00:00
path.c Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
protect.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
proto.h VFS, FSes: add REQ_PEEK request type 2013-03-07 10:57:38 +00: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
super.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
super.h retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
table.c vm: new secondary cache 2013-03-16 04:14:47 +00:00
utility.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00