Files
scoutfs/tests/golden
Zach Brown 55f9435fad Fix partial preallocation when _contig_only = 0
Data preallocation attempts to allocate large aligned regions of
extents.  It tried to fill the hole around a write offset that
didn't contain an extent.  It missed the case where there can be
multiple extents between the start of the region and the hole.
It could try to overwrite these additional existing extents and writes
could return EINVAL.

We fix this by trimming the preallocation to start at the write offset
if there are any extents in the region before the write offset.  The
data preallocation test output has to be updated now that allocation
extents won't grow towards the start of the region when there are
existing extents.

Signed-off-by: Zach Brown <zab@versity.com>
2023-07-17 09:36:09 -07:00
..
2022-02-21 10:44:38 -08:00
2022-12-06 10:31:31 -08:00
2023-04-17 12:47:50 -07:00
2021-07-07 14:13:14 -07:00
2022-02-17 11:20:08 -08:00
2021-05-26 14:18:28 -07:00
2021-04-21 12:17:33 -07:00
2019-08-02 16:51:34 -07:00
2021-04-27 12:01:43 -07:00
2021-01-14 13:42:22 -08:00
2023-01-09 14:49:23 -08:00
2020-12-15 15:13:42 -08:00
2021-09-13 14:41:07 -07:00