linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* VFS buffer monitoring
@ 1998-08-18 15:30 Vladimir Dergachev
  1998-08-19 12:01 ` Stephen C. Tweedie
  0 siblings, 1 reply; 2+ messages in thread
From: Vladimir Dergachev @ 1998-08-18 15:30 UTC (permalink / raw)
  To: linux-mm

   Hello all :)
    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 ? )
      
      
 I would appreciate very much any pointers (and especially commentary) on the 
 subject..
 
                        Vladimir Dergachev
 
                        http://www.math.upenn.edu/~vdergach
--
This is a majordomo managed list.  To unsubscribe, send a message with
the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: VFS buffer monitoring
  1998-08-18 15:30 VFS buffer monitoring Vladimir Dergachev
@ 1998-08-19 12:01 ` Stephen C. Tweedie
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen C. Tweedie @ 1998-08-19 12:01 UTC (permalink / raw)
  To: Vladimir Dergachev; +Cc: linux-mm

Hi,

On Tue, 18 Aug 1998 11:30:59 -0400 (EDT), "Vladimir Dergachev"
<vladimid@seas.upenn.edu> said:

>       2) I looked around in the kernel source and it looks to me that 
>          this stuff isn't visible outside of kernel.. 

Yep.

>          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 ? )

You'll need to modify the kernel (linux/fs/buffer.c); the buffer lookup
information is not exported to modules.

--Stephen
--
This is a majordomo managed list.  To unsubscribe, send a message with
the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-08-19 13:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-08-18 15:30 VFS buffer monitoring Vladimir Dergachev
1998-08-19 12:01 ` Stephen C. Tweedie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox