UBI: Can we handle -EINTR differently in erase/write path???
Artem Bityutskiy
dedekind at infradead.org
Tue Jul 17 04:16:15 EDT 2007
On Fri, 2007-07-13 at 11:37 +0530, Vinit Agnihotri wrote:
> Hi heres few code snip from erase_worker(); from wl.c
> if (err != -EIO) {
> /*
> * If this is not %-EIO, we have no idea what to do. Scheduling
> * this physical eraseblock for erasure again would cause
> * errors again and again. Well, lets switch to RO mode.
> */
> ubi_ro_mode(ubi);
> return err;
> }
Yeah, you are right, feel free to send a patch. The only thing I am
curious about where, at what point the task can be interrupted?
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
More information about the linux-mtd
mailing list