maximum block size in buffer_head

From: David Mosberger (davidm@napali.hpl.hp.com)
Date: Fri May 10 2002 - 00:11:46 EST


The current Linux kernel (both 2.4.xx and 2.5.xx) declare the b_size
member in struct buffer_head as an "unsigned short". This obviously
limits the maximum block size to something less than 65536. This is
bad because on some platforms (e.g., ia64), the page size can be up to
64KB large.

Two questions:

 - does anyone object to widening b_size to "unsigned int"?

 - does anyone know of any other code paths where the block
   size is assumed to fit into 16 bits?

Thanks,

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



This archive was generated by hypermail 2b29 : Tue May 14 2002 - 12:00:13 EST