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.
Showing
- lustre/include/linux/lustre_idl.h 67 additions, 151 deletionslustre/include/linux/lustre_idl.h
- lustre/include/linux/lustre_mds.h 12 additions, 15 deletionslustre/include/linux/lustre_mds.h
- lustre/include/linux/lustre_net.h 13 additions, 25 deletionslustre/include/linux/lustre_net.h
- lustre/include/linux/obd.h 50 additions, 51 deletionslustre/include/linux/obd.h
- lustre/include/linux/obd_class.h 2 additions, 7 deletionslustre/include/linux/obd_class.h
- lustre/include/linux/obd_ost.h 0 additions, 11 deletionslustre/include/linux/obd_ost.h
- lustre/ldlm/Makefile.am 1 addition, 3 deletionslustre/ldlm/Makefile.am
- lustre/ldlm/ldlm_lockd.c 27 additions, 29 deletionslustre/ldlm/ldlm_lockd.c
- lustre/lib/Makefile.am 1 addition, 1 deletionlustre/lib/Makefile.am
- lustre/lib/mds_pack.c 0 additions, 219 deletionslustre/lib/mds_pack.c
- lustre/lib/mds_updates.c 138 additions, 154 deletionslustre/lib/mds_updates.c
- lustre/lib/obd_pack.c 0 additions, 176 deletionslustre/lib/obd_pack.c
- lustre/llite/namei.c 18 additions, 20 deletionslustre/llite/namei.c
- lustre/llite/super.c 30 additions, 33 deletionslustre/llite/super.c
- lustre/mdc/Makefile.am 1 addition, 4 deletionslustre/mdc/Makefile.am
- lustre/mdc/mdc_reint.c 103 additions, 92 deletionslustre/mdc/mdc_reint.c
- lustre/mdc/mdc_request.c 78 additions, 86 deletionslustre/mdc/mdc_request.c
- lustre/mds/Makefile.am 1 addition, 3 deletionslustre/mds/Makefile.am
- lustre/mds/handler.c 72 additions, 87 deletionslustre/mds/handler.c
- lustre/mds/mds_reint.c 19 additions, 22 deletionslustre/mds/mds_reint.c
Loading
Please register or sign in to comment