RTEMS CPU Kit with SuperCore 126.96.36.199
File data that is shared by various file handles accessing the same file. More...
|The shared parts are maintained as a list. |
|Reference count the users of this data. |
|The inode for the file. |
|The block map for the file. |
|The size of the file as taken from the inode. |
|The access time. |
|The modified time. |
|The change time. |
|Hold a pointer to the file system data so users can take the handle and use it without the needing to hold the file system data pointer. |
File data that is shared by various file handles accessing the same file.
We hold various inode values common to the file that can change frequently so the inode is not thrashed yet we meet the requirements of the POSIX standard. The stat call needs to check the shared file data.
The change time.
The last time the inode was written too.
The block map for the file.
The handle holds the file's position not the map.
The modified time.
The last time the file was written too.
The size of the file as taken from the inode.
The map's size and this size should be the same.