Re: [Qemu-devel] [PATCH 12/12] nbd: split requests

2011-09-09 Thread Paolo Bonzini
On 09/09/2011 04:52 PM, Nicholas Thomas wrote: > +/* qemu-nbd has a limit of slightly less than 1M per request. For safety, > + * transfer at most 512K per request. */ > +#define NBD_MAX_SECTORS 1024 As far as I'm aware, the limit of 1MiB - header size is common to all NBD servers. I'm not

Re: [Qemu-devel] [PATCH 12/12] nbd: split requests

2011-09-09 Thread Nicholas Thomas
On 08/09/11 16:25, Paolo Bonzini wrote: > qemu-nbd has a limit of slightly less than 1M per request. Work > around this in the nbd block driver. > > Signed-off-by: Paolo Bonzini > --- > block/nbd.c | 52 ++-- > 1 files changed, 46 insertions(+),

[Qemu-devel] [PATCH 12/12] nbd: split requests

2011-09-08 Thread Paolo Bonzini
qemu-nbd has a limit of slightly less than 1M per request. Work around this in the nbd block driver. Signed-off-by: Paolo Bonzini --- block/nbd.c | 52 ++-- 1 files changed, 46 insertions(+), 6 deletions(-) diff --git a/block/nbd.c b/block/nbd.