minix/servers/avfs
Thomas Veerman ddbdca6cdb Add support for survival of crashed FSs
When an FS crashes, VFS will clean up resources tied to that FS:
 - Pending requests to the FS are canceled (i.e., fail with EIO)
 - Threads waiting for a reply are stopped (i.e., fail with EIO)
 - Open files are marked invalid. Future operations on a file descriptor
   will cause EBADF errors.
 - vmnt entry is cleared, so in-flight system calls that got past the
   file descriptor check but not yet talking to the crashed FS, will
   fail with EIO.
 - The reference counter of the mount point is decreased, effectively
   removing the crashed FS from the file system tree. Descendants of
   this part of the tree are unreachable by means of a path, but can
   still be unmounted by feeding the block special file to unmount(2).

This patch also gets rid of the "not a known driver endpoint" messages
during shutdown.
2012-01-19 14:21:46 +00:00
..
comm.c Add support for survival of crashed FSs 2012-01-19 14:21:46 +00:00
comm.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
const.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
coredump.c Provide core dumping support for AVFS 2011-12-08 10:47:11 +00:00
device.c Add support for survival of crashed FSs 2012-01-19 14:21:46 +00:00
dmap.c Split block/character protocols and libdriver 2011-11-23 14:06:37 +01:00
dmap.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
exec.c vfs,avfs: verify an interpreter was found on #! line 2011-12-21 23:44:13 +01:00
exec.h Implement issetugid syscall 2011-11-28 10:03:43 +00:00
file.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
filedes.c Add support for survival of crashed FSs 2012-01-19 14:21:46 +00:00
fproc.h AVFS: Use scratchpad instead of m_in to pass around file descriptors 2011-12-21 10:52:51 +00:00
fs.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
fscall.c Servers: cleanup of some gcc -W warnings 2011-12-11 22:33:37 +01:00
gcov.c Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
glo.h AVFS: Use scratchpad instead of m_in to pass around file descriptors 2011-12-21 10:52:51 +00:00
job.h err_code has to be preserved as well. Short term fix 2011-10-25 12:12:20 +00:00
link.c AVFS: Return actual last dir when path is named by a symlink 2012-01-16 10:12:29 +00:00
lock.c AVFS: Use scratchpad instead of m_in to pass around file descriptors 2011-12-21 10:52:51 +00:00
lock.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
main.c AVFS: Use scratchpad instead of m_in to pass around file descriptors 2011-12-21 10:52:51 +00:00
Makefile Provide core dumping support for AVFS 2011-12-08 10:47:11 +00:00
misc.c Add support for survival of crashed FSs 2012-01-19 14:21:46 +00:00
mount.c Properly unlock on mount failure 2011-12-09 15:47:42 +00:00
open.c AVFS: Return actual last dir when path is named by a symlink 2012-01-16 10:12:29 +00:00
param.h Add "expected size" parameter to getsysinfo() 2011-12-11 22:34:14 +01:00
path.c Add support for survival of crashed FSs 2012-01-19 14:21:46 +00:00
path.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
pipe.c AVFS: Use scratchpad instead of m_in to pass around file descriptors 2011-12-21 10:52:51 +00:00
protect.c Fix off-by-one errors and increase PATH_MAX to 1024 2011-09-12 09:00:24 +00:00
proto.h Add support for survival of crashed FSs 2012-01-19 14:21:46 +00:00
read.c AVFS: Use scratchpad instead of m_in to pass around file descriptors 2011-12-21 10:52:51 +00:00
request.c vfs/avfs: req_newdriver should use fs_sendrec 2011-12-05 16:28:09 +01:00
request.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
scratchpad.h AVFS: Use scratchpad instead of m_in to pass around file descriptors 2011-12-21 10:52:51 +00:00
select.c Servers: cleanup of some gcc -W warnings 2011-12-11 22:33:37 +01:00
select.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
stadir.c Fix off-by-one errors and increase PATH_MAX to 1024 2011-09-12 09:00:24 +00:00
table.c vfs/avfs: renumber stat calls so as to be unique 2012-01-14 00:27:07 +01:00
threads.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
time.c Fix off-by-one errors and increase PATH_MAX to 1024 2011-09-12 09:00:24 +00:00
tll.c Fix tll state bug 2012-01-12 11:30:24 +00:00
tll.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
utility.c Fix off-by-one errors and increase PATH_MAX to 1024 2011-09-12 09:00:24 +00:00
vmnt.c Add support for survival of crashed FSs 2012-01-19 14:21:46 +00:00
vmnt.h Reenable backcall detection 2011-10-27 15:29:37 +00:00
vnode.c Make AVFS resilient against failing back calls 2011-09-06 10:38:16 +00:00
vnode.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
worker.c Increase thread stack space for GCC compiled images 2012-01-16 10:12:29 +00:00
write.c Provide core dumping support for AVFS 2011-12-08 10:47:11 +00:00