From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Francke Subject: Re: all rbd users: set 'filestore fiemap = false' Date: Mon, 18 Jun 2012 10:29:15 +0200 Message-ID: <4FDEE6DB.8030406@filoo.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail-3.de-punkt.de ([93.190.64.33]:41011 "EHLO mail-3.de-punkt.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751716Ab2FRI3S (ORCPT ); Mon, 18 Jun 2012 04:29:18 -0400 In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Sage Weil Cc: ceph-devel@vger.kernel.org Hi Sage, On 06/18/2012 06:02 AM, Sage Weil wrote: > If you are using RBD, and want to avoid potential image corruption, a= dd > > filestore fiemap =3D false > > to the [osd] section of your ceph.conf and restart your OSDs. as far as this heals some trouble, but I fairly don't understand... > > We've tracked down the source of some corruption to racy/buggy FIEMAP > ioctl behavior. The RBD client (when caching is diabled--the default= ) > uses a 'sparse read' operation that the OSD implements by doing an fs= ync > on the object file, mapping which extents are allocated, and sending = only > that data over the wire. We have observed incorrect/changing FIEMAP = on > both btrfs: > > fsync > fiemap returns mapping >