> Lustre protocol uses 4 portals header type :
>     - LNET_MSG_PUT
>     - LNET_MSG_GET
>     - LNET_MSG_REPLY
>     - LNET_MSG_ACK
> 
> The two first contains a portal_index field (4 bytes).
> 
> Does someone know which portal types are for LNET_MSG_PUT and 
> which are for LNET_MSG_GET:

PUT and GET messages both target ME/MDs attached to portal 'portal_index' at 
the destination - i.e. your question doesn't make sense
at the LNET protocol level.  

However at the level of the lustre RPC, GETs are only used by servers fetching 
bulk data for writes - i.e. the client has already
attached an ME/MD with unique matchbits (which it includes in the bulk RPC 
request) the relevent ???_BULK_PORTAL.  In actual fact, I
think it's only ever OST RCPs that do this currently.

                Cheers,
                        Eric


_______________________________________________
Lustre-discuss mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss

Reply via email to