RE: Page/Buffer Cache: Traversing Dirty Buffers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just incase you have not noticed.

In 2.4 kernel ... buffer.c has got something called show_buffers() ...
this actually prints ( printk ) all the statistics including dirty
buffers, locked buffers, used, etc ...

Abooo


-----Original Message-----
From: kernelnewbies-bounce@xxxxxxxxxxxx
[mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of Can Sar
Sent: Tuesday, October 12, 2004 5:02 AM
To: kernelnewbies@xxxxxxxxxxxx
Subject: Page/Buffer Cache: Traversing Dirty Buffers

Hi,

I have read the source and searched the web and LKML archives for 2 
days without being able to find much on this topic, so I hope someone 
can help me here.
I am writing a driver for a research project, and need to be able to 
traverse all dirty buffers in the buffer cache, for this device. I have 
read through buffer.c and several other files a dozen times, but have 
not been able to pin down exactly how to get access to the buffer 
cache. If someone could point any files that I should look at, to get a 
pointer to all the dirty buffers associated with a device, I would be 
very happy. I am working with kernel 2.6.

Thank you very much for your help,
Can Sar


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux