[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 1/1] system/physmem: take into account fd_offset for file
From: |
Peter Xu |
Subject: |
Re: [PATCH v3 1/1] system/physmem: take into account fd_offset for file fallocate |
Date: |
Wed, 22 Jan 2025 15:11:09 -0500 |
On Wed, Jan 22, 2025 at 07:40:53PM +0000, “William Roche wrote:
> From: William Roche <william.roche@oracle.com>
>
> Punching a hole in a file with fallocate needs to take into account the
> fd_offset value for a correct file location.
> But guest_memfd internal use doesn't currently consider fd_offset.
>
> Fixes: 4b870dc4d0c0 ("hostmem-file: add offset option")
>
> Signed-off-by: William Roche <william.roche@oracle.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
--
Peter Xu