[Ocfs2-tools-devel] [PATCH] mkfs: make unwritten extents a default feature

Tao Ma tao.ma at oracle.com
Wed May 28 20:14:50 PDT 2008


Signed-off-by: Tao Ma <tao.ma at oracle.com>

Mark Fasheh wrote:
> Unwritten extents support went upstream some time ago, in 2.6.23. For
> comparison, sparse file support (a mkfs default feature) went upstream in
> 2.6.22.
> 
> Signed-off-by: Mark Fasheh <mfasheh at suse.com>
> ---
>  libocfs2/feature_string.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/libocfs2/feature_string.c b/libocfs2/feature_string.c
> index bba800a..6099a00 100644
> --- a/libocfs2/feature_string.c
> +++ b/libocfs2/feature_string.c
> @@ -39,7 +39,7 @@ static struct feature_level_translation ocfs2_feature_levels_table[] = {
>  static fs_options feature_level_defaults[] = {
>  	{OCFS2_FEATURE_COMPAT_BACKUP_SB,
>  	 OCFS2_FEATURE_INCOMPAT_SPARSE_ALLOC,
> -	 0},  /* FEATURE_LEVEL_DEFAULT */
> +	 OCFS2_FEATURE_RO_COMPAT_UNWRITTEN},  /* FEATURE_LEVEL_DEFAULT */
>  
>  	{OCFS2_FEATURE_COMPAT_BACKUP_SB,
>  	 0,



More information about the Ocfs2-tools-devel mailing list