- enum md_layout_opc mlc_opc;
- __u16 mlc_mirror_id;
- struct layout_intent *mlc_intent;
- struct lu_buf mlc_buf;
- struct lustre_som_attrs mlc_som;
- size_t mlc_resync_count;
- __u32 *mlc_resync_ids;
+ enum md_layout_opc mlc_opc;
+ struct lu_buf mlc_buf;
+ union {
+ struct {
+ __u16 mlc_mirror_id;
+ struct layout_intent *mlc_intent;
+ struct lustre_som_attrs mlc_som;
+ size_t mlc_resync_count;
+ __u32 *mlc_resync_ids;
+ }; /* file */
+ struct {
+ struct md_object *mlc_parent; /* parent obj in plain dir split */
+ struct md_object *mlc_target; /* target obj in plain dir split */
+ struct lu_attr *mlc_attr; /* target attr in plain dir split */
+ const struct lu_name *mlc_name; /* target name in plain dir split */
+ struct md_op_spec *mlc_spec; /* dir split spec */
+ }; /* dir */
+ };