Re: [Qemu-block] [Qemu-devel] [PATCH 2/4] nbd/server: Advertise actual minimum block size

2018-08-17 Thread Eric Blake
On 08/17/2018 10:04 AM, Vladimir Sementsov-Ogievskiy wrote: Can you create a dirty bitmap with a granularity smaller than request_alignment?  I know you can configure dirty bitmap granularity independently from cluster size (in both directions: either smaller or larger than cluster size), but

Re: [Qemu-block] [Qemu-devel] [PATCH 2/4] nbd/server: Advertise actual minimum block size

2018-08-17 Thread Vladimir Sementsov-Ogievskiy
02.08.2018 17:48, Eric Blake wrote: Both NBD_CMD_BLOCK_STATUS and structured NBD_CMD_READ will split their reply according to bdrv_block_status() boundaries. If the block device has a request_alignment smaller than 512, but we advertise a block alignment of 512 to the client, then this can