X-Git-Url: https://git.whamcloud.com/?p=doc%2Fprotocol.git;a=blobdiff_plain;f=struct_layout_intent.txt;fp=layout_intent.txt;h=33792322612a21469872857f13c1d369f73700da;hp=9d75e473ff49ddb411c78c787f69e993a0192240;hb=a35c4d03a85eaab5762e11b54ed982bb9f74e5cb;hpb=75ebff14a4d8714411bf755755b0823a2987dc44 diff --git a/layout_intent.txt b/struct_layout_intent.txt similarity index 96% rename from layout_intent.txt rename to struct_layout_intent.txt index 9d75e47..3379232 100644 --- a/layout_intent.txt +++ b/struct_layout_intent.txt @@ -5,6 +5,7 @@ Layout Intent An LDLM_ENQUEUE RPC with a layout intent uses the 'layout_intent' structure to specify the desired use for the layout. +[source,c] ---- struct layout_intent { __u32 li_opc; @@ -16,6 +17,7 @@ struct layout_intent { The uses for the layout that the 'li_opc' field can specify are: +[source,c] ---- enum { LAYOUT_INTENT_ACCESS = 0,