[Devel] [PATCH vz7 0/3] ext4: backport SEEK_DATA/SEEK_HOLE patches from mainline

Konstantin Khorenko khorenko at virtuozzo.com
Wed Jul 26 11:30:20 MSK 2017


Please consider to prepare ReadyKernel patches for this patches.

After vz7 update 5 is released.

https://readykernel.com/

--
Best regards,

Konstantin Khorenko,
Virtuozzo Linux Kernel Team

On 07/26/2017 07:48 AM, Maxim Patlasov wrote:
> QEMU uses SEEK_DATA/SEEK_HOLE to optimize QCOW2 snapshot COW. Before
> these patches it was possible to get "no extents found" from lseek(SEEK_DATA)
> even if there were valid extents present.
>
> https://jira.sw.ru/browse/PSBM-68292
> ---
>
> Maxim Patlasov (3):
>       ext4: fix SEEK_HOLE
>       ext4: fix off-by-in in loop termination in ext4_find_unwritten_pgoff()
>       ext4: fix off-by-one on max nr_pages in ext4_find_unwritten_pgoff():
>
>
>  fs/ext4/file.c |   54 ++++++++++++++++--------------------------------------
>  1 file changed, 16 insertions(+), 38 deletions(-)
>
> --
> Signature
> .
>


More information about the Devel mailing list