[Bug 1578] New: Add retries to bdbuf writeback

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon Jun 21 16:34:20 UTC 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1578

           Summary: Add retries to bdbuf writeback
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: arnout at mind.be


Created an attachment (id=809)
 --> (https://www.rtems.org/bugzilla/attachment.cgi?id=809)
bdbuf: retry failed transfers

I have an SPI controller that sometimes breaks down, which results in IO errors
in the SD card driver (cfr. bug 1569).  Attached patch adds retries to the
bdbuf code.  When a read or write the the SD card (or whatever underlying
media) fails, it is retried a configurable number of times.  Note that the
configuration is global, not per disk device.

The default retry value is 0, which reproduces the original behaviour.

This does not retry all access to disk devices (in particular, initialization
isn't retried), but it covers most situations.

-- 
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