Re: [PATCH 1/1] system/physmem: take into account fd_offset for file fallocate

2025-01-21 Thread David Hildenbrand
On 21.01.25 19:38, William Roche wrote: Thank you Peter and David for your feedback. On 1/21/25 19:25, David Hildenbrand wrote: On 21.01.25 19:17, Peter Xu wrote: On Tue, Jan 21, 2025 at 05:59:56PM +, “William Roche wrote: From: William Roche Punching a hole in a file with fallocate ne

Re: [PATCH 1/1] system/physmem: take into account fd_offset for file fallocate

2025-01-21 Thread William Roche
Thank you Peter and David for your feedback. On 1/21/25 19:25, David Hildenbrand wrote: On 21.01.25 19:17, Peter Xu wrote: On Tue, Jan 21, 2025 at 05:59:56PM +, “William Roche wrote: From: William Roche Punching a hole in a file with fallocate needs to take into account the fd_offset va

Re: [PATCH 1/1] system/physmem: take into account fd_offset for file fallocate

2025-01-21 Thread David Hildenbrand
On 21.01.25 19:17, Peter Xu wrote: On Tue, Jan 21, 2025 at 05:59:56PM +, “William Roche wrote: From: William Roche Punching a hole in a file with fallocate needs to take into account the fd_offset value for a correct file location. Fixes: 4b870dc4d0c0 ("hostmem-file: add offset option")

Re: [PATCH 1/1] system/physmem: take into account fd_offset for file fallocate

2025-01-21 Thread Peter Xu
On Tue, Jan 21, 2025 at 05:59:56PM +, “William Roche wrote: > From: William Roche > > Punching a hole in a file with fallocate needs to take into account the > fd_offset value for a correct file location. > > Fixes: 4b870dc4d0c0 ("hostmem-file: add offset option") > > Signed-off-by: William

[PATCH 1/1] system/physmem: take into account fd_offset for file fallocate

2025-01-21 Thread “William Roche
From: William Roche Punching a hole in a file with fallocate needs to take into account the fd_offset value for a correct file location. Fixes: 4b870dc4d0c0 ("hostmem-file: add offset option") Signed-off-by: William Roche --- system/physmem.c | 14 -- 1 file changed, 8 insertions(