Assume that a file is written using write(fd, buf, K) system calls, where fd is the file descriptor, and K, the number of files to be written to the current file offset which is a multiple of the disk block size D. The total number of disk block writes required to be executed before the system call returns is:
(a) is equal to K/D
(b) is less than K/D
(c) is greater than K/D
(d) None of the above.
In my opinion, the answer should be (c). But the solution manual says it's (d).
I believe the number of file writes required for writing a file is $ceil(K/D)$ So, the answer should be (c).
Am I correct? If not, what am I doing wrong?
Thanks in advance!