]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Data move can read from poisoned extents
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 11 Mar 2025 14:02:40 +0000 (10:02 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 22 May 2025 00:13:21 +0000 (20:13 -0400)
commitcb8336ca42e493a76b3cc05b76a51a2eed26cdaa
tree11ee0f89ef8db223cf83d6f1cfa1bfdf93bdb3c7
parent760be1ad5e71b3a23644849cbf3c2245c4dc83f3
bcachefs: Data move can read from poisoned extents

Now, if an extent is poisoned we can move it even if there was a
checksum error. We'll have to give it a new checksum, but the poison bit
means that userspace will still see the appropriate error when they try
to read it.

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