From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Thornber Subject: Re: dm-thin: commit metadata bug Date: Fri, 5 Aug 2011 14:13:39 +0100 Message-ID: <20110805131338.GA1882@ubuntu> References: Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Mikulas Patocka Cc: dm-devel@redhat.com, "Alasdair G. Kergon" List-Id: dm-devel.ids On Fri, Aug 05, 2011 at 08:59:09AM -0400, Mikulas Patocka wrote: > There is a bug in committing metadata --- you can't commit metadata if > there is any copying or zeroing in flight. The problem is that in this > case, the block you are copying to is already allocated, but it is not > linked anywhere in the metadata. So it creates lost blocks in case of > crash. Yes, well known and documented. We take this hit, fsck will repair. - Joe