Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch forces a device-level flush after the generic Linux code for sync has run. The kernel depends upon filesystem-specific code to flush when the filesystem itself thinks it is necessary, and otherwise does nothing. Someone expecting sync to behave as expected might be in for a rude surprise. The usual caveats apply: Devices that do not implement flush or whose implementation is buggy will not behave well. IO that occurs after the sync will not be flushed. Signed-off-by: Ken Kofman <gianfranco.dutka@arista.com>
- Loading branch information