linux - What exactly does the system call sync do? -


i running someone's bash script uses sync command. understand sync write out buffered i/o filesystem before returning. on hpc system many users, sync seems take forever.

if user runs this, sync wait filesystem writes users? happens if new data queued writing out filesystem while sync executing? sync wait these new writes finish?


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -