-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
dump_trace() is only available on X86. Without it, Lustre's own watchdog is broken. We can only dump current task's stack. The client-side this code is much less likely to hit deadlocks and it's probably OK to drop this altogether, since we hardly have any ptlrpc threads on clients, most notable ones are ldlm cb threads that should not really be blocking on the client anyway. Remove libcfs watchdog for now, until the upstream kernel watchdog can detect distributed deadlocks and dump other kernel threads. Cc: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Peng Tao <tao.peng@emc.com>
- Loading branch information
There are no files selected for viewing
2 comments
on commit 30cd59b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of commenting out this code, it could be #ifdef CONFIG_TIMER_BASED_LOCKUP_DETECTOR or similar. That would make it more obvious that something needs to be done when your other patch lands, but that may also introduce dependencies on the code we don't want. I'm OK with it landing like this, so long as we don't forget about it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the timer based lockup detector, all APIs have proper empty inline implementations so that we don't actually need to depend on CONFIG_TIMER_BASED_LOCKUP_DETECTOR.
I'd prefer to delete this line and the above comment, instead of printing some misleading information.