* dm-thin: commit metadata bug
@ 2011-08-05 12:59 Mikulas Patocka
2011-08-05 13:13 ` Joe Thornber
0 siblings, 1 reply; 2+ messages in thread
From: Mikulas Patocka @ 2011-08-05 12:59 UTC (permalink / raw)
To: Edward Thornber; +Cc: dm-devel, Alasdair G. Kergon
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: dm-thin: commit metadata bug
2011-08-05 12:59 dm-thin: commit metadata bug Mikulas Patocka
@ 2011-08-05 13:13 ` Joe Thornber
0 siblings, 0 replies; 2+ messages in thread
From: Joe Thornber @ 2011-08-05 13:13 UTC (permalink / raw)
To: Mikulas Patocka; +Cc: dm-devel, Alasdair G. Kergon
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-05 13:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-05 12:59 dm-thin: commit metadata bug Mikulas Patocka
2011-08-05 13:13 ` Joe Thornber
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.