]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Convert read path to standard error codes
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 7 Mar 2025 22:20:22 +0000 (17:20 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 16 Mar 2025 17:47:55 +0000 (13:47 -0400)
commit943f0cfb1559ac6c9fc9082998f20dfe2aa01a74
treeb4cb94ceb0cb470b437dbc86699ad47a951d4ed7
parent5a06cb8000addbbfd1f9ce6891098da5b48d3d1e
bcachefs: Convert read path to standard error codes

Kill the READ_ERR/READ_RETRY/READ_RETRY_AVOID enums, and add standard
error codes that describe precisely which error occured.

This is going to be used for the data move path, to move but poison
extents with checksum errors.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/errcode.h
fs/bcachefs/io_read.c
fs/bcachefs/io_read.h