[Bug 1578] Add retries to bdbuf writeback
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Tue Jun 22 11:58:17 UTC 2010
https://www.rtems.org/bugzilla/show_bug.cgi?id=1578
--- Comment #3 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2010-06-22 06:58:13 CDT ---
(In reply to comment #2)
> (In reply to comment #1)
> > Currently there is no high level error handling in bdbuf. It is up to the
> > block device driver to do everything that is necessary in case of an error.
>
> That would mean duplicating this code in all block device drivers which can
> encounter transient I/O errors (flashdisk, nvdisk, sdcard), right? I
> originally had it in sdcard but moved it up so everybody can use it. But if
> you prefer, I'll move it down into sdcard again and resubmit.
Yes, this means duplication of code, but that is the way we have it now. I
don't say that this is brilliant.
The error handling in bdbuf is an open issue. Currently only read errors will
be noticed by bdbuf users. In case of write errors the data will be discarded
and no one will notice this.
Before we start to hack something into bdbuf we should first specify how the
general error handling in the bdbuf area should be. A simple retry might be
appropriate in your special case, but other may require a certain delay before
the retry or a certain command sequence or what ever.
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list