X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Fdoc%2FCommitdir.txt;fp=src%2Fceph%2Fsrc%2Fdoc%2FCommitdir.txt;h=0000000000000000000000000000000000000000;hb=7da45d65be36d36b880cc55c5036e96c24b53f00;hp=05c727be60ae68babda76c3b879ee6cd39eedc5b;hpb=691462d09d0987b47e112d6ee8740375df3c51b2;p=stor4nfv.git diff --git a/src/ceph/src/doc/Commitdir.txt b/src/ceph/src/doc/Commitdir.txt deleted file mode 100644 index 05c727b..0000000 --- a/src/ceph/src/doc/Commitdir.txt +++ /dev/null @@ -1,24 +0,0 @@ -OLD - - -How Directory Committing Works: - -Each CDir has: - version - current version of directory - committing_version - which version was sent to stable storage - last_committed_version - last version to be safely stored - -Each Inode has: - parent_dir_version - what dir version i was in when i was dirtied. (*) - - (*) note that if you change an inode, mark_dirty() again, even if it's already dirty! - - -How committing works: - -A call to commit_dir(dir, context) will ensure tha the _current_ version is stored safely on disk before the context is finished. - -When a commit completes, inodes in the directory are checked. If they are dirty and belonged to the _committed_ (or earlier) version, then they are marked clean. If they belong to a newer version, then they are _still dirty_. - - -