[728] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: Serious problem with SCSI error handling

daemon@ATHENA.MIT.EDU (linux-vger@wab-tis.rabobank.nl)
Fri Oct 27 15:08:18 1995

Date: Fri, 27 Oct 1995 13:27:05 +0100
To: linux-scsi@vger.rutgers.edu
From: linux-vger@wab-tis.rabobank.nl

> This is an area that needs work, in my opinion.  If an error occurs reading a
> block that the EXT2 file system really wants (e.g. directory or indirect), it
> tends to panic killing the process attempting the access, and all too often
> leaving that entire disk inaccessible to any other process.  I think the file
> system code should be as tolerant as possible of errors; perhaps a printk and
> sleeping followed by a high level retry wouldn't hurt, since there isn't
> anything else for that process to do anyway.

Tolerancy will be a key issue, but if a sector cannot be recovered and the
rest of the disk is working, i think it is better to return an I/O error
than to wait (forever?). You still might want to backup or copy other
portions of the disk which are accessible, so hanging is not always a
good solution.

Fons

home help back first fref pref prev next nref lref last post