File - Read Operation
About
read is a file system io operations that opens the file for read access
OS File System
In the OS file system, it's equivalent to get a file descriptor.
- Linux API : read%282%29
Lock
Generally before reading a file, an application would acquire a shared lock:
- to prevent any write during the read operation
- that could led to dirty read