DragonFly-2.3.1.831.g42cd5 master sys/vfs/hammer hammer_inode.c

看板DFBSD_commit作者時間16年前 (2009/07/14 12:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1AN0C59Z (DFBSD_commit)