From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXYxO-0005Jn-EA for qemu-devel@nongnu.org; Fri, 26 Sep 2014 13:05:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXYxJ-0003kn-VN for qemu-devel@nongnu.org; Fri, 26 Sep 2014 13:05:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXYxJ-0003kT-Ou for qemu-devel@nongnu.org; Fri, 26 Sep 2014 13:05:17 -0400 Message-ID: <54259CC2.20508@redhat.com> Date: Fri, 26 Sep 2014 19:05:06 +0200 From: Max Reitz MIME-Version: 1.0 References: <1411622627-22110-1-git-send-email-tony@bakeyournoodle.com> <1411686852-26487-1-git-send-email-tony@bakeyournoodle.com> In-Reply-To: <1411686852-26487-1-git-send-email-tony@bakeyournoodle.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 1/2] block/raw-posix: Fix disk corruption in try_fiemap List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Tony Breeds , qemu-devel@nongnu.org Cc: Kevin Wolf , =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= , Markus Armbruster , Stefan Hajnoczi On 26.09.2014 01:14, Tony Breeds wrote: > Using fiemap without FIEMAP_FLAG_SYNC is a known corrupter. > > Add the FIEMAP_FLAG_SYNC flag to the FS_IOC_FIEMAP ioctl. This has > the downside of significantly reducing performance. > > Reported-By: Michael Steffens > Signed-off-by: Tony Breeds > Cc: Kevin Wolf > Cc: Markus Armbruster > Cc: Stefan Hajnoczi > Cc: Max Reitz > Cc: P=C3=A1draig Brady > Cc: Eric Blake > --- > Changes since v1: > - split in to 2 patches > - tried to make the commit messages better > > block/raw-posix.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Max Reitz