Re: [Tux3] Bug? Atom refcounting redux

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <tux3@...>, <james_avera@...>
Date: Tuesday, December 2, 2008 - 12:56 am

On Monday 01 December 2008 18:38, Jim Avera wrote:

Exactly. If we get EIO on a buffer update we will not commit the
transaction containing the atom update at all, and put the volume into
read-only mode just like Ext3 does. That is our first line of defense
anyway, we will refine that as we go. Ultimately, we want to be able to
"power through" a nasty like this and keep going, picking up the pieces
as we can. If that means walking all the inode table blocks in the
system to recount the xattr atoms, then so be it. And we can run for
quite some time without tracking atom counts at all, which is nice for
this particular case. We would map the refcount somewhere else (to a
different physical device hopefully) and continue, counting only the
_new_ reference counts, while gathering up the pre-existing ones from
the atom table. (To be precise, we track only new updates to the
inodes we have already scanned during this recovery.)

> For reference, here is Daniel's code from the post (without endien-ness

Thanks for the sharp eyes :-)

It's not actually a bug for the reason above, but I did not explained
that before I think
, so until I did it was a bug.

Daniel

_______________________________________________
Tux3 mailing list
Tux3@tux3.org
http://tux3.org/cgi-bin/mailman/listinfo/tux3

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[Tux3] Bug? Atom refcounting redux, Jim Avera, (Mon Dec 1, 10:38 pm)
[Tux3] Page cache emulation now up and running, Daniel Phillips, (Sun Aug 10, 7:14 am)
Re: [Tux3] Bug? Atom refcounting redux, Daniel Phillips, (Tue Dec 2, 1:04 am)
Re: [Tux3] Bug? Atom refcounting redux, Daniel Phillips, (Tue Dec 2, 1:19 am)
Re: [Tux3] Bug? Atom refcounting redux, OGAWA Hirofumi, (Tue Dec 2, 5:44 am)
Re: [Tux3] Bug? Atom refcounting redux, Daniel Phillips, (Tue Dec 2, 4:07 pm)
Re: [Tux3] Bug? Atom refcounting redux, Daniel Phillips, (Tue Dec 2, 12:56 am)