FS#10239 - USB storage write caching

Attached to Project: Rockbox
Opened by Frank Gevaerts (fg) - Sunday, 24 May 2009, 20:57 GMT
Last edited by Frank Gevaerts (fg) - Sunday, 05 June 2011, 11:17 GMT
Task Type Patches
Category Drivers
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Version 3.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


WARNING : this patch works for me, but it doesn't have any error checking and is therefore likely to eat data every now and then

This patch adds a write queue to improve write speeds by allowing fully overlapping usb and disk operations. This significantly improves write speed. In some cases it gets better than the OF.

Work needed before this is in any way ready to commit includes extending the SCSI handling to tell the host that we do write caching.
This task depends upon

Closed by  Frank Gevaerts (fg)
Sunday, 05 June 2011, 11:17 GMT
Reason for closing:  Rejected
Additional comments about closing:  We won't do this
Comment by Frank Gevaerts (fg) - Monday, 25 May 2009, 20:06 GMT
This version adds error handling.

Unfortunately, disk errors aren't very visible. In linux they appear in dmesg, in windows they appear in the event log.
Comment by Rafaël Carré (funman) - Friday, 25 June 2010, 22:51 GMT
Which player did you test this on?
Comment by Frank Gevaerts (fg) - Friday, 25 June 2010, 23:18 GMT
This was either c200v1 or ipod video (or both)