calculate actual state of caches wrt set of files/dirs, without modifying caches ?

From: Yakov Lerner
Date: Tue May 13 2008 - 02:31:14 EST


Is it possible to calculate the following thing from userspace:
Some benchmarking program has list of filenames and dirnames.
Can it calculate how many of inodes and data blocks of those items are *cached*
vs how many are not, without modifying existing
status of inode caches & buffer caches ?

Thanks
Yakov
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/