[lkml]   [2009]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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.042 / U:7.732 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site