Whamcloud - gitweb
LU-2219 ptlrpc: so_hpreq_handler is set twice for the ost_io svc
authorNikitas Angelinas <nikitas_angelinas@xyratex.com>
Thu, 25 Oct 2012 09:04:20 +0000 (10:04 +0100)
committerOleg Drokin <green@whamcloud.com>
Mon, 29 Oct 2012 05:09:48 +0000 (01:09 -0400)
commit4ad74eeaf46e7991ed62f65ce29ace39def62c82
treeb679c163b12cd9554865dc842dd91a10ad6de711
parent593e71ba5504f017673356ca811249fea3ba119b
LU-2219 ptlrpc: so_hpreq_handler is set twice for the ost_io svc

ptlrpc_service_conf.psc_ops.so_hpreq_handler is set twice for
the ost_io service in ost_setup(); the second assignment
overwrites the first to NULL, so ost_io threads would never
handle RPCs as high-priority ones.

While we are at it, remove some superfluous assignments of
so_hpreq_handler to NULL for statically allocated
ptlrpc_service_conf structs when initializing other ptlrpc
services, and rename some relevant functions.

Signed-off-by: Nikitas Angelinas <nikitas_angelinas@xyratex.com>
Change-Id: Ia728a3d7f20511fcb58b259126b05055d5860455
Xyratex-bug-id: MRP-724
Reviewed-on: http://review.whamcloud.com/4368
Tested-by: Hudson
Reviewed-by: Liang Zhen <liang@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_handler.c
lustre/ost/ost_handler.c
lustre/ptlrpc/service.c