mirror of
https://github.com/versity/scoutfs.git
synced 2026-07-19 06:22:24 +00:00
31e7101319
Add trace events to aid debugging recovery stalls:
- scoutfs_recov_prepare(sb, rid, which):
Server registered that a client needs to recover something.
- scoutfs_recov_finish(sb, rid, which, remaining):
Client finished one recovery item, and lists remaining count.
- scoutfs_recov_timeout_fire(sb, nr_pending):
The 30s recovery window expired, with count of clients that
failed to recover within the timeout.
- scoutfs_recov_fence_rid(sb, rid):
One event per client about to be fenced.
- scoutfs_lock_server_greeting(sb, rid, recov_pending):
Shows which rid we expect to recover locks.
Signed-off-by: Auke Kok <auke.kok@versity.com>