summaryrefslogtreecommitdiff
path: root/fs/bcachefs/errcode.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-08-04 19:46:37 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:09:37 +0300
commitae33e7a274abe6863bc4a1f4ea1e4c5f65b533f9 (patch)
tree3b918e1feb57aa3bb6530ff6471d845d8c1db01c /fs/bcachefs/errcode.h
parent4a7f7e9e4de665d94e1a7610bf5506265df414d3 (diff)
downloadlinux-ae33e7a274abe6863bc4a1f4ea1e4c5f65b533f9.tar.xz
bcachefs: Add distinct error code for key_cache_upgrade
This aids in debugging. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/errcode.h')
-rw-r--r--fs/bcachefs/errcode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/errcode.h b/fs/bcachefs/errcode.h
index 95925c8434b3..6dd2152e782e 100644
--- a/fs/bcachefs/errcode.h
+++ b/fs/bcachefs/errcode.h
@@ -22,6 +22,7 @@
x(transaction_restart, transaction_restart_would_deadlock) \
x(transaction_restart, transaction_restart_would_deadlock_write)\
x(transaction_restart, transaction_restart_upgrade) \
+ x(transaction_restart, transaction_restart_key_cache_upgrade) \
x(transaction_restart, transaction_restart_key_cache_fill) \
x(transaction_restart, transaction_restart_key_cache_raced) \
x(transaction_restart, transaction_restart_key_cache_realloced)\