diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-11-30 15:27:31 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2021-11-30 15:27:52 -0500 |
commit | 99b12cd3a4cdd19985624b79a8c54716cad649bd (patch) | |
tree | 6786273610640092c1f439d002903c235f9f9883 /libbcachefs/errcode.h | |
parent | 1d2315ca0a60e60a04921aece6587e1bfad17ccf (diff) |
Update bcachefs sources to 50d6a25d9c bcachefs: Erasure coding fixes
Diffstat (limited to 'libbcachefs/errcode.h')
-rw-r--r-- | libbcachefs/errcode.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libbcachefs/errcode.h b/libbcachefs/errcode.h new file mode 100644 index 00000000..f7d12915 --- /dev/null +++ b/libbcachefs/errcode.h @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _BCACHEFS_ERRCODE_H +#define _BCACHEFS_ERRCODE_H + +enum { + /* Bucket allocator: */ + OPEN_BUCKETS_EMPTY = 2048, + FREELIST_EMPTY, /* Allocator thread not keeping up */ + INSUFFICIENT_DEVICES, +}; + +#endif /* _BCACHFES_ERRCODE_H */ |