From ab83c57df451f4907752be6dad0ce8d87b98d60b Mon Sep 17 00:00:00 2001 From: Bobi Jam Date: Wed, 16 May 2012 00:03:03 +0800 Subject: [PATCH] LU-1366 utils: disable ldiskfs extents feature for MDT Explicitly disable "extents" for MDT filesystem if it's based on ext4, it provides no benifit for MDT. Signed-off-by: Bobi Jam Change-Id: I284c6c207fb8cc79537bebd60b6ab8d836fd4ed9 Reviewed-on: http://review.whamcloud.com/2798 Tested-by: Hudson Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: Oleg Drokin --- lustre/utils/mkfs_lustre.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/utils/mkfs_lustre.c b/lustre/utils/mkfs_lustre.c index b7c25cf..1fd219e 100644 --- a/lustre/utils/mkfs_lustre.c +++ b/lustre/utils/mkfs_lustre.c @@ -569,6 +569,7 @@ static void enable_default_ext4_features(struct mkfs_opts *mop, char *anchor, append_unique(anchor, user_spec ? "," : " -O ", "dirdata", NULL, maxbuflen); append_unique(anchor, ",", "uninit_bg", NULL, maxbuflen); + append_unique(anchor, ",", "^extents", NULL, maxbuflen); } else { append_unique(anchor, user_spec ? "," : " -O ", "uninit_bg", NULL, maxbuflen); -- 1.8.3.1