Re: [Qemu-block] [PATCH v2 13/22] nbd/client: Split out nbd_send_one_meta_context()

2018-12-17 Thread Eric Blake
On 12/15/18 9:22 AM, Richard W.M. Jones wrote: On Sat, Dec 15, 2018 at 07:53:15AM -0600, Eric Blake wrote: Refactor nbd_negotiate_simple_meta_context() to pull out the code that can be reused to send a LIST request for 0 or 1 query. No semantic change. Signed-off-by: Eric Blake --- v2: split

Re: [Qemu-block] [PATCH v2 13/22] nbd/client: Split out nbd_send_one_meta_context()

2018-12-15 Thread Richard W.M. Jones
On Sat, Dec 15, 2018 at 07:53:15AM -0600, Eric Blake wrote: > Refactor nbd_negotiate_simple_meta_context() to pull out the > code that can be reused to send a LIST request for 0 or 1 query. > No semantic change. > > Signed-off-by: Eric Blake > > --- > v2: split patch into easier-to-review pieces

[Qemu-block] [PATCH v2 13/22] nbd/client: Split out nbd_send_one_meta_context()

2018-12-15 Thread Eric Blake
Refactor nbd_negotiate_simple_meta_context() to pull out the code that can be reused to send a LIST request for 0 or 1 query. No semantic change. Signed-off-by: Eric Blake --- v2: split patch into easier-to-review pieces [Rich, Vladimir] --- nbd/client.c | 64 +++