public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* maximum block size in buffer_head
@ 2002-05-10  5:11 David Mosberger
  2002-05-10  5:38 ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: David Mosberger @ 2002-05-10  5:11 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-05-10  6:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-10  5:11 maximum block size in buffer_head David Mosberger
2002-05-10  5:38 ` Andrew Morton
2002-05-10  6:35   ` David Mosberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox