X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=struct_mdt_rec_reint.txt;fp=mdt_rec_reint.txt;h=c9780f8f1e97c71c24047f8cf1e9d375b90b1c60;hb=a35c4d03a85eaab5762e11b54ed982bb9f74e5cb;hp=c099e138d3d3a5d14d73c43787a15d1e7469254d;hpb=75ebff14a4d8714411bf755755b0823a2987dc44;p=doc%2Fprotocol.git diff --git a/mdt_rec_reint.txt b/struct_mdt_rec_reint.txt similarity index 98% rename from mdt_rec_reint.txt rename to struct_mdt_rec_reint.txt index c099e13..c9780f8 100644 --- a/mdt_rec_reint.txt +++ b/struct_mdt_rec_reint.txt @@ -1,5 +1,6 @@ Generic MDS_REINT ^^^^^^^^^^^^^^^^^ +[[struct-mdt-rec-reint]] An 'mdt_rec_reint' structure specifies the generic form for MDS_REINT requests. Each sub-operation, as defned by the 'rr_opcode' field, has @@ -9,6 +10,7 @@ differently. Note that in order for swabbing to take place correctly the sequence of field sizes must the same in every variant as it is in the generic version (not just the overal size of the sturcture). +[source,c] ---- struct mdt_rec_reint { __u32 rr_opcode; @@ -40,6 +42,7 @@ struct mdt_rec_reint { The 'rr_opcode' field defines one among the several sub-commands for MDS REINT RPCs. Those opcodes are: +[source,c] ---- typedef enum { REINT_SETATTR = 1, @@ -88,6 +91,7 @@ attribute. The 'rr_bias' field adds additional optional information to the REINT. The possible values are: +[source,c] ---- enum mds_op_bias { MDS_CHECK_SPLIT = 1 << 0,