2 ms·
Why don't they just go directly to the ioctl instead of through all these libraries? When ever I need something written to disk _immediately_ I go straight to
by Moral_ 13y ago
Why don't they just go directly to the ioctl instead of through all these libraries?
When ever I need something written to disk _immediately_ I go straight to the drivers:
if (ioctl(fd, BLKFLSBUF, NULL))
perror("BLKFLSBUF failed");
that should work.