Go to file
Ben Gras 49eb1f4806 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-04-24 10:18:16 +00:00
benchmarks Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
bin remove utimes() workarounds 2013-04-12 18:55:40 +00:00
commands vm: new secondary cache code 2013-04-24 10:18:16 +00:00
common Downgrading to netbsd zlib version 2013-04-09 16:43:13 +02:00
dist/nvi Termcap update, replacing elvis by nvi. 2013-01-24 07:44:38 +01:00
distrib vm: new secondary cache code 2013-04-24 10:18:16 +00:00
docs build:refactor arm_sdimage.sh as to no longer require root. 2013-04-23 11:24:12 +02:00
drivers rs232: remove unneeded lock()/unlock() functions 2013-04-12 21:37:26 +02:00
etc vm: new secondary cache code 2013-04-24 10:18:16 +00:00
external remove utimes() workarounds 2013-04-12 18:55:40 +00:00
gnu/dist Toolchain upgrade and portability improvements. 2012-11-15 16:07:29 +01:00
include vm: new secondary cache code 2013-04-24 10:18:16 +00:00
kernel arm:cleanup remove special case memory handling. 2013-04-12 20:52:57 +02:00
lib vm: new secondary cache code 2013-04-24 10:18:16 +00:00
libexec Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
man Importing usr.sbin/rdate 2013-04-08 08:37:04 +02:00
releasetools build:refactor arm_sdimage.sh as to no longer require root. 2013-04-23 11:24:12 +02:00
sbin Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
servers vm: new secondary cache code 2013-04-24 10:18:16 +00:00
share remove utimes() workarounds 2013-04-12 18:55:40 +00:00
sys VM: 64-bit mmap() 2013-04-24 10:18:15 +00:00
test vm: new secondary cache code 2013-04-24 10:18:16 +00:00
tools build:add tool to convert from METALOG to proto files. 2013-04-21 21:36:30 +02:00
usr.bin build:add tool to convert from METALOG to proto files. 2013-04-21 21:36:30 +02:00
usr.sbin mkfs.mfs:add comment about the overflow check. 2013-04-19 13:10:06 +02: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 some etc fixes 2013-04-04 12:50:12 +00:00