]> Zhao Yanbai Git Server - minix.git/commit
libbdev: initial version
authorDavid van Moolenbroek <david@minix3.org>
Wed, 9 Nov 2011 13:29:12 +0000 (14:29 +0100)
committerDavid van Moolenbroek <david@minix3.org>
Wed, 9 Nov 2011 13:43:25 +0000 (14:43 +0100)
commitaf01bda509d887dd6826178a6fa92161508c7550
tree7dfcfc6c9aaba19fa2feb8206547608a98afb61f
parent0bb27bb0b169ae6eb5fae99db427e3b2f16787b2
libbdev: initial version

The "bdev" library provides basic primitives for file systems to talk
to block device drivers, hiding the details of the underlying protocol
and interaction model.

This version of libbdev is rather basic. It is planned to support the
following features in the long run:

 - asynchronous requests and replies;
 - recovery support for underlying block drivers;
 - retrying of failed I/O requests.

The commit also changes our block-based file systems (mfs, ext2, isofs)
to make use of libbdev.
43 files changed:
common/include/Makefile.inc
common/include/minix/bdev.h [new file with mode: 0644]
lib/Makefile
lib/libbdev/Makefile [new file with mode: 0644]
lib/libbdev/bdev.c [new file with mode: 0644]
lib/libbdev/driver.c [new file with mode: 0644]
lib/libbdev/ipc.c [new file with mode: 0644]
lib/libbdev/proto.h [new file with mode: 0644]
servers/ext2/Makefile
servers/ext2/cache.c
servers/ext2/const.h
servers/ext2/device.c [deleted file]
servers/ext2/drivers.h [deleted file]
servers/ext2/main.c
servers/ext2/misc.c
servers/ext2/mount.c
servers/ext2/path.c
servers/ext2/proto.h
servers/ext2/super.c
servers/ext2/table.c
servers/iso9660fs/Makefile
servers/iso9660fs/cache.c
servers/iso9660fs/const.h
servers/iso9660fs/device.c [deleted file]
servers/iso9660fs/drivers.h [deleted file]
servers/iso9660fs/inc.h
servers/iso9660fs/main.c
servers/iso9660fs/misc.c
servers/iso9660fs/mount.c
servers/iso9660fs/proto.h
servers/iso9660fs/super.c
servers/mfs/Makefile
servers/mfs/cache.c
servers/mfs/const.h
servers/mfs/device.c [deleted file]
servers/mfs/drivers.h [deleted file]
servers/mfs/main.c
servers/mfs/misc.c
servers/mfs/mount.c
servers/mfs/path.c
servers/mfs/proto.h
servers/mfs/super.c
servers/mfs/table.c