- __u32 lmd_magic;
- __u32 lmd_mds_easize; /* packed size for MDS of ea */
- __u64 lmd_object_id; /* lov object id */
- __u64 lmd_stripe_offset; /* offset of the stripe */
- __u64 lmd_stripe_size; /* size of the stripe */
- __u32 lmd_stripe_count; /* how many objects are being striped */
- __u32 lmd_stripe_pattern; /* per-lov object stripe pattern */
- struct lov_oinfo lmd_oinfo[0];
-};
-
-struct lov_stripe_md_one {
- __u32 lmd_magic;
- __u32 lmd_easize; /* packed size for MDS of ea */
- __u64 lmd_object_id; /* lov object id */
- __u64 lmd_stripe_offset; /* offset of the stripe */
- __u64 lmd_stripe_size; /* size of the stripe */
- __u32 lmd_stripe_count; /* how many objects are being striped */
- __u32 lmd_stripe_pattern; /* per-lov object stripe pattern */
- struct lov_oinfo lmd_oinfo[1];
+ __u32 lsm_magic;
+ __u32 lsm_mds_easize; /* packed size for MDS of ea */
+ __u64 lsm_object_id; /* lov object id */
+ __u64 lsm_stripe_size; /* size of the stripe */
+ __u32 lsm_stripe_pattern; /* per-lov object stripe pattern */
+ int lsm_stripe_offset; /* offset of first stripe in lmd_objects */
+ int lsm_stripe_count; /* how many objects are being striped on */
+ int lsm_ost_count; /* how many OSTs are in this LOV */
+ struct lov_oinfo lsm_oinfo[0];