Re: [patch] ramdisk blocksize Kconfig entry

From: H. Peter Anvin
Date: Tue Jul 11 2006 - 17:18:30 EST


Nathan Scott wrote:
This patch makes the ramdisk blocksize configurable at kernel
compilation time rather than only at boot or module load time,
like a couple of the other ramdisk options. I found this handy
awhile back but thought little of it, until recently asked by a
few of the testing folks here to be able to do the same thing
for their automated test setups.

The Kconfig comment is largely lifted from comments in rd.c,
and hopefully this will increase the chances of making folks
aware that the default value often isn't a great choice here
(for increasing values of PAGE_SIZE, even moreso).

This seems a bit odd to me... the sizes of most block devices is set by the filesystem, not hard-coded; the need for this implies something more fundamental is wrong.

-hpa


-
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/