Skip to content
Snippets Groups Projects
Commit 867f92a2 authored by Phil Schwan's avatar Phil Schwan
Browse files

Removes all traces of mds_req, mds_rep, ost_req, and ost_rep. All subsystems

now use the functions in rpc/pack_generic.c, which are based around
struct lustre_msg.  That file is small and easily understood, see it for more
details.

Now that everyone uses the same functions, the code can probably be refactored
more sensibly.  This is left as an exercise for the reader.

Other, cleanups:
- we don't need to memset() after OBD_ALLOC
- the MDS and OST request and reply packets were so similar that they've been
merged, into struct mds_body and ost_body respectively.
parent eb49f1d3
No related branches found
No related tags found
No related merge requests found
Showing
with 633 additions and 1189 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment