Whamcloud - gitweb
b: 1963
authorniu <niu>
Fri, 9 Jan 2004 07:02:30 +0000 (07:02 +0000)
committerniu <niu>
Fri, 9 Jan 2004 07:02:30 +0000 (07:02 +0000)
commit7d4d6dc31d8e3d8dfc7c33d9130a8c66573e4b60
treeda997e4fa8ad35316d48b36de4e761381005d503
parentaf63b7b3bf0b43778ec94922ac3fe02fe3931d74
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/utils/obd.c