Whamcloud - gitweb
LU-3806 obdclass: add LCT_SERVER_SESSION for server session 12/7412/6
authorwang di <di.wang@intel.com>
Wed, 21 Aug 2013 07:04:43 +0000 (00:04 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 25 Oct 2013 01:59:20 +0000 (01:59 +0000)
commit0bdd2c864c26e6f48c57505aa6e4143bf1497833
treec56aa0973b5c475b9b34b166e02bd2fbb94214e9
parent8846f1ee40510218c83c86a4a369b6575f7e5d2a
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