Re: Block device API

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

 



On 1/25/06, Coywolf Qi Hunt <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux