Re: EXT2 and BadBlock updating.....

From: Manfred Spraul (manfreds@colorfullife.com)
Date: Wed Apr 12 2000 - 13:04:27 EST


"Theodore Y. Ts'o" wrote:
>
> Oh, if we were going to do this we'd have to add tags to the buffer
> structure to indicate the inode number and logical block number, so that
> if a buffer gets returned with an error, the filesystem can figure out
> what to do with it. (Which in the case of filesystem metadata still
> could be nothing but the current choice of ignore the error, panic, or
> mark the filesystem as read-only.)

Lock the buffer in memory, printk(KERN_ALERT) the device and sector
number, page the site admin: he should make a backup before the next
power cycle 8-/

My own disks always failed with read errors, not write errors, I don't
know if we should add lots of logic for (rare) write errors.

--
	Manfred

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:19 EST