Whamcloud - gitweb
LU-398 ptlrpc: NRS framework follow-up patch
authorNikitas Angelinas <nikitas_angelinas@xyratex.com>
Fri, 1 Feb 2013 10:58:58 +0000 (10:58 +0000)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 1 Apr 2013 15:59:36 +0000 (11:59 -0400)
commitdad106e1272f2bae4920c081f56885efee274c57
tree3439a8c97b756e0e4318e5893652323c856ce57f
parent6df197d4d210dcb1b34816f4ce4bdf90b48bcaba
LU-398 ptlrpc: NRS framework follow-up patch

This patch addresses some outstanding issues that had been raised
by reviewers of the "Add the NRS framework and FIFO policy" patch,
and include some other improvements, e.g. it reworks the API
slightly in order to optimize some frequently-used operations,
does not uanncessarily policies in liblustre and client-only
kernel builds, and makes sure we hold module references when
required, for policies registering from other modules.

Signed-off-by: Nikitas Angelinas <nikitas_angelinas@xyratex.com>
Change-Id: I9306d43e2aef20aa64d6870a56ae99859ce40cd5
Oracle-bug-id: b=13634
Xyratex-bug-id: MRP-73
Reviewed-on: http://review.whamcloud.com/5274
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Liang Zhen <liang.zhen@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre_net.h
lustre/ldlm/ldlm_lockd.c
lustre/ptlrpc/lproc_ptlrpc.c
lustre/ptlrpc/nrs.c
lustre/ptlrpc/nrs_fifo.c
lustre/ptlrpc/ptlrpc_internal.h
lustre/ptlrpc/service.c