linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* COW page cache for file hole?
@ 2011-05-04  2:45 Dave Young
  0 siblings, 0 replies; only message in thread
From: Dave Young @ 2011-05-04  2:45 UTC (permalink / raw)
  To: Linux Kernel Mailing List, linux-mm, linux-fsdevel, Wu Fengguang

Hi,

During test fengguang's readahead alloc-noretry patch, I have some thoughts

In the 1000 dd case, page cache of sparse file hole are all zero indeed.
So what about make a global zero page for that purpose, fs level know
it is a hole,
when write occurs on that page we can alloc a new page for that.

I have no enough knowledge to implement it so just give out the
question without patch, sorry.
BTW, was there any attempt for this before?

-- 
Regards
dave

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-04  2:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-04  2:45 COW page cache for file hole? Dave Young

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).