I want to write a program that lists the blocks currently in VFS buffer.
I looked around and couldn't find anything similar, and, well, noone on IRC
seems to know anything about it.
So here goes :
1) does anybody know of such a program ?
2) I looked around in the kernel source and it looks to me that
this stuff isn't visible outside of kernel.. So should I just go
and change kernel directly or can I still get by with writing a
module ? (or maybe even better , just an ordinary program ? )
3) Another stupid question - if I have a file mmaped will it's blocks
(if hit) appear in VFS buffer ? I.e. does it cache it twice ?
Or does the buffer include all mmaped stuff (including
I would appreciate very much any pointers (and especially commentary) on the
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html