|
From: | Denis V. Lunev |
Subject: | Re: [Qemu-devel] [Nbd] [PATCH v2] doc: Add NBD_CMD_BLOCK_STATUS extension |
Date: | Mon, 4 Apr 2016 23:27:52 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
On 04/04/2016 11:15 PM, Alex Bligh wrote:
On 4 Apr 2016, at 21:13, Denis V. Lunev <address@hidden> wrote:As far as I remember that text we have had a number in request specifying which bitmap to query and the server should reply with one bitmap at a time. Would this work for you?I think that would be much better, yes, though I'd suggest the bitmap had an ID other than a number 0..15 so other people can use it too.
bitmap requires to negotiate granularity which is not that easy thing. If we have different granularities for 'dirty' and 'allocated' bitmaps and we can report this using this proto and can not do this cleanly with bitmap approach assuming that we will add 'NBD_STATE_DIRTY_DEALLOCATED' (0x2) state
[Prev in Thread] | Current Thread | [Next in Thread] |