Whamcloud - gitweb
Introduction of lu_env.
authornikita <nikita>
Thu, 28 Sep 2006 18:56:53 +0000 (18:56 +0000)
committernikita <nikita>
Thu, 28 Sep 2006 18:56:53 +0000 (18:56 +0000)
commit87635f46a4e89b6753def70efa8795f9a85f0e97
treed00772b41efb62fd5c59cc1ab2cf98f4c575e35d
parent6d5981dbdb1d125b16081c4fa00d48c0c7c6fe87
Introduction of lu_env.

With this patch majority of md/dt methods in new server stack get struct lu_env argument instead of struct lu_context.

lu_env consists of two contexts:

 - ->le_ctx: this is "local" context used to avoid allocating data on stack,
 and to avoid short-term dynamic allocations. This is a repalcement for old
 @ctx argument.

 - ->le_ses: this is "session": a context associated with request. Here live
 data that are to be shared between different stack levels. E.g., credentials
 (struct md_cred), and capability.
51 files changed:
lustre/cmm/cmm_device.c
lustre/cmm/cmm_internal.h
lustre/cmm/cmm_object.c
lustre/cmm/cmm_split.c
lustre/cmm/mdc_device.c
lustre/cmm/mdc_internal.h
lustre/cmm/mdc_object.c
lustre/fid/fid_handler.c
lustre/fid/fid_internal.h
lustre/fid/fid_request.c
lustre/fid/fid_store.c
lustre/fld/fld_handler.c
lustre/fld/fld_index.c
lustre/fld/fld_internal.h
lustre/fld/fld_request.c
lustre/include/dt_object.h
lustre/include/lu_object.h
lustre/include/lustre_fid.h
lustre/include/lustre_fld.h
lustre/include/lustre_net.h
lustre/include/md_object.h
lustre/include/obd.h
lustre/include/obd_class.h
lustre/kernel_patches/patches/ext3-orphans-delay.patch
lustre/kernel_patches/series/2.6-rhel4.series
lustre/ldlm/ldlm_lib.c
lustre/lmv/lmv_obd.c
lustre/lov/lov_obd.c
lustre/mdd/mdd_handler.c
lustre/mdd/mdd_internal.h
lustre/mdd/mdd_lov.c
lustre/mdd/mdd_orphans.c
lustre/mds/handler.c
lustre/mdt/mdt_capa.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_identity.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_open.c
lustre/mdt/mdt_recovery.c
lustre/mdt/mdt_reint.c
lustre/mdt/mdt_xattr.c
lustre/mgs/mgs_handler.c
lustre/obdclass/dt_object.c
lustre/obdclass/lu_object.c
lustre/obdecho/echo.c
lustre/obdecho/echo_client.c
lustre/obdfilter/filter.c
lustre/osd/osd_handler.c
lustre/osd/osd_internal.h
lustre/osd/osd_oi.c
lustre/ptlrpc/service.c