Professional Documents
Culture Documents
Chapter 10 & 11
Chapter 10 & 11
10.9 None of the disk-scheduling disciplines, except FCFS, is truly fair (starvation
may occur).
a. Explain why this assertion is true.
10.14 Describe some advantages and disadvantages of using SSDs as a caching tier
and as a disk-drive replacement compared with using only magnetic disks.
- Since SSDs have no moving parts, they are faster than magnetic disks
Chapter 11
11.9 Consider a file system in which a file can be deleted and its disk space
reclaimed while links to that file still exist. What problems may occur if a new file
is created in the same storage area or with the same absolute path name? How can
these problems be avoided?
- An old file and a new file with the same storage area are still “linked” and
this problem can be avoided by deleting all the files “linked” to the deleted
file
- If the link is not deleted, you can remove them when the user is about to
access a deleted file so that the problem can be avoided
11.11 What are the advantages and disadvantages of providing mandatory locks
instead of advisory locks whose use is left to users’ discretion?
- Accessing a block triggers the system to transfer the data in the temporary
storage for later use
- This will reduce the time in waiting for upcoming requests