Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22e5d54
)
b=21477
author
panda
<panda>
Thu, 3 Dec 2009 16:55:49 +0000
(16:55 +0000)
committer
panda
<panda>
Thu, 3 Dec 2009 16:55:49 +0000
(16:55 +0000)
i=Johann
disable pinger when appropriate
lustre/obdecho/echo_client.c
patch
|
blob
|
history
diff --git
a/lustre/obdecho/echo_client.c
b/lustre/obdecho/echo_client.c
index
6c99cd4
..
500488d
100644
(file)
--- a/
lustre/obdecho/echo_client.c
+++ b/
lustre/obdecho/echo_client.c
@@
-1348,8
+1348,14
@@
echo_client_setup(struct obd_device *obddev, obd_count len, void *buf)
rc = obd_connect(&conn, tgt, &echo_uuid, ocd, &ec->ec_exp);
} else {
rc = obd_connect(&conn, tgt, &echo_uuid, ocd, NULL);
- if (rc == 0)
+ if (rc == 0)
{
ec->ec_exp = class_conn2export(&conn);
+
+ /* Turn off pinger because it connects to tgt obd directly */
+ spin_lock(&tgt->obd_dev_lock);
+ list_del_init(&ec->ec_exp->exp_obd_chain_timed);
+ spin_unlock(&tgt->obd_dev_lock);
+ }
}
OBD_FREE(ocd, sizeof(*ocd));