Improve write caching behaviour for removable devices

Registered by Martin Pitt

Use a new write cache mode for removable drives which combines the performance of write caching ("async" mode) with the intuitive and saver behaviour of the "sync" mode. Sync mode is inappropriate because it is unacceptably slow and has a fast flash wearout, while async mode takes a long time to flush the cache after unmounting, which caused us to add mitigations like "please do not remove" notifications.

Ideally write caching stays enabled, but the cache is flushed already when closing a file, not when unmounting a drive.

Blueprint information

Status:
Complete
Approver:
Scott James Remnant (Canonical)
Priority:
Undefined
Drafter:
Martin Pitt
Direction:
Needs approval
Assignee:
Martin Pitt
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Martin Pitt

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.