Eric Barton a écrit :
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



Ok thank you for this information, I doesn't really know what is ME/MD so i will look at portals spec.

Moreover, the latest book about lustre, and more precisely for me about the wire protocol, is old (it wasn't lnet yet). Since, there have been modifications and additions (portal_types, structures (in lustre_idl.h), etc..) without explanations.
So it' s a little bit hard to understand the whole protocol.

Is there a way to have information about the latest wire protocol modifications? (a new lustre-book or some notes for example?)

Thibault

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

Reply via email to