Whamcloud - gitweb
- new RPC infrastructure:
authorbraam <braam>
Thu, 31 Jan 2002 21:27:21 +0000 (21:27 +0000)
committerbraam <braam>
Thu, 31 Jan 2002 21:27:21 +0000 (21:27 +0000)
commit5bb3ae0f4161ba10a043a526a456889f6e44f39b
treeae782a16645f04374e39ce0dc908a6d0cc5455f8
parentaf383d7e778e68c94cfe8a97d8a9181702ed73fb
- new RPC infrastructure:
 - struct service with callback functions, buffers and Portals support
 - services are Portal aware, but the old null transport may still work.
 - lustre peer moved to Portals, as was all connection management
 -
- fixed ptl entry constants for incoming REQUESTS, REPLIES for MDS, OST etc.
- all rpc's now have a peer destination (which can be NULL)
- replies are now pre-allocated
- the XID's are used to number transactions _and_ as match entries
- packet movement differentiates Portals and non-portals case.
- reception of packets uses the new Portals callbacks
- module initialization finds peer's by UUID.  For now "mds" is a UUID.
- callbacks are used for (1) incoming requests (2) freeing outgoing packets
(3) incomding reply.  Code reuse was possible.
- adapted all the test scripts (mdc and llmount)
14 files changed:
lustre/include/linux/lustre_light.h
lustre/include/linux/lustre_mds.h
lustre/include/linux/lustre_net.h
lustre/llite/namei.c
lustre/llite/rw.c
lustre/llite/super.c
lustre/mdc/mdc_reint.c
lustre/mdc/mdc_request.c
lustre/mds/handler.c
lustre/ost/ost_handler.c
lustre/ptlrpc/rpc.c
lustre/tests/llmount.sh
lustre/tests/mdcreq.sh
lustre/tests/mdcreqcleanup.sh [new file with mode: 0755]