4 ms·
I had read some time ago that sync doesn't actually flush the buffer cache, it just schedules it to be written (and that may happen a little later). Could be wr
by vram22 13y ago
I had read some time ago that sync doesn't actually flush the buffer cache, it just schedules it to be written (and that may happen a little later). Could be wrong though, or the information could be outdated in recent Linux versions (I read that about some UNIX version, IIRC).
- vram22 13y agoEdit: by "a little later", I meant: not necessarily synchronously. So the sync command may return before the buffer cache is actually flushed.