[Lustre-devel] Query to understand the Lustre request/reply message

Alexey Lyashkov alexey.lyashkov at clusterstor.com
Tue Oct 12 23:25:00 PDT 2010


On Oct 13, 2010, at 08:42, Nicolas Williams wrote:
> 
> 
> - add handlers for the new RPC to mdt_handler.c (for the MDS) or
>   ost_handler.c (for the OST), and so on
> 
>   The handlers are responsible for knowing which buffers contain what,
>   and for swabbing them.  You have to make sure that you don't swab a
>   buffer more than once.
> 
BTW.
That not enough.
Some of operations wants to have own recostructors for replay/resend.
Some of operations want to have a return lock - as example MDS_GETATTR and MDS_REINT commands.
....



--------------------------------------
Alexey Lyashkov
alexey.lyashkov at clusterstor.com







More information about the lustre-devel mailing list