Whamcloud - gitweb
LU-13440 lmv: add default LMV inherit depth
[fs/lustre-release.git] / lustre / include / lustre / lustreapi.h
index 8beeefc..4d7c299 100644 (file)
@@ -141,6 +141,8 @@ struct llapi_stripe_param {
        int                     lsp_stripe_count;
        bool                    lsp_is_specific;
        bool                    lsp_is_create;
+       __u8                    lsp_max_inherit;
+       __u8                    lsp_max_inherit_rr;
        __u32                   lsp_osts[0];
 };
 
@@ -174,25 +176,27 @@ void llapi_set_command_name(const char *cmd);
 void llapi_clear_command_name(void);
 
 enum llapi_layout_verbose  {
-       VERBOSE_STRIPE_COUNT    =     0x1,
-       VERBOSE_STRIPE_SIZE     =     0x2,
-       VERBOSE_STRIPE_OFFSET   =     0x4,
-       VERBOSE_POOL            =     0x8,
-       VERBOSE_DETAIL          =    0x10,
-       VERBOSE_OBJID           =    0x20,
-       VERBOSE_GENERATION      =    0x40,
-       VERBOSE_MDTINDEX        =    0x80,
-       VERBOSE_PATTERN         =   0x100,
-       VERBOSE_COMP_COUNT      =   0x200,
-       VERBOSE_COMP_FLAGS      =   0x400,
-       VERBOSE_COMP_START      =   0x800,
-       VERBOSE_COMP_END        =  0x1000,
-       VERBOSE_COMP_ID         =  0x2000,
-       VERBOSE_DFID            =  0x4000,
-       VERBOSE_HASH_TYPE       =  0x8000,
-       VERBOSE_MIRROR_COUNT    = 0x10000,
-       VERBOSE_MIRROR_ID       = 0x20000,
-       VERBOSE_EXT_SIZE        = 0x40000,
+       VERBOSE_STRIPE_COUNT    =      0x1,
+       VERBOSE_STRIPE_SIZE     =      0x2,
+       VERBOSE_STRIPE_OFFSET   =      0x4,
+       VERBOSE_POOL            =      0x8,
+       VERBOSE_DETAIL          =     0x10,
+       VERBOSE_OBJID           =     0x20,
+       VERBOSE_GENERATION      =     0x40,
+       VERBOSE_MDTINDEX        =     0x80,
+       VERBOSE_PATTERN         =    0x100,
+       VERBOSE_COMP_COUNT      =    0x200,
+       VERBOSE_COMP_FLAGS      =    0x400,
+       VERBOSE_COMP_START      =    0x800,
+       VERBOSE_COMP_END        =   0x1000,
+       VERBOSE_COMP_ID         =   0x2000,
+       VERBOSE_DFID            =   0x4000,
+       VERBOSE_HASH_TYPE       =   0x8000,
+       VERBOSE_MIRROR_COUNT    =  0x10000,
+       VERBOSE_MIRROR_ID       =  0x20000,
+       VERBOSE_EXT_SIZE        =  0x40000,
+       VERBOSE_INHERIT         =  0x80000,
+       VERBOSE_INHERIT_RR      = 0x100000,
        VERBOSE_DEFAULT         = VERBOSE_STRIPE_COUNT | VERBOSE_STRIPE_SIZE |
                                  VERBOSE_STRIPE_OFFSET | VERBOSE_POOL |
                                  VERBOSE_OBJID | VERBOSE_GENERATION |
@@ -200,7 +204,8 @@ enum llapi_layout_verbose  {
                                  VERBOSE_COMP_COUNT | VERBOSE_COMP_FLAGS |
                                  VERBOSE_COMP_START | VERBOSE_COMP_END |
                                  VERBOSE_COMP_ID | VERBOSE_MIRROR_COUNT |
-                                 VERBOSE_MIRROR_ID | VERBOSE_EXT_SIZE
+                                 VERBOSE_MIRROR_ID | VERBOSE_EXT_SIZE |
+                                 VERBOSE_INHERIT | VERBOSE_INHERIT_RR
 };
 /* Compatibility with original names */
 #define VERBOSE_SIZE   VERBOSE_STRIPE_SIZE