[lkml]   [2001]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: linux-2.4.10-pre5
On September 10, 2001 04:20 am, Chris Mason wrote:
> On Monday, September 10, 2001 04:22:25 AM +0200 Daniel Phillips
> <> wrote:
> > On September 10, 2001 04:15 am, Daniel Phillips wrote:
> >> On September 10, 2001 03:55 am, Andrea Arcangeli wrote:
> >> > getblk should unconditionally alloc a new bh entity and only care to
> >> > map it to the right cache backing store with a pagecache hash lookup.
> >>
> >> To feel anything like the original the new getblk has to be idempotent:
> >> subsequent calls return the same block.
> >
> > Err, buffer_head
> How about subsequent calls for the same offset with the same blocksize need
> to return the same buffer head?

Are we picking nits? Better add "the same dev" and "until the buffer head is
freed" ;-)

<Attempting to add some content> I've always felt that passing the blocksize
and hashing on it is just a little bizarre. This means for example that you
can have two 2K buffers overlaid on a 4K buffer, and they will be entirely
non-coherent. If we substitute "mapping" where "dev" goes we wouldn't need
the size any more. We could still take it and just BUG if it doesn't match
the mapping.

Bearing in mind Linus's comments about the liklihood that we might see mixed
block sizes in a single mapping something in the future.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [W:0.064 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site