mercredi 29 avril 2015

Would tail block appending to file in linux kernel?

We have two processes:

  1. Append to the log file
  2. Tail the log file and send it to the centralised monitor

My concern is if the process 2 would block process 1 during reading the file? Is there any lock contention in kernel/disk driver here?

Aucun commentaire:

Enregistrer un commentaire