![]() | |||||||||||||
Messages in this thread |
"Peter T. Breuer" wrote: > > Let me put it more plainly. Martin Daleki + rumour assures me that the > blk_size array nowadays measure in blocks not KB, yet to me it seems that sectors = 512 per default blocks = 1024 per default. Never said anything else. Look at the initialization point for the arrays. They all use constants which you can look up in the kernel headers. ./linux/fs.h:#define BLOCK_SIZE_BITS 10 ./linux/fs.h:#define BLOCK_SIZE (1<<BLOCK_SIZE_BITS) Which means 1024 bytes for blk_size as default value. > it doesn't. Look at this code from ll_rw_blk.c in 2.4.13: -- - phone: +49 214 8656 283 - job: eVision-Ventures AG, LEV .de (MY OPINIONS ARE MY OWN!) - langs: de_DE.ISO8859-1, en_US, pl_PL.ISO8859-2, last ressort: ru_RU.KOI8-R - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-03-22 12:13 [from the cache] ©2003-2008 | |||||||||||||