[go: up one dir, main page]

|
|
Log in / Subscribe / Register

The 2007 Linux Storage and File Systems Workshop

The 2007 Linux Storage and File Systems Workshop

Posted Mar 20, 2007 19:35 UTC (Tue) by job (guest, #670)
In reply to: The 2007 Linux Storage and File Systems Workshop by nix
Parent article: The 2007 Linux Storage and File Systems Workshop

I see. I kind of assumed the block cache was aware of the tails so to avoid caching the same data twice. I figured that must be quite simple compared to freeing/moving all those sub-blocks, which obviously is possible since Reiser can do it (and fast, too).


to post comments

The 2007 Linux Storage and File Systems Workshop

Posted Mar 22, 2007 11:53 UTC (Thu) by nix (subscriber, #2304) [Link]

The page cache is aware of blocksizes differing from PAGE_SIZE, which provides a lot of what's needed, but that code is complex and delicate, and extending it to allow pieces of multiple files to co-exist in a single page-cache page is quite unlikely to be done (the memory savings are, after all, marginal, at half a page per file, and the complexity increase is significant).


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds