next up previous index
Next: Asynchronous IO Up: File Hints Previous: The Discussion

Exercises

1
Rewrite program mkrandpfile.c discussed in section 5.3.1, to make use of hints. Before you open the file, construct an info object for it taking all the default values discussed in the previous section, but change the value of ind_wr_buffer_size to 4194304. After you have opened the file, read its info back and verify that the change has taken effect. Does the change affect the data transfer rate?



Zdzislaw Meglicki
2004-04-29