staging: lustre: obdclass: add LCT_SERVER_SESSION for server session
authorWang Di <di.wang@intel.com>
Wed, 27 Apr 2016 22:20:55 +0000 (18:20 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 04:51:58 +0000 (21:51 -0700)
commit7f937beb0ad24bd3e14dd943c04130a60ffcd0b9
treee7e1ea5606459cc929b65941b73482c4dcd31ed8
parentac7af34e6776c09fda26bc224c53a3870cd6af89
staging: lustre: 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>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3806
Reviewed-on: http://review.whamcloud.com/7412
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/lu_object.h
drivers/staging/lustre/lustre/include/obd_class.h
drivers/staging/lustre/lustre/ptlrpc/service.c