lkml.org 
[lkml]   [2008]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] VFS: Pagecache usage optimization on pagesize !=blocksize environment

> But I'm slightly confused that the patch helps because I've always
>thought that mpage_readpage() (which is what we end up calling from
>do_generic_mapping_read()) always reads the whole page. Thus either all
>buffers in the page or none of them are uptodate... So what do I miss
>here?
>
> Honza

On ext3/4, a file is written through buffer/block. So if a page has multiple
buffers, buffers can be uptodate partially especially under random write workloads.
See __block_prepare_write and __block_commit_write.



\
 
 \ /
  Last update: 2008-05-26 09:23    [W:0.165 / U:1.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site