On Tue, May 09, 2006 at 12:01:05PM -0700, Andrew Morton wrote:Yep. I am currently killing read/write methods for all filesystems and also
Together these three patches shrink the kernel by 113 lines. I don't know
what the effect is on text size, but that's a pretty modest saving, at a
pretty high risk level.
What else do we get in return for this risk?
there's another patch ontop which I didn't bother to redo until this is
accepted which kills a lot more code. After that filesystems only have
to implement one method each for all kinds of read/write calls. Which
allows to both make the mm/filemap.c far less complex and actually
understandable aswell as for any filesystem that uses more complex
read/write variants than direct filemap.c calls. In addition to these
simplification we also get a feature (async vectored I/O) for free.