Is there a way to sync a specific device in Linux?
This would be used to ensure that, e.g., writes to a USB thumb drive have taken place without waiting for queued writes from a video processing job to complete on an unrelated RAID array.
If there is a system call / combination of parameters that can achieve this, I could probably write a simple C wrapper. If someone knows of a Ubuntu package that can do this, that'd be even better.