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:
9be6bee
)
Branch HEAD
author
bobijam
<bobijam>
Thu, 17 Jan 2008 05:51:28 +0000
(
05:51
+0000)
committer
bobijam
<bobijam>
Thu, 17 Jan 2008 05:51:28 +0000
(
05:51
+0000)
b=13999
i=johann
i=shadow
Don't attempt to wake up evictor thread if it hasn't started yet.
lustre/ptlrpc/pinger.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/pinger.c
b/lustre/ptlrpc/pinger.c
index
aa65e6b
..
d4f969a
100644
(file)
--- a/
lustre/ptlrpc/pinger.c
+++ b/
lustre/ptlrpc/pinger.c
@@
-391,7
+391,7
@@
static spinlock_t pet_lock = SPIN_LOCK_UNLOCKED;
int ping_evictor_wake(struct obd_export *exp)
{
spin_lock(&pet_lock);
- if (pet_exp) {
+ if (pet_exp
|| (pet_state != PET_READY)
) {
/* eventually the new obd will call here again. */
spin_unlock(&pet_lock);
return 1;