Re: [PATCH 08/10] nbd/server: introduce NBDExtentArray

2019-10-18 Thread Eric Blake
On 10/18/19 11:07 AM, Vladimir Sementsov-Ogievskiy wrote:   static int nbd_co_send_extents(NBDClient *client, uint64_t handle, -   NBDExtent *extents, unsigned int nb_extents, -   uint64_t length, bool last, -  

Re: [PATCH 08/10] nbd/server: introduce NBDExtentArray

2019-10-18 Thread Vladimir Sementsov-Ogievskiy
09.10.2019 20:02, Eric Blake wrote: > On 9/30/19 10:15 AM, Vladimir Sementsov-Ogievskiy wrote: >> Introduce NBDExtentArray class, to handle extents list creation in more >> controlled way and with less OUT parameters in functions. >> >> Signed-off-by: Vladimir Sementsov-Ogievskiy >> --- >>  

Re: [PATCH 08/10] nbd/server: introduce NBDExtentArray

2019-10-09 Thread Eric Blake
On 9/30/19 10:15 AM, Vladimir Sementsov-Ogievskiy wrote: Introduce NBDExtentArray class, to handle extents list creation in more controlled way and with less OUT parameters in functions. Signed-off-by: Vladimir Sementsov-Ogievskiy --- nbd/server.c | 184

[PATCH 08/10] nbd/server: introduce NBDExtentArray

2019-09-30 Thread Vladimir Sementsov-Ogievskiy
Introduce NBDExtentArray class, to handle extents list creation in more controlled way and with less OUT parameters in functions. Signed-off-by: Vladimir Sementsov-Ogievskiy --- nbd/server.c | 184 +-- 1 file changed, 90 insertions(+), 94