man 2 sync
Bugs
According to the standard specification (e.g., POSIX.1-2001), sync() schedules the writes, but may return before the actual writing is done. However, since version 1.3.20 Linux does actually wait. (This still does not guarantee data integrity: modern disks have large caches.)
【 在 marion 的大作中提到: 】
: 建议性的意思是硬件可以自行选择执行或者不执行?
--
FROM 222.71.112.*