On 06/22/2016 09:50 AM, Eric Blake wrote: > Another step towards making NBD pass a byte-aligned discard > request over the wire. Actually, until both raw_bsd.c and > nbd-client.c support .bdrv_co_preadv(), the block layer still > sets up a required_alignment of 512, so with this series alone, > the NBD_CMD_TRIM requests are still aligned to sector > boundaries (but now the logic is central to the block layer > rather than NBD). So you can probably figure out what my next > series will be :) > > Prerequisite: Kevin's block branch, plus my work on byte-based > block limits (v2 at the moment): > https://lists.gnu.org/archive/html/qemu-devel/2016-06/msg04006.html > and tested (but probably not hard requirement) on top of my > work on auto-fragmenting: > https://lists.gnu.org/archive/html/qemu-devel/2016-06/msg05819.html > > Also available as a tag at: > git fetch git://repo.or.cz/qemu/ericb.git nbd-discard-v1
I'll have to rebase this series on top of current master, but you can still review for conceptual correctness. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature