FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 08-05-2011, 12:59 PM
Mikulas Patocka
 
Default dm-thin: commit metadata bug

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.

Mikulas

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 
Old 08-05-2011, 01:13 PM
Joe Thornber
 
Default dm-thin: commit metadata bug

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

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 

Thread Tools




All times are GMT. The time now is 08:24 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org