Whamcloud - gitweb
LU-3467 target: generic hpreq handler in target 83/7383/41
authorMikhail Pershin <mike.pershin@intel.com>
Sun, 18 Aug 2013 12:53:24 +0000 (16:53 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 9 Jan 2014 22:30:20 +0000 (22:30 +0000)
commite02e613f411d4273c9c1c99ee88121e641ddb4c2
treede2aa4c090dfdab9f880b3530d971cb0918a3c39
parent03e785e6967b2a487b22946c18074fe4438cb5b3
LU-3467 target: generic hpreq handler in target

Make high-priority request handling generic. Each request handler
may initialize now not only generic handler but also high-priority
handler. Move specific OST hp callbacks to the OFD.

Remove rq_recovery_session from ptlrpc_request and use rq_session
always. That additional session was needed when recovery request
was copied, so the normal session might become freed. Now request
is not copied but referenced and only single session is enough.

Signed-off-by: Mikhail Pershin <mike.pershin@intel.com>
Change-Id: Iabf36d0828a86974bfe0638957f6018c919ac13b
Reviewed-on: http://review.whamcloud.com/7383
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/include/lu_target.h
lustre/include/lustre_net.h
lustre/ldlm/ldlm_lib.c
lustre/ofd/ofd_dev.c
lustre/ost/ost_handler.c
lustre/ptlrpc/ptlrpc_internal.h
lustre/ptlrpc/ptlrpc_module.c
lustre/ptlrpc/service.c
lustre/target/tgt_handler.c