]> git.ipfire.org Git - thirdparty/linux.git/commit
bcachefs: Improve decompression error messages
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 24 Jan 2025 14:23:02 +0000 (09:23 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 25 Jan 2025 19:43:13 +0000 (14:43 -0500)
commit2efbc3518fb3dad164643099fa8ce62361894243
tree17cd42cf12b688e609fc8d366f662d433a6209d4
parentc9c8a17f7aa65b713418626573c5695c2a5d8ecd
bcachefs: Improve decompression error messages

Ratelimit them, and use the new bch2_write_op_error() helper that prints
path and file offset.

Reported-by: https://github.com/koverstreet/bcachefs/issues/819
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/compress.c
fs/bcachefs/compress.h
fs/bcachefs/io_write.c
fs/bcachefs/io_write.h