On Wed, 13 Sep 2000, Erez Zadok wrote:
> We may have to change the VFS if we find that's the only way to support a
> chain (or tree! think fan-out) of callbacks, but we won't know until we try.
It's a chain/tree only at the conceptual level. At the page level it
would be just a "need to call this guy when I'm uptodate". It's up to the
callback function to collect all the pages it needs and then propagate the
callback up the stack.
VFS (and, more importantly, buffer cache/page cache) hackery is definitely
needed. Fortunately, it looks fairly clean. Basically all we need to do is
have a callback function pointer accessible through struct page (probably
as an address_space operation, I was wrong earlier on). Then each instance
of the code that sets the page uptodate must be modified to also check if
the callback pointer is NULL and call it if it isn't.
Ion
--
It is better to keep your mouth shut and be thought a fool,
than to open it and remove all doubt.
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]