]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Don't return 0 size holes from bch2_seek_hole()
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 28 Mar 2025 15:29:04 +0000 (11:29 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Fri, 28 Mar 2025 15:30:14 +0000 (11:30 -0400)
commitaf3d4c276a9171d142044effb2c43fb6df92a787
tree37ec23aea6b9b99ab31b06e075a7ec49ead713c5
parent1f4bb8254c6f12c306604a627b9968fc312fe5b0
bcachefs: Don't return 0 size holes from bch2_seek_hole()

The hole we find in the btree might be fully dirty in the page cache. If
so, keep searching.

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