From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj2ZA-0000QK-Fg for qemu-devel@nongnu.org; Thu, 24 Mar 2016 06:32:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aj2Z6-0005kZ-B1 for qemu-devel@nongnu.org; Thu, 24 Mar 2016 06:32:36 -0400 Received: from mail.avalus.com ([2001:41c8:10:1dd::10]:53652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj2Z6-0005kM-4B for qemu-devel@nongnu.org; Thu, 24 Mar 2016 06:32:32 -0400 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_AB8A45EB-04BF-4A42-9855-76613B32AC63"; protocol="application/pgp-signature"; micalg=pgp-sha512 From: Alex Bligh In-Reply-To: <20160324093315.GA2870@grep.be> Date: Thu, 24 Mar 2016 10:32:25 +0000 Message-Id: <433C735B-1BAE-47DA-9543-2E5BA2710357@alex.org.uk> References: <1458742562-30624-1-git-send-email-den@openvz.org> <1458742562-30624-3-git-send-email-den@openvz.org> <20160323175834.GC2467@grep.be> <20160324084318.GC24831@phobos.sw.ru> <20160324093315.GA2870@grep.be> Subject: Re: [Qemu-devel] [Nbd] [PATCH 2/2] NBD proto: add GET_LBA_STATUS extension List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wouter Verhelst Cc: "nbd-general@lists.sourceforge.net" , Kevin Wolf , Alex Bligh , "qemu-devel@nongnu.org" , Pavel Borzenkov , "Stefan stefanha@redhat. com" , "Denis V. Lunev" , Paolo Bonzini --Apple-Mail=_AB8A45EB-04BF-4A42-9855-76613B32AC63 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 24 Mar 2016, at 09:33, Wouter Verhelst wrote: > Now I'm not saying we > need to fully define what it means for a part of the backend to be > "dirty" or not. It's okay to leave part of the meaning in the dark, > leaving that implementation-defined. Well, the 3 possible states are: * unallocated * zero * non-zero So the possible replies are a bitfield of those, with a '1' if it 'might' be in that state, i.e. 111 = no idea 110 = might be zero or unallocated, but isn't zero 011 = I know it's allocated, but I don't know whether it is zero or not And '000' is not permitted! etc. -- Alex Bligh --Apple-Mail=_AB8A45EB-04BF-4A42-9855-76613B32AC63 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJW88I7AAoJEBPm5K7i9iORgoYP/12sGQHRPvQAYB/1TgUj1Yt/ pnk+LuZZA6QrAghzGNR7Lq2NTRz1ozlS9X/bULVbWL98R9wRCaxSFYp6WOur9Qp8 FTssaQ4hjgujtjJsvN+tg21kHH8fhZyBqIiW0zQOEkf+wok9bsB9nmHSG15KmFm/ 7xFJO+eBKaXsVMRrR+dPQdsi5DyPlQ+zWO6J0dwnmHldIaoAQG87bB+DAS0uU4pe hd/2KSc0MYEndEswT2ppcfUvQJHPJmrVLdImghXhb3rXBG/pUbwsQahZeS5m8F4x lv7JcKqtG6jyWs4i59IrYvLaTXYxNyOVx2qVHuO3TGdO4rDFdea+TgY4GImxk28s dhgEqEM7RZ+Cvph0Lhb57tnpa89aiEHLwYafpYsLpVSvNCj8PB2O4StjmLrf3bmG +Lo3qiQo3Cxo6BZXzFVLkvH2OjkM+tTB8yYUvtDg9rckJlpGgqdqV7/0YveSw2+7 ENa6/bhDE9j38EmQZAFRSVxjV8AU1+zu8Ne4Ovb6WSShSCFreemzUVFeA9lE3dU9 ycjB93c2UJbXrPCnt6m98Q1Jy5Qx/40TKXI8XDuQ50UeVf3RuF5DXFm99wi6XzaI N9uGFeoJwx+aDzmto7cHEXTYRarNsy13ftSWXalIpfuUWToi+SaMlDLwIAeOy8Rf 1yrvmT3rITHU0OyJUeXU =OLdV -----END PGP SIGNATURE----- --Apple-Mail=_AB8A45EB-04BF-4A42-9855-76613B32AC63--