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)
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>

No differences found