]> Zhao Yanbai Git Server - minix.git/commit
VFS: Implement REQ_BPEEK. 08/408/7
authorBen Gras <ben@minix3.org>
Sat, 16 Mar 2013 04:09:36 +0000 (04:09 +0000)
committerBen Gras <ben@minix3.org>
Wed, 24 Apr 2013 10:18:16 +0000 (10:18 +0000)
commit44f34e53d57e040e3eb0d230c42ceb6b28dc4fbf
treec3652933a1edc77d5a80f6c6f1d0f25a22d760f6
parent0cfff08e561c56297989976f4e3e37b4c83d5d7d
VFS: Implement REQ_BPEEK.

This commit introduces a new request type called REQ_BPEEK. It
requests minor device blocks from the FS.  Analogously to REQ_PEEK,
it requests the filesystem to get the requested blocks into its
cache, without actually copying the result anywhere.

Change-Id: If1d06645b0e17553a64b3167091e9d12efeb3d6f
12 files changed:
include/minix/vfsif.h
lib/libminixfs/cache.c
lib/libpuffs/table.c
lib/libsffs/table.c
lib/libvtreefs/table.c
servers/mfs/misc.c
servers/mfs/proto.h
servers/mfs/table.c
servers/vfs/mount.c
servers/vfs/proto.h
servers/vfs/request.c
servers/vfs/vmnt.h