mbox series

[0/22] udf: Fix couple of preallocation related bugs

Message ID 20230124120835.21728-1-jack@suse.cz (mailing list archive)
Headers show
Series udf: Fix couple of preallocation related bugs | expand

Message

Jan Kara Jan. 24, 2023, 12:17 p.m. UTC
Hello,

fsx has revealed a couple of bugs related to preallocation handling in UDF.
Firstly, we were not properly cleaning up preallocation for files that
were dirtied via mmap, secondly, we didn't discard preallocation in some
cases when expanding file with a hole which later led to confusion and
data corruption. As part of these changes we start allocating blocks on
page fault time instead of at writeback time and we also cleanup block mapping
interfaces in UDF.

The patches are based on top of my for_next branch:

git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs for_next

I plan to queue these patches to my tree.

								Honza