cached I/O
direct I/O
- Application issues a read request
- Kernel looks for requested data in file buffer cache
- Requested data not present in file buffer cache
- Kernel reads data from disk
- Read data is cached in file buffer cache
- Read data is copied from file buffer cache to applicatio buffer
- Application issues a read request
- Kernel initiates a disk request
- Requested data transfered from disk to application buffer
No comments:
Post a Comment