diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-02-21 22:10:09 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-13 21:22:25 -0400 |
commit | eb386617be4bdfe02eb0972874f726e2bfc7a6e7 (patch) | |
tree | 63b70d6b9c2a966be41d8f44d1d86fe6dc692809 /fs/bcachefs/errcode.h | |
parent | 150194cdcb6b4305be41cd8af7a42dd2d1457ae1 (diff) | |
download | lwn-eb386617be4bdfe02eb0972874f726e2bfc7a6e7.tar.gz lwn-eb386617be4bdfe02eb0972874f726e2bfc7a6e7.zip |
bcachefs: Errcode tracepoint, documentation
Add a tracepoint for downcasting private errors to standard errors, so
they can be recovered even when not logged; also, add some
documentation.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/errcode.h')
-rw-r--r-- | fs/bcachefs/errcode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/errcode.h b/fs/bcachefs/errcode.h index fe3fc14d3c9a..e960a6eae66a 100644 --- a/fs/bcachefs/errcode.h +++ b/fs/bcachefs/errcode.h @@ -78,6 +78,7 @@ x(ENOMEM, ENOMEM_fs_name_alloc) \ x(ENOMEM, ENOMEM_fs_other_alloc) \ x(ENOMEM, ENOMEM_dev_alloc) \ + x(ENOMEM, ENOMEM_disk_accounting) \ x(ENOSPC, ENOSPC_disk_reservation) \ x(ENOSPC, ENOSPC_bucket_alloc) \ x(ENOSPC, ENOSPC_disk_label_add) \ |