Messages in this thread | | | Date | Wed, 25 Jan 2006 14:27:22 +0500 | From | Fawad Lateef <> | Subject | Re: Block device API |
| |
On 1/25/06, Coywolf Qi Hunt <qiyong@fc-cn.com> wrote: > On Wed, Jan 25, 2006 at 08:17:02AM +0500, Fawad Lateef wrote: > > > > AFAIK there isn't any documentation/article for block and filesystem > > layer interaction (or till now me also not able to find any) :) > > > > > > sb_bread is the function used for reading a block (especially > > superblock) from the storage. For reading/writing do look at > > Does __bread() contribute to page cache? I think not. And we don't > care the work done by __bread(). >
Ya, __bread() directly sends read request to the block device without involvement of buffer cache ! Is there any point In my explaination in which I mentioned __bread related to buffer_cache ? if yes then its a mistake .... and __bread is direct function which calls submit_bh and waits for its completion.
-- Fawad Lateef - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |