lkml.org 
[lkml]   [2006]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 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/

    \
     
     \ /
      Last update: 2006-01-25 10:29    [W:0.019 / U:30.252 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site