X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Fuapi%2Flinux%2Flustre%2Flustre_idl.h;h=28e008dff089651744e5469bad991247bcacdaa9;hp=aca742b20f80e35a4d017d6933a21a39aa99acb8;hb=be5483d3cdd72b275c13954b721d1890165e55de;hpb=dd200e5530fd841999399f6dcafb5ded46ba3cf1 diff --git a/lustre/include/uapi/linux/lustre/lustre_idl.h b/lustre/include/uapi/linux/lustre/lustre_idl.h index aca742b..28e008d 100644 --- a/lustre/include/uapi/linux/lustre/lustre_idl.h +++ b/lustre/include/uapi/linux/lustre/lustre_idl.h @@ -834,6 +834,9 @@ struct ptlrpc_body_v2 { #define OBD_CONNECT2_LOCK_CONVERT 0x80ULL /* IBITS lock convert support */ #define OBD_CONNECT2_ARCHIVE_ID_ARRAY 0x100ULL /* store HSM archive_id in array */ #define OBD_CONNECT2_SELINUX_POLICY 0x400ULL /* has client SELinux policy */ +#define OBD_CONNECT2_LSOM 0x800ULL /* LSOM support */ +#define OBD_CONNECT2_PCC 0x1000ULL /* Persistent Client Cache */ +#define OBD_CONNECT2_PLAIN_LAYOUT 0x2000ULL /* Plain Directory Layout */ /* XXX README XXX: * Please DO NOT add flag values here before first ensuring that this same @@ -889,7 +892,8 @@ struct ptlrpc_body_v2 { OBD_CONNECT2_LOCK_CONVERT | \ OBD_CONNECT2_DIR_MIGRATE | \ OBD_CONNECT2_ARCHIVE_ID_ARRAY | \ - OBD_CONNECT2_SELINUX_POLICY) + OBD_CONNECT2_SELINUX_POLICY | \ + OBD_CONNECT2_LSOM) #define OST_CONNECT_SUPPORTED (OBD_CONNECT_SRVLOCK | OBD_CONNECT_GRANT | \ OBD_CONNECT_REQPORTAL | OBD_CONNECT_VERSION | \ @@ -1083,6 +1087,9 @@ enum obdo_flags { OBD_FL_CKSUM_CRC32C | OBD_FL_CKSUM_T10IP512 | OBD_FL_CKSUM_T10IP4K | OBD_FL_CKSUM_T10CRC512 | OBD_FL_CKSUM_T10CRC4K, + + OBD_FL_NO_QUOTA_ALL = OBD_FL_NO_USRQUOTA | OBD_FL_NO_GRPQUOTA | + OBD_FL_NO_PRJQUOTA, }; /* @@ -2206,7 +2213,7 @@ struct lmv_mds_md_v1 { #define LMV_HASH_FLAG_MIGRATION 0x80000000 -#if LUSTRE_VERSION_CODE < OBD_OCD_VERSION(2, 12, 53, 0) +#if LUSTRE_VERSION_CODE < OBD_OCD_VERSION(2, 12, 55, 0) /* Since lustre 2.8, this flag will not be needed, instead this DEAD * and orphan flags will be stored in LMA (see LMAI_ORPHAN) * Keep this flag just for LFSCK, because it still might meet such