Whamcloud - gitweb
b: 1963
authorniu <niu>
Fri, 9 Jan 2004 07:02:28 +0000 (07:02 +0000)
committerniu <niu>
Fri, 9 Jan 2004 07:02:28 +0000 (07:02 +0000)
commit4c7ab00f938bc599ecf4bf895744f4bccdc9c3a4
tree5cc70d373804228ff4991dffd7473486c7fc2e38
parent2211d7c6d380fdf626467453ea65dfb0735dd594
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.
lustre/ptlrpc/ptlrpc_local.c [new file with mode: 0644]
lustre/tests/localrpc_test.sh [new file with mode: 0755]