Whamcloud - gitweb
b=23192 fix race when ping evictor and srv thread executes target_recovery_check_and_...
authorJohann Lombardi <johann@sun.com>
Tue, 29 Jun 2010 11:59:03 +0000 (13:59 +0200)
committerJohann Lombardi <johann@sun.com>
Tue, 29 Jun 2010 11:59:03 +0000 (13:59 +0200)
commitb4b9b4faf0443fd7f9b6cd8820eaff754bc9f120
treeb1ef71917e9a4674d38ad977ea0b0bd86b355abd
parent37014e92c1ad72ec417d4ec5c03d68f8a2f522eb
b=23192 fix race when ping evictor and srv thread executes target_recovery_check_and_stop() simultaneously

i=tappro
i=andrew

target_recovery_expired() wakes up both the ping evictor and the service thread
waiting in process_recovery_queue() which can race in
target_recovery_check_and_stop().
lustre/ldlm/ldlm_lib.c