bcachefs: Add support for FALLOC_FL_INSERT_RANGE
authorKent Overstreet <kent.overstreet@gmail.com>
Sat, 7 Sep 2019 22:04:23 +0000 (18:04 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:27 +0000 (17:08 -0400)
commit5f786787adf57c7597925a9df9897238cb3bc60e
treeb652c8289372d1bc1f16addcf6d31f96b7597afa
parentccf5a1095892633bdb4bd1ac6f7f60aa9c4f327b
bcachefs: Add support for FALLOC_FL_INSERT_RANGE

Somewhat tricky and ugly, because iterating over extents backwards is a
pain.

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