lkml.org 
[lkml]   [2009]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Block device cache issue
    Andrew Morton wrote:
    >
    >> should it perhaps be the case that the partition's buffers somehow be
    >> linked with those of the containing device, or even be part of them? I
    >> don't even know if this is possible without significant overhead in the
    >> page cache (of which my understanding is very shallow), but keep in mind
    >> that this behaviour almost led to filesystem corruption (luckily we only
    >> changed a single file and hit a single inode).
    >>
    >
    > It would incur overhead. We could perhaps fix it by having a single
    > cache for /dev/sda and then just making /dev/sda1 access that cache
    > with an offset.

    The offset can be non PAGE_SIZE aligned (and usually isn't, 63 sectors
    difference with normal partitioning).

    --
    error compiling committee.c: too many arguments to function



    \
     
     \ /
      Last update: 2009-04-07 12:41    [W:0.021 / U:31.392 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site