DragonFly commits List (threaded) for 2010-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - TMPFS - Bug fixing pass - vinitvmio(), umount, readdir
commit 22d3b3946bbeccc18eb6c307b2d8075024cfbd18
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Fri Feb 12 23:57:53 2010 -0800
kernel - TMPFS - Bug fixing pass - vinitvmio(), umount, readdir
* Call vinitvmio() with a properly bufcache-aligned number of pages
* Do not call vinitvmio() for symlinks or directories (we don't use
the buffer cache for those vnode types).
* Adjust tmpfs_dir_attach() and tmpfs_dir_detach() so the detach
code can be called from umount, and call it from umount to fix
a panic.
* tmpfs_dir_getdotdotdent() needed to be adjusted to handle the
root vnode's NULL parent pointer. Fixed empty root directories
for the mount.
* Acquire TMPFS_NODE_LOCK() around opreations on dnode->tn_dir.tn_dirhead.
Summary of changes:
sys/vfs/tmpfs/tmpfs.h | 7 +++--
sys/vfs/tmpfs/tmpfs_subr.c | 61 ++++++++++++++++++------------------------
sys/vfs/tmpfs/tmpfs_vfsops.c | 1 +
sys/vfs/tmpfs/tmpfs_vnops.c | 27 +++++++++---------
4 files changed, 45 insertions(+), 51 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/22d3b3946bbeccc18eb6c307b2d8075024cfbd18
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]