On Thu, 26 April 2007 10:47:40 +1000, David Chinner wrote:Option 1: you notice something odd while serving userspace. Option 2: a checking/scrubbing daemon of some sorts. The first will obviously miss any corruption in data that is not touched for a long time (ever?). Only chance I see is to treat this list as hints. It should contain all chunks that possibly have links. It may also contain chunks that don't have links. By keeping strict FFS-style ordering of all relevant writes, any mismatch should only cost fsck time. Managing this list appears to be less than trivial. Might actually be easier to have LogFS-style rmap for each object in the filesystem. If you have 5000 redundant copies of data and all get corrupted, you are doomed. I don't expect my filesystem to recover after having written 0x00 over the whole device. Being able to recover a single corruption happening anywhere on the device is already a huge step forward. Of course most current filesystems wouldn't even be able to detect all possible corruptions. That alone would be a step forward. One of the smart things of ZFS is to checksum everything. Among the Linux filesystems only JFFS2 seems to do it, but it cannot distinguish between corrupted data and incomplete writes before a crash. It definitely costs performance, but that is the price one has to pay if errors are to be detected. Jörn -- Do not stop an army on its way home. -- Sun Tzu -
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Heiko Carstens | Re: -mm merge plans for 2.6.23 -- sys_fallocate |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | Re: [GIT]: Networking |
| Jarek Poplawski | [PATCH iproute2] Re: HTB accuracy for high speed |
