X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Fobd_lov.h;h=ebd50f30a795f0414e44d1313afffc5cb701bc24;hb=a933a4ceaa4bdf6fd458571d053ccb0794e31928;hp=da880991736f777d637b5b8677a9ba915dc0e7ef;hpb=08aa217ce49aba1ded52e0f7adb8a607035123fd;p=fs%2Flustre-release.git diff --git a/lustre/include/obd_lov.h b/lustre/include/obd_lov.h index da88099..ebd50f3 100644 --- a/lustre/include/obd_lov.h +++ b/lustre/include/obd_lov.h @@ -37,6 +37,8 @@ #ifndef _OBD_LOV_H__ #define _OBD_LOV_H__ +#define LOV_DEFAULT_STRIPE_SIZE (1 << LNET_MTU_BITS) + static inline int lov_stripe_md_size(__u16 stripes) { return sizeof(struct lov_stripe_md) + stripes*sizeof(struct lov_oinfo*);