Whamcloud - gitweb
ldlm and its users: do not pass struct ldlm_res_id by value, pass a pointer instead...
authornikita <nikita>
Mon, 30 Oct 2006 17:36:13 +0000 (17:36 +0000)
committernikita <nikita>
Mon, 30 Oct 2006 17:36:13 +0000 (17:36 +0000)
commit3a91bcf037b5556b57b99e98ab90db5bfe938cb8
treeb4e7cc97109786c2158cbafb2a10d485b27c7cd9
parent5befc3a3178e6956b04117a60f3de462070b910a
ldlm and its users: do not pass struct ldlm_res_id by value, pass a pointer instead. This reduces stack and cpu consumption. Also constify for a good measure. Also remove what looks like obsolete code in ldlm_cli_enqueue_local(): dead assignment to local variable.
23 files changed:
lustre/include/lustre_dlm.h
lustre/ldlm/ldlm_flock.c
lustre/ldlm/ldlm_internal.h
lustre/ldlm/ldlm_lock.c
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_request.c
lustre/ldlm/ldlm_resource.c
lustre/liblustre/super.c
lustre/llite/file.c
lustre/mdc/mdc_locks.c
lustre/mds/handler.c
lustre/mds/mds_internal.h
lustre/mds/mds_open.c
lustre/mds/mds_reint.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_reint.c
lustre/mgc/mgc_request.c
lustre/mgs/mgs_handler.c
lustre/obdecho/echo.c
lustre/obdfilter/filter.c
lustre/obdfilter/filter_io.c
lustre/osc/osc_request.c
lustre/ost/ost_handler.c