
It walks all the live Inode objects and flushes pending metadata changes wherever needed. This could be optimized by keeping a separate list of dirty Inodes, but let's not get ahead of ourselves.
8 lines
92 B
C++
8 lines
92 B
C++
#include <stdio.h>
|
|
#include <unistd.h>
|
|
|
|
int main(int, char**)
|
|
{
|
|
sync();
|
|
return 0;
|
|
}
|