Re: [PATCH] address_space_operations unification

From: Linus Torvalds (torvalds@transmeta.com)
Date: Sun May 07 2000 - 14:02:28 EST


On Sun, 7 May 2000, Manfred Spraul wrote:
>
> What about symlinks? AFAIKS, they are already in the page cache.

Indeed. And they work fine the way they are. But they can be seen as
regular data (that's basically the implementation) with no real special
cases. It just has a different access method.

> And what about using a pointer to the address_space structure itself as
> a parameter to the address_space_operations? That structure always
> exists, and I don't see the advantage of maintaining
> address_space->file->d_entry->d_inode->i_mapping.

Very few of the operations are actually interested in the address space
structure. I don't disagree with exporting it per se, though. It's just
that it isn't generally that useful, and you _can_ get at it other ways
with current filesystems.

                Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:21 EST