Re: [PATCH] file-posix: Tolerate unaligned hole at middle

2025-05-28 Thread Akihiko Odaki
On 2025/05/28 22:00, 'Eric Blake' via devel wrote: On Wed, May 28, 2025 at 08:30:05PM +0900, Akihiko Odaki wrote: file-posix used to assume that existing holes satisfy the requested alignment, which equals to the estimated direct I/O alignment requirement if direct I/O is requested, and assert t

Re: [PATCH] file-posix: Tolerate unaligned hole at middle

2025-05-28 Thread Eric Blake
On Wed, May 28, 2025 at 08:30:05PM +0900, Akihiko Odaki wrote: > file-posix used to assume that existing holes satisfy the requested > alignment, which equals to the estimated direct I/O alignment > requirement if direct I/O is requested, and assert the assumption > unless it is at EOF. > > Howeve

[PATCH] file-posix: Tolerate unaligned hole at middle

2025-05-28 Thread Akihiko Odaki
file-posix used to assume that existing holes satisfy the requested alignment, which equals to the estimated direct I/O alignment requirement if direct I/O is requested, and assert the assumption unless it is at EOF. However, the estimation of direct I/O alignment requirement is sometimes inexact