On 31 Mar 2016, at 19:50, Eric Blake <eblake@...696...> wrote: >> I'd also like to say "I'd like my offsets / lengths to be a multiple of 4k" >> so I can open O_DIRECT. Or at least say "can you cope with only offsets / >> lengths that are a multiple of 4k, as if so I can perform better". But >> this should probably be on a different wish-list! > > Yep, several emails now hinting that we want to add an extension for > length negotiation; I've started a strawman locally, but it's not > polished enough to post yet, with all the churn on structured replies first. Yep. nbdclient.c even takes a blocksize on the command-line (defaulting to 1024), then (in setsizes()) does an ioctl to the kernel, so it would be really useful to let the server specify / request this. -- Alex Bligh
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail