Journaling layer work.
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 29 Dec 2004 02:40:03 +0000 (02:40 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 29 Dec 2004 02:40:03 +0000 (02:40 +0000)
commit2281065eeeb411cecbefa52be5ac6aae0883e642
tree4cfb70262919589bfbb8dc27c508cb5bacc0c043
parent1141eb20553d98ff3653b846de252111794a6d9a
Journaling layer work.

* Adjust the new mountctl syscall to make the passed file descriptor an
  explicit argument rather then storing the fd in the control structure.
  Convert the fd to a file pointer to make kern_mountctl() callable from
  a pure thread.

* Get rid of vop_stdmountctl and just have the VOP default ops call
  journal_mountctl(), which makes things less confusing.

* Get more of the journaling infrastructure working.  Basic installation
  and removal of the journaling structure and the creation and destruction
  of the worker thread and stream file pointer now works (with lots of XXX's).

* Add a journaling vector for VOP_NMKDIR to test the journaling VOP ops shim.
20 files changed:
sys/kern/init_sysent.c
sys/kern/syscalls.c
sys/kern/syscalls.master
sys/kern/vfs_default.c
sys/kern/vfs_jops.c
sys/kern/vfs_journal.c
sys/kern/vfs_mount.c
sys/kern/vfs_syscalls.c
sys/kern/vfs_vopops.c
sys/sys/kern_syscall.h
sys/sys/mount.h
sys/sys/mountctl.h
sys/sys/syscall-args
sys/sys/syscall-hide.h
sys/sys/syscall.h
sys/sys/syscall.mk
sys/sys/sysproto.h
sys/sys/sysunion.h
sys/sys/vfsops.h
sys/sys/vnode.h