This raises an eyebrow... The handling of ENOSPC prior to mmap write is
more an ABI behavior, so I don't see how this can be fixed with internal
changes, yet without changing behavior currently exported to userland
(and thus affecting code based on such assumptions).
hrm; no specific comment but this seems like an idea/area that needs to
be fleshed out more, by converting some of the more advanced filesystems.
definitely useful, especially if I rewrite my ibu filesystem for 2.6.x,
like I've been planning.
Your work is definitely interesting, but I think it will be even more
interesting once ext2 (w/ dir in pagecache) and ext3 (journalling) are
converted.
My gut feeling is that there are several problem areas you haven't hit
yet, with the new code.
Also, once things are converted, the question of transitioning from
buffer.c will undoubtedly answer itself. That's the way several of us
handle transitions: finish all the work, then look with fresh eyes and
conceive a path from the current code to your enhanced code.
Jeff
-