Received: from eggs.gnu.org ([2001:4830:134:3::10]:46099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9UmD-0001HU-OY for qemu-devel@nongnu.org; Fri, 20 Apr 2018 08:04:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f9UmA-0000C5-Ku for qemu-devel@nongnu.org; Fri, 20 Apr 2018 08:04:29 -0400 From: Alberto Garcia In-Reply-To: <20180416165849.28864-3-mreitz@redhat.com> References: <20180416165849.28864-1-mreitz@redhat.com> <20180416165849.28864-3-mreitz@redhat.com> Date: Fri, 20 Apr 2018 14:04:12 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [Qemu-block] [PATCH 2/9] block: BLK_PERM_WRITE includes ..._UNCHANGED List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-block@nongnu.org Cc: Kevin Wolf , Fam Zheng , qemu-devel@nongnu.org, Stefan Hajnoczi On Mon 16 Apr 2018 06:58:42 PM CEST, Max Reitz wrote: > Currently we never actually check whether the WRITE_UNCHANGED > permission has been taken for unchanging writes. But the one check that > is commented out checks both WRITE and WRITE_UNCHANGED; and considering > that WRITE_UNCHANGED is already documented as being weaker then WRITE, > we should probably explicitly document WRITE to include WRITE_UNCHANGED. > > Signed-off-by: Max Reitz Reviewed-by: Alberto Garcia s/then/than/ as Stefan mentioned. Berto