Whamcloud - gitweb
LU-3806 obdclass: add LCT_SERVER_SESSION for server session
authorwang di <di.wang@intel.com>
Wed, 21 Aug 2013 07:04:43 +0000 (00:04 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 7 Feb 2014 04:14:48 +0000 (23:14 -0500)
commit5ce035d2f5d8e1f030c05e374f4e7b5d67327216
tree4cd114cc2b82418df42ab76c4b2a5182d8aba397
parent7c4cba594d9004eaef1b32e1a892e6b35ad2abf3
LU-3806 obdclass: add LCT_SERVER_SESSION for server session

Add LCT_SERVER_SESSION for server session, and separate the
server session flag from LCT_SESSION, so to avoid allocating
session info for client stack for each server request, if
client and server are on the same node.

Signed-off-by: Wang Di <di.wang@intel.com>
Change-Id: I808c3f58cd7a03ebc166e51fe1e32ea34ae0e3e8
Reviewed-on: http://review.whamcloud.com/7412
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
12 files changed:
lustre/include/lu_object.h
lustre/include/obd_class.h
lustre/ldlm/ldlm_lib.c
lustre/mdt/mdt_coordinator.c
lustre/mdt/mdt_handler.c
lustre/obdclass/capa.c
lustre/obdclass/llog_test.c
lustre/obdclass/lu_ucred.c
lustre/obdclass/obd_mount_server.c
lustre/obdecho/echo_client.c
lustre/ptlrpc/service.c
lustre/target/tgt_main.c