[Ocfs2-devel] [PATCH 07/10] ocfs2: Determine an extent tree's max_leaf_clusters in an et_op.
Mark Fasheh
mfasheh at suse.com
Thu Aug 21 15:25:04 PDT 2008
On Wed, Aug 20, 2008 at 07:48:22PM -0700, Joel Becker wrote:
> Provide an optional extent_tree_operation to specify the
> max_leaf_clusters of an ocfs2_extent_tree. If not provided, the value
> is 0 (unlimited).
>
> Signed-off-by: Joel Becker <joel.becker at oracle.com>
> ---
> fs/ocfs2/alloc.c | 18 +++++++++++++++---
> 1 files changed, 15 insertions(+), 3 deletions(-)
>
> diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c
> index 0b900f6..7c0721d 100644
> --- a/fs/ocfs2/alloc.c
> +++ b/fs/ocfs2/alloc.c
> @@ -76,6 +76,8 @@ struct ocfs2_extent_tree_operations {
> /* These are internal to ocfs2_extent_tree and don't have
> * accessor functions */
> void (*eo_fill_root_el)(struct ocfs2_extent_tree *et);
A comment here, noting that it's optional and what the expected behavior is
if it isn't set would be nice. Otherwise, this patch looks great.
--Mark
--
Mark Fasheh
More information about the Ocfs2-devel
mailing list