看板 DFBSD_commit 關於我們 聯絡資訊
commit 42cd5131b0bc761c49ab4d67fc5cf88a4c03be8b Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Mon Jul 13 20:46:45 2009 -0700 HAMMER - Add MPSAFE suppor for hammer_vop_read(). This is still a bit of a hack. If vfs.read_mpsafe is set HAMMER will run MPSAFE for reads from regular files which are cached in the buffer cache. Data which is not cached will fall-back to getting the MP lock. At the moment enabling this operation will cause atime to not get updated on fully cached files, because the rest of HAMMER is not MPSAFE yet so I cannot modify the internal hammer_inode state. Summary of changes: sys/vfs/hammer/hammer_inode.c | 6 +++++ sys/vfs/hammer/hammer_vnops.c | 46 ++++++++++++++++++++++++++++++++++------ 2 files changed, 45 insertions(+), 7 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/42cd5131b0bc761c49ab4d67fc5cf88a4c03be8b -- DragonFly BSD source repository