Whamcloud - gitweb
b: 1963
The tag name is b_localprc NOT b_localrpc, sorry for make this mistake.
Following is description for how to trace the bug of local rpc in uml.
* create tag b_localprc and commit in localrpc patch for test and debug.
* How to active localrpc?
Run lctl, then select MDT device, then 'probe 8'. thus some requests form
MDC to MDT will go through local rpc.
* How to repeat the bug?
Startup Lustre in uml by llmount.sh, then run tests/localrpc_test.sh.
* Process local rpc request in another thread.
Comment off the SAME_THREAD in ptlrpc_local.c will make service hander of
local rpc be executed in another thread, this way can pass test 99.
* For debug, I disabled all other local rpc request except the LDLM_ENQUEUE
requests sent via ptlrpc_queue_wait.