Re: fs block size and PAGE_CACHE_SIZE

Bryan Henderson
2003-05-06T20:55:50Z

I don't know why there would be any issue having page size != block size,
as long as one is a multiple of the other. Maybe you have a particular
issue in mind?

I know one area where having a block larger than a page is a pain: When
you allocate a new block in order to write just one page, you have to
separately initialize the rest of the block.

>how could I efficient populate one 16k block to page cache(4 pages) at one
readpage() op?

Why would you want to? If someone wants to access those other 3 pages,
they'll have page faults of their own.