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
| Linus Torvalds | Linux 2.6.27-rc5 |
| Greg KH | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Trent Piepho | Re: [PATCH] [POWERPC] Improve (in|out)_beXX() asm code |
git: | |
| Christoph Hellwig | Re: [PATCH 06/32] IGET: Mark iget() and read_inode() as being obsolete [try #2] |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
