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:
9cd2094
)
- don't count self-export as stale export
author
tappro
<tappro>
Sat, 14 Oct 2006 23:52:58 +0000
(23:52 +0000)
committer
tappro
<tappro>
Sat, 14 Oct 2006 23:52:58 +0000
(23:52 +0000)
lustre/obdclass/genops.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/genops.c
b/lustre/obdclass/genops.c
index
0d89aea
..
2b36ca5
100644
(file)
--- a/
lustre/obdclass/genops.c
+++ b/
lustre/obdclass/genops.c
@@
-960,6
+960,11
@@
int class_disconnect_stale_exports(struct obd_device *obd,
list_del(&exp->exp_obd_chain);
list_add(&exp->exp_obd_chain, &work_list);
+ /* don't count self-export as client */
+ if (obd_uuid_equals(&exp->exp_client_uuid,
+ &exp->exp_obd->obd_uuid))
+ continue;
+
cnt++;
CDEBUG(D_ERROR, "%s: disconnect stale client %s@%s\n",
obd->obd_name, exp->exp_client_uuid.uuid,