Private error code work
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | bcachefs: Simplify bch2_write_op_error()fs/ fs/ fs/ | +37 | 0 replies | |
| 2/3 | bcachefs: bch2_write_prep_encoded_data() now returns errcodefs/ | +71 | 0 replies | |
| 3/3 | bcachefs: EIO cleanupfs/ fs/ fs/ +10 more | +73 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Private error code work
We never want to be returning standard error codes - those are a nightmare to track down when all you have is an error message that says "EIO".
This kills off EIO usage, mostly in io_write.c.
Kent Overstreet (3):
bcachefs: Simplify bch2_write_op_error()
bcachefs: bch2_write_prep_encoded_data() now returns errcode
bcachefs: EIO cleanup
fs/bcachefs/alloc_background.c | 4 +- fs/bcachefs/alloc_foreground.c | 4 +- fs/bcachefs/alloc_foreground.h | 2 +- fs/bcachefs/checksum.c | 2 +- fs/bcachefs/compress.c | 65 ++++---- fs/bcachefs/data_update.c | 2 +- fs/bcachefs/ec.c | 16 +- fs/bcachefs/ec.h | 2 +- fs/bcachefs/errcode.h | 18 ++- fs/bcachefs/inode.c | 4 +- fs/bcachefs/io_write.c | 277 +++++++++++++-------------------- fs/bcachefs/io_write.h | 9 +- fs/bcachefs/journal_io.c | 2 +- fs/bcachefs/journal_reclaim.c | 6 +- 14 files changed, 175 insertions(+), 238 deletions(-)
Signature · 1 line
2.49.0