Re: Fixing private mappings

Rik van Riel
1998-04-23T09:01:22Z

On 23 Apr 1998, Eric W. Biederman wrote:

> A slightly more generic solution would be to introduce a new ``inode''
> that new it was a copy of the old inode but at a different offset. If
> these new ``inodes'' would then have a linked list of their own, that
> could be followed for update purposes.
>
> Extra inodes for files could also be extended to allow an offset at
> say 4TB or so into a file so that we can handle any sized file.
> Though obviously you can't cache it all at once, but you could cache
> any piece ;)

This is a nice idea indeed. Maybe we could even use the
'extra inodes' idea to implement arbitrarily large files
on _any_ architecture...
When the on-disk maximum size is reached, just grab a
slave inode and start on part two.
The same for in-memory inodes, but there the maximum
size may be different.

Rik.
+-------------------------------------------+--------------------------+
| Linux: - LinuxHQ MM-patches page | Scouting webmaster |
| - kswapd ask-him & complain-to guy | Vries cubscout leader |
| http://www.phys.uu.nl/~riel/ | <H.H.vanRiel@phys.uu.nl> |
+-------------------------------------------+--------------------------+