From: Christopher J. Morrone Date: Wed, 18 Jul 2012 01:29:31 +0000 (-0700) Subject: LU-1606 api: Move defines from lustre_idl.h to lustre_user.h X-Git-Tag: 2.2.92~19 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=8a06a00535b929a8b5761764457be03a3308f6ec;p=fs%2Flustre-release.git LU-1606 api: Move defines from lustre_idl.h to lustre_user.h Move some defines that user's require to be able to use the api's get_stripe functions. Since lustre_user.h is the place designated in lustre_idl.h as the place for definitions needed both in the IDL and in user space, and since lustre_idl.h will not compile in user space, it seems logical to relocate these definitions there. Signed-off-by: Christopher J. Morrone Change-Id: Ib0133553f902d68222c16c5fc5b99cd5a9cd033d Reviewed-on: http://review.whamcloud.com/3426 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Li Wei Reviewed-by: Oleg Drokin --- diff --git a/lustre/include/lustre/lustre_idl.h b/lustre/include/lustre/lustre_idl.h index 8b59564..4c854cf 100644 --- a/lustre/include/lustre/lustre_idl.h +++ b/lustre/include/lustre/lustre_idl.h @@ -2220,22 +2220,6 @@ enum seq_op { * LOV data structures */ -#define LOV_MIN_STRIPE_BITS 16 /* maximum PAGE_SIZE (ia64), power of 2 */ -#define LOV_MIN_STRIPE_SIZE (1<