Official MINIX sources - Automatically replicated from gerrit.minix3.org
Go to file
Ben Gras 776494dcb8 vm: new secondary cache code
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: I1d2df6c485e6c5e89eb28d9055076cc02629594e
2013-03-20 21:08:21 +01:00
benchmarks Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
bin Importing bin/ksh 2013-03-14 11:33:10 +01:00
commands fields and functions for new 2ndary cache 2013-03-20 21:08:20 +01:00
common __aeabi_ldivmod: fix sign logic 2013-02-11 21:37:10 +01:00
dist/nvi Termcap update, replacing elvis by nvi. 2013-01-24 07:44:38 +01:00
distrib Move MINIX reboot definitions into minix/reboot.h 2013-03-20 16:50:01 +00:00
docs Importing bin/ksh 2013-03-14 11:33:10 +01:00
drivers Move MINIX reboot definitions into minix/reboot.h 2013-03-20 16:50:01 +00:00
etc fields and functions for new 2ndary cache 2013-03-20 21:08:20 +01:00
external Reduce differences in libgcc Makefiles for ARM 2013-03-08 09:41:49 +01:00
gnu/dist Toolchain upgrade and portability improvements. 2012-11-15 16:07:29 +01:00
include fields and functions for new 2ndary cache 2013-03-20 21:08:20 +01:00
kernel Move MINIX reboot definitions into minix/reboot.h 2013-03-20 16:50:01 +00:00
lib fields and functions for new 2ndary cache 2013-03-20 21:08:20 +01:00
libexec Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
man Move MINIX reboot definitions into minix/reboot.h 2013-03-20 16:50:01 +00:00
releasetools release.sh: pkg_install should be installed 1st 2013-03-19 00:29:45 +01:00
sbin Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
servers vm: new secondary cache code 2013-03-20 21:08:21 +01:00
share Let the build system manage compilation flags 2013-03-08 09:41:49 +01:00
sys mmap64 2013-03-20 21:08:20 +01:00
test Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
tools Removing forgotten, useless, renegade defines 2013-02-27 10:54:04 +01:00
usr.bin Importing usr.bin/cal 2013-03-18 11:27:44 +01:00
usr.sbin Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview misc:Add gerrit code review support. 2013-01-16 09:44:16 +01:00
build.sh Reverting back to default value of MKARZERO 2013-01-17 10:03:58 +01:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile Installing posix tests in /usr/tests/minix-posix 2013-03-13 10:43:16 +01:00