sync() syscall

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a question about sync syscall. It writes all dirty buffers to the HDD. If one user runs program like this:

----------------------------
#include <unistd.h>
int main(void)
{
while(1) sync() ;
}
----------------------------

the writeback system will stop working, won't it? Shouldn't be added to kernel a modification, that would protect writeback?

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux