COW page cache for file hole?

From: Dave Young
Date: Tue May 03 2011 - 22:45:47 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/