Re: [RFC 1/2] block: Split padded I/O vectors exceeding IOV_MAX

2023-03-17 Thread Hanna Czenczek
On 16.03.23 18:44, Vladimir Sementsov-Ogievskiy wrote: On 15.03.23 15:13, Hanna Czenczek wrote: When processing vectored guest requests that are not aligned to the storage request alignment, we pad them by adding head and/or tail buffers for a read-modify-write cycle. The guest can submit I/O v

Re: [RFC 1/2] block: Split padded I/O vectors exceeding IOV_MAX

2023-03-16 Thread Vladimir Sementsov-Ogievskiy
On 15.03.23 15:13, Hanna Czenczek wrote: When processing vectored guest requests that are not aligned to the storage request alignment, we pad them by adding head and/or tail buffers for a read-modify-write cycle. The guest can submit I/O vectors up to IOV_MAX (1024) in length, but with this pad

Re: [RFC 1/2] block: Split padded I/O vectors exceeding IOV_MAX

2023-03-16 Thread Hanna Czenczek
On 15.03.23 19:48, Stefan Hajnoczi wrote: On Wed, Mar 15, 2023 at 01:13:29PM +0100, Hanna Czenczek wrote: When processing vectored guest requests that are not aligned to the storage request alignment, we pad them by adding head and/or tail buffers for a read-modify-write cycle. The guest can su

Re: [RFC 1/2] block: Split padded I/O vectors exceeding IOV_MAX

2023-03-16 Thread Hanna Czenczek
On 15.03.23 19:25, Eric Blake wrote: On Wed, Mar 15, 2023 at 01:13:29PM +0100, Hanna Czenczek wrote: When processing vectored guest requests that are not aligned to the storage request alignment, we pad them by adding head and/or tail buffers for a read-modify-write cycle. The guest can submit

Re: [RFC 1/2] block: Split padded I/O vectors exceeding IOV_MAX

2023-03-15 Thread Stefan Hajnoczi
On Wed, Mar 15, 2023 at 01:13:29PM +0100, Hanna Czenczek wrote: > When processing vectored guest requests that are not aligned to the > storage request alignment, we pad them by adding head and/or tail > buffers for a read-modify-write cycle. > > The guest can submit I/O vectors up to IOV_MAX (102

Re: [RFC 1/2] block: Split padded I/O vectors exceeding IOV_MAX

2023-03-15 Thread Eric Blake
On Wed, Mar 15, 2023 at 01:13:29PM +0100, Hanna Czenczek wrote: > When processing vectored guest requests that are not aligned to the > storage request alignment, we pad them by adding head and/or tail > buffers for a read-modify-write cycle. > > The guest can submit I/O vectors up to IOV_MAX (102