[Ocfs2-tools-commits] branch, dx_dirs, created. ocfs2-tools-1.4.0-250-gebdbfd4
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Fri Jan 30 11:25:34 PST 2009
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Tools to manage the ocfs2 filesystem.".
The branch, dx_dirs has been created
at ebdbfd44395d7c1b9f337274fb458ed5f10c9ad2 (commit)
- Log -----------------------------------------------------------------
commit ebdbfd44395d7c1b9f337274fb458ed5f10c9ad2
Author: Mark Fasheh <mfasheh at suse.com>
Date: Wed Jan 28 14:05:39 2009 -0800
ocfs2-tools/dx_dirs: Add tunefs.ocfs2 feature for indexed directories
This only enables them for now. Disabling is a bit more involved, and will
come later.
Signed-off-by: Mark Fasheh <mfasheh at suse.com>
commit e2fd9b4f5a8aa8a2bbde7d68c3795e71e3cbe4a8
Author: Mark Fasheh <mfasheh at suse.com>
Date: Fri Jan 30 11:19:00 2009 -0800
ocfs2-tools/dx_dirs: mkfs.ocfs2 support
This adds only basic support to mkfs.ocfs2 to write the seed fields used in
directory indexing. The feature string 'indexed-dirs' is already there from
a previous patch, so it is possible to create a new file system with the
directory indexing feature turned on.
Future improvements that are needed:
- mkfs.ocfs2 should create the root directory and orphan dirs as indexed.
- possibly also we want to do this for the system dir, but that might
require some discussion.
Signed-off-by: Mark Fasheh <mfasheh at suse.com>
commit 043dc3c9672af5288f81d7464141b07927751c3c
Author: Tiger Yang <tiger.yang at oracle.com>
Date: Fri Oct 24 17:26:40 2008 +0800
ocfs2-tools: add xattr_uuid_hash in libocfs2
This function use to calculate uuid hash, this hash value will be
used as random seed to calculate xattr hash.
Signed-off-by: Tiger Yang <tiger.yang at oracle.com>
Signed-off-by: Mark Fasheh <mfasheh at suse.com>
commit d70336267418e7a1eb06b399e1bb9b186d3b3aac
Author: Mark Fasheh <mfasheh at suse.com>
Date: Fri Jan 30 11:13:20 2009 -0800
ocfs2-tools/dx_dirs: debugfs.ocfs2 support
This adds a full set of functionality to debugfs.ocfs2 so that we can
visualize and debug indexed directories. Aside from updates to other
commands to dump newly added/used fields in old structures, we get the
following debugfs.ocfs2 commands:
dx_space - Show all entries in the free list
dx_dump - Show the directory index (including root block)
dx_leaf - Show a single directory index leaf block
dx_root - Show directory index root block, as well as any extent blocks for
non-inline dx_roots.
Signed-off-by: Mark Fasheh <mfasheh at suse.com>
commit aa67b03da1b2607fc0c81f7bbda8be441e0fb80d
Author: Mark Fasheh <mfasheh at suse.com>
Date: Fri Jan 30 11:06:24 2009 -0800
ocfs2-tools/dx_dirs: Add library support for directory indexing
This patch updates ocs2_fs.h with the relevant directory indexing
structures. Additionally, libocfs2/ is given swap functions for the new disk
structures. The library also gets three new iteration functions:
ocfs2_dx_entries_iterate() - to iterate all index entries in an inline, or
external index.
ocfs2_dx_frees_iterate() - an iterator for the dirblock free list.
ocfs2_extent_iterate_dx_root() - iterate the extent blocks of an index tree.
Caveats:
Right now, this is all read-only. A major 'TODO' item is adding the
appropriate API's to enable creation, deletion and various manipulation of
the dx tree, as well as individual items.
None of the other library code really knows about the directory index. This
means that things like ocfs2_looup() is still using the old-style lookup via
the unindexed dirent tree.
We need to add support for the newly increased links_count maximum. This
should probably be a seperate patch though.
Signed-off-by: Mark Fasheh <mfasheh at suse.com>
-----------------------------------------------------------------------
hooks/post-receive
--
Tools to manage the ocfs2 filesystem.
More information about the Ocfs2-tools-commits
mailing list