]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Self healing writes are BCH_WRITE_alloc_nowait
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 18 Jan 2025 07:05:57 +0000 (02:05 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 15 Mar 2025 01:02:11 +0000 (21:02 -0400)
commit29ad31c780d1e4e37244140442aaec41c3efb7d6
treed2315273cf50ebe46ab3d2b5cc99ebedab495590
parent8ff92a9e4e49fc1fa01e8d23462097ccbe90e3b6
bcachefs: Self healing writes are BCH_WRITE_alloc_nowait

If a drive is failing and we're moving data off of it, we can't
necessairly depend on capacity/disk reservation calculations to avoid
deadlocking/blocking on the allocator.

And, we don't want to queue up infinite self healing moves anyways.

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