summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/errcode.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-04-21 12:01:50 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-05-21 20:14:29 -0400
commit0499a82b18b5ddee0d97d2cfcae0c0120f858c1f (patch)
treee5f726d0895d64ce70cf1e2170c72f0cbb92646e /fs/bcachefs/errcode.h
parentbcachefs: fast_list (diff)
downloadlinux-0499a82b18b5ddee0d97d2cfcae0c0120f858c1f.tar.gz
linux-0499a82b18b5ddee0d97d2cfcae0c0120f858c1f.zip
bcachefs: Async object debugging
Debugging infrastructure for async objs: this lets us easily create fast_lists for various object types so they'll be visible in debugfs. Add new object types to the BCH_ASYNC_OBJS_TYPES() enum, and drop a pretty-printer wrapper in async_objs.c. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
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 6a4b3fe9ea99..1a52edc7c8d8 100644
--- a/fs/bcachefs/errcode.h
+++ b/fs/bcachefs/errcode.h
@@ -53,6 +53,7 @@
x(ENOMEM, ENOMEM_dio_write_bioset_init) \
x(ENOMEM, ENOMEM_nocow_flush_bioset_init) \
x(ENOMEM, ENOMEM_promote_table_init) \
+ x(ENOMEM, ENOMEM_async_obj_init) \
x(ENOMEM, ENOMEM_compression_bounce_read_init) \
x(ENOMEM, ENOMEM_compression_bounce_write_init) \
x(ENOMEM, ENOMEM_compression_workspace_init) \