Whamcloud - gitweb
LU-6356 tgt: add handlers for SEC_CTX_* requests 24/16124/2
authorSebastien Buisson <sebastien.buisson@bull.net>
Fri, 28 Aug 2015 09:19:00 +0000 (11:19 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 16 Sep 2015 01:06:36 +0000 (01:06 +0000)
commitb33e22c4b4c6411af51805da21b741367c72ec71
tree41342e1dbe075deda52c3ca097bd36719069d810
parent33b55f223a42f20916bc417f7e5a21f68b59cd02
LU-6356 tgt: add handlers for SEC_CTX_* requests

When dealing with security context refresh requests, an export is
already associated with the request. So the normal *_common_slice
handlers are called.
We then have to have handlers for SEC_CTX_INIT, SEC_CTX_INIT_CONT
and SEC_CTX_FINI requests in *_common_slice for all target types.

This patch reintroduces the handlers that were removed by patch
http://review.whamcloud.com/14041, plus adds a new one for ofd.

Signed-off-by: Sebastien Buisson <sebastien.buisson@bull.net>
Change-Id: Ifadaff9d7f07cf4c6a75cd1f5054378aaca27c26
Reviewed-on: http://review.whamcloud.com/16124
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Andrew Perepechko <andrew.perepechko@seagate.com>
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>
lustre/include/lu_target.h
lustre/mgs/mgs_handler.c
lustre/ofd/ofd_dev.c
lustre/target/tgt_handler.c