[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting block sizes beyond 4K



On Wed, 27 Oct 2004 17:07:16 -0700 (PDT), sai narasimhamurthy
<sai_narasi@xxxxxxxxx> wrote:

> Can I change it by changing the parameters in the
> kernel, like PAGE_SIZE(followed by block size) for
> ext2 ?(The approach seems very naive !!)

You might be able to convince a filesystem to deal in larger block
sizes, but the underlying block IO layer has a physical limit of
PAGE_SIZE due to a somewhat arbitrary design restriction in the
implementation of bios. Unless I've missed a patch and it's already
possible, you could modify the kernel to do what you want but it won't
do it "out of the box".

Jon.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/