lkml.org 
[lkml]   [2007]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [00/17] Large Blocksize Support V3
David Chinner wrote:
>> Why is it necessary to assume that one filesystem block == one buffer?
>> Is it for atomicity, efficiency, or something else?
>>
>
> By definition, really - each filesystem block has it's own state and
> it's own disk mapping and so we need something to carry that
> information around....
>

Well, for block sizes > PAGE_SIZE, you can just duplicate the mapping
information (with an offset-in-block bit field) in each page's struct
page. But I see from your other posts that there are atomicity and
performance reasons as well.

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

-
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: 2007-04-26 16:59    [W:0.440 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site