From d3e1a3d453c358f2b5a6b86805767c8361fde2ee Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Wed, 17 Jun 2009 20:58:20 +0000 Subject: adding an extra xlator option type, GF_OPTION_PERCENT_OR_SIZET. Originally from Paul Rawson http://patches.gluster.com/patch/391/ : patch re-submitted with patching guidelines. with this patch, the xlator volume options get another type which can take arguments either in 'percent' or in 'bytes', which is useful in many cases. Signed-off-by: Anand V. Avati --- libglusterfs/src/xlator.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libglusterfs/src/xlator.h') diff --git a/libglusterfs/src/xlator.h b/libglusterfs/src/xlator.h index 8e0676175..e8fc9d250 100644 --- a/libglusterfs/src/xlator.h +++ b/libglusterfs/src/xlator.h @@ -818,6 +818,7 @@ typedef enum { GF_OPTION_TYPE_INT, GF_OPTION_TYPE_SIZET, GF_OPTION_TYPE_PERCENT, + GF_OPTION_TYPE_PERCENT_OR_SIZET, GF_OPTION_TYPE_BOOL, GF_OPTION_TYPE_XLATOR, GF_OPTION_TYPE_PATH, -- cgit