]> Zhao Yanbai Git Server - minix.git/commit
VFS/FS: replace protocol version with flag field 37/937/2
authorDavid van Moolenbroek <david@minix3.org>
Sat, 31 Aug 2013 19:48:15 +0000 (21:48 +0200)
committerLionel Sambuc <lionel@minix3.org>
Tue, 18 Feb 2014 10:25:02 +0000 (11:25 +0100)
commitcc810ee4d99414fb11d732b529e9bfd24acbf7cf
tree810acd5be6e7ec8a285cf84ce1fce107385049f2
parentac65742ae487f041518782da6b5610839642924d
VFS/FS: replace protocol version with flag field

The main motivation for this change is that only Loris supports
multithreading, and Loris supports dynamic thread allocation, so the
number of supported threads can be implemented as a bit flag (i.e.,
either 1 or "at least as many as VFS has"). The ABI break obviates the
need to support file system versioning at this time, and several
other aspects are better implemented as flags as well. Other changes:

- replace peek/bpeek test upon mount with FS flag as well;
- mark libsffs as 64-bit file size capable;
- remove old (3.2.1) getdents support.

Change-Id: I313eace9c50ed816656c31cd47d969033d952a03
24 files changed:
include/minix/vfsif.h
lib/libpuffs/mount.c
lib/libsffs/mount.c
lib/libvtreefs/glo.h
lib/libvtreefs/mount.c
lib/libvtreefs/read.c
servers/ext2/glo.h
servers/ext2/mount.c
servers/ext2/read.c
servers/iso9660fs/glo.h
servers/iso9660fs/mount.c
servers/iso9660fs/read.c
servers/mfs/glo.h
servers/mfs/mount.c
servers/mfs/proto.h
servers/mfs/read.c
servers/vfs/exec.c
servers/vfs/misc.c
servers/vfs/mount.c
servers/vfs/path.c
servers/vfs/proto.h
servers/vfs/read.c
servers/vfs/request.c
servers/vfs/vmnt.h