Efficient In-Depth I/O Tracing And Its Application For Optimizing Systems