mirror of
https://github.com/versity/scoutfs.git
synced 2026-09-01 13:47:11 +00:00
scoutfs: add radix merge retry counter
Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
@@ -91,6 +91,7 @@
|
||||
EXPAND_COUNTER(radix_enospc_data) \
|
||||
EXPAND_COUNTER(radix_enospc_paths) \
|
||||
EXPAND_COUNTER(radix_enospc_synth) \
|
||||
EXPAND_COUNTER(radix_merge_retry) \
|
||||
EXPAND_COUNTER(trans_commit_data_alloc_low) \
|
||||
EXPAND_COUNTER(trans_commit_fsync) \
|
||||
EXPAND_COUNTER(trans_commit_full) \
|
||||
|
||||
@@ -1454,6 +1454,7 @@ wrapped:
|
||||
/* back out and retry if no input left, or inp not ro */
|
||||
if (inp_sm == 0 ||
|
||||
(inp != src && paths_share_blocks(inp_path, src_path))) {
|
||||
scoutfs_inc_counter(sb, radix_merge_retry);
|
||||
free_path(sb, inp_path);
|
||||
inp_path = NULL;
|
||||
free_change(sb, chg);
|
||||
|
||||
Reference in New Issue
Block a user