DragonFly commits List (threaded) for 2012-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: hammer2 hammer2 - flesh out inode and blockref chaining
commit 7cfa8da52cfd4b8dbe75786832df9f844940be57
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Fri Feb 10 14:12:13 2012 -0800
hammer2 - flesh out inode and blockref chaining
* Move the inode code into hammer2_inode.c
* Rename ipstack to chain and do an initial skeleton in hammer2_chain.c
* The hammer2_chain structures embed a blockref and maintain a chain
of pointers all the way to the volume root.
hammer2_chain structures are embedded in major hammer2 system memory
structures (hammer2_inode, hammer2_mount, hammer2_indblock).
All lookups and searches are tracked via hammer2_chain structures.
Summary of changes:
sys/vfs/hammer2/Makefile | 3 +-
sys/vfs/hammer2/hammer2.h | 74 ++++++++++---
sys/vfs/hammer2/hammer2_chain.c | 105 ++++++++++++++++++
sys/vfs/hammer2/hammer2_disk.h | 12 ++-
sys/vfs/hammer2/hammer2_inode.c | 222 ++++++++++++++++++++++++++++++++++++++
sys/vfs/hammer2/hammer2_subr.c | 175 +-----------------------------
sys/vfs/hammer2/hammer2_vfsops.c | 56 ++++++++--
7 files changed, 444 insertions(+), 203 deletions(-)
create mode 100644 sys/vfs/hammer2/hammer2_chain.c
create mode 100644 sys/vfs/hammer2/hammer2_inode.c
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7cfa8da52cfd4b8dbe75786832df9f844940be57
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]