how would this happen
Using blktrace with a device having ext2fs I get a good picture -
issuing pid->block xlation->completion
From above given a block # using debugfs (icheck/ncheck) we can reverse lookup a file name to which the IO was performed. This seems to be helpful when the file is persistent beyond the blktrace collection session i.e. during blkparse.
For short lived files (temp files which would be removed from namespace prior to blkparse run) how can we get the block->file mapping with blktrace.
Thanks,
Rakesh