[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: page cache doubt
Does someone have a clue about this? I just cannot understand the
i_mapping x i_data relationship. Any comment is very welcome!
Luciano
Luciano A. Stertz wrote:
I'm trying to understand the page cache mechanism, but I have a
doubt and couldn't find any documentation about it, neighter was able to
understand reading the code. Hope that someone can help me and/or
indicate some doc.
Every inode has an address_space, that keeps a list of cached pages
in a digital tree. So far so good. Now the doubt: the inode struct has
two address_spaces, i_mapping and i_data. As far as I could understand,
i_mapping is the address_space I'm looking for, since it is passed to
the readpage method, but what is i_data function?
TIA,
Luciano Stertz
--
Luciano A. Stertz
luciano@xxxxxxxxxxxx
T&T Engenheiros Associados Ltda
http://www.tteng.com.br
Fone/Fax (51) 3224 8425
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/