From 4a86f37c7dd03228d5ed60ca0a17ec85f9139d4b Mon Sep 17 00:00:00 2001 From: adilger Date: Fri, 11 Oct 2002 03:04:20 +0000 Subject: [PATCH] Header changes for the delayed-alloc changes I previously made. --- lustre/include/linux/lustre_lite.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lustre/include/linux/lustre_lite.h b/lustre/include/linux/lustre_lite.h index dc8e027..a8dc323 100644 --- a/lustre/include/linux/lustre_lite.h +++ b/lustre/include/linux/lustre_lite.h @@ -184,9 +184,21 @@ void ll_sysctl_clean(void); #endif /* __KERNEL__ */ +#include + #define LL_IOC_GETFLAGS _IOR ('f', 151, long) #define LL_IOC_SETFLAGS _IOW ('f', 152, long) #define LL_IOC_CLRFLAGS _IOW ('f', 153, long) +#define LL_IOC_LOV_SETSTRIPE _IOW ('f', 154, long) + +struct lov_user_md { + __u64 lum_stripe_size; + __u32 lum_stripe_pattern; + __u32 lum_stripe_offset; + __u32 lum_stripe_count; +}; + +#define O_LOV_DELAY_CREATE 0100000000 /* hopefully this does not conflict */ #define LL_FILE_IGNORE_LOCK 0x00000001 -- 1.8.3.1