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?