Whamcloud - gitweb
LU-56 ptlrpc: post rqbd with flag LNET_INS_LOCAL
authorLiang Zhen <liang@whamcloud.com>
Wed, 4 Jul 2012 04:21:38 +0000 (12:21 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 6 Jul 2012 05:20:12 +0000 (01:20 -0400)
commitc3e985e7e98f41ebf5ecb78887dcd2554601f7ef
treea72fc99ac2f31393cab82c14eaf5e4473898edd3
parent7cecfcffae9737f929a2cbc8067e093a4f85c3ba
LU-56 ptlrpc: post rqbd with flag LNET_INS_LOCAL

LNet has a new flag LNET_INS_LOCAL which can be used by CPT
affinity threads while posting buffer.
(commit 279bbc81e03dc74d273ec12b4d9e703ca94404c4)
Buffer posted with this flag will be attached on local partition
only, and LND threads can find/match buffer by grabbing a local
partition lock which is good for performance.
This patch applied this flag to ptlrpc service.

Signed-off-by: Liang Zhen <liang@whamcloud.com>
Change-Id: I75cee15f125b033642195a71921dbc6ad4db5dfd
Reviewed-on: http://review.whamcloud.com/3268
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Bobi Jam <bobijam@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/ptlrpc/niobuf.c