Whamcloud - gitweb
LU-1963 ptlrpc: Incorrect accounting for srv_hpreq_ratio
authorAndriy Skulysh <Andriy_Skulysh@xyratex.com>
Mon, 27 Aug 2012 09:23:53 +0000 (12:23 +0300)
committerOleg Drokin <green@whamcloud.com>
Sun, 7 Oct 2012 04:57:30 +0000 (00:57 -0400)
commitd523a6ce41c7624df0d63ea6c68561dad1ee30d6
treea0e2bbefe530afc0fc2f048d800c5dbaa88e315f
parentf1b513eba1f67e16a0d15da3ad83e07b4572f8de
LU-1963 ptlrpc: Incorrect accounting for srv_hpreq_ratio

Allow one thread to always handle HP requests.
Without this patch 1 thread dedicated to serve HP requests
will do nothing if all normal requests are in progress for
a long time but there are HP requests in input queue.

Xyratex-bug-id: MRP-661
Signed-off-by: Andriy Skulysh <Andriy_Skulysh@xyratex.com>
Reviewed-by: Alexey Lyashkov <alexey_lyashkov@xyratex.com>
Reviewed-by: Nathan Rutman <nathan.rutman@xyratex.com>
Change-Id: I35f5329ca019a5d2e2dcee9d7a13eaa74e85233e
Reviewed-on: http://review.whamcloud.com/4008
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Hudson
Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/ptlrpc/service.c