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:
b3adc59
)
b=22259 LBUG in target_finish_recovery())
author
Dmitry Zogin
<dmitry.zoguine@oracle.com>
Mon, 17 May 2010 14:54:44 +0000
(10:54 -0400)
committer
Johann Lombardi
<johann@sun.com>
Tue, 18 May 2010 12:41:39 +0000
(14:41 +0200)
Don't add requests to the recovery queue if target is no longer in recovery
i=tappro
i=dmitry.zogin
lustre/ldlm/ldlm_lib.c
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_lib.c
b/lustre/ldlm/ldlm_lib.c
index
44666ab
..
039de76
100644
(file)
--- a/
lustre/ldlm/ldlm_lib.c
+++ b/
lustre/ldlm/ldlm_lib.c
@@
-1624,6
+1624,12
@@
int target_queue_recovery_request(struct ptlrpc_request *req,
}
spin_lock_bh(&obd->obd_processing_task_lock);
+
+ if (!obd->obd_recovering) {
+ spin_unlock_bh(&obd->obd_processing_task_lock);
+ RETURN(0);
+ }
+
/* If we're processing the queue, we want don't want to queue this
* message.
*