|
AquilaOS documentation
How it works, and its code
|
Syncing vnodes and filesystems to their disks. More...
Go to the source code of this file.
Functions | |
| int | vfs_vsync (struct vnode *vnode, int mode) |
| Would write a vnode's data and metadata to its disk. | |
| int | vfs_fssync (struct vnode *super, int mode) |
| Would write a filesystem's data and metadata to its disk. | |
| int | vfs_sync (int mode) |
| Would write every filesystem's data and metadata to its disk. | |
Syncing vnodes and filesystems to their disks.
None of it is implemented yet: writes go to the disk (through the block cache) when they are made.
Definition in file sync.c.
| int vfs_fssync | ( | struct vnode * | super, |
| int | mode ) |
Would write a filesystem's data and metadata to its disk.
Not implemented.
| super | the filesystem's root vnode |
| mode | what to sync |
Definition at line 31 of file sync.c.
References vfs_fssync().
Referenced by vfs_fssync().
| int vfs_sync | ( | int | mode | ) |
Would write every filesystem's data and metadata to its disk.
Not implemented.
| mode | what to sync |
Definition at line 43 of file sync.c.
References vfs_sync().
Referenced by vfs_sync().
| int vfs_vsync | ( | struct vnode * | vnode, |
| int | mode ) |
Would write a vnode's data and metadata to its disk.
Not implemented.
| vnode | the vnode |
| mode | what to sync |
Definition at line 18 of file sync.c.
References vfs_vsync().
Referenced by vfs_vsync().