From: David Mosberger <davidm@napali.hpl.hp.com>
To: linux-kernel@vger.kernel.org
Subject: maximum block size in buffer_head
Date: Thu, 09 May 2002 22:11:46 -0700 [thread overview]
Message-ID: <E1762h0-00086K-00@wailua.hpl.hp.com> (raw)
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
next reply other threads:[~2002-05-10 5:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-10 5:11 David Mosberger [this message]
2002-05-10 5:38 ` Andrew Morton
2002-05-10 6:35 ` David Mosberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1762h0-00086K-00@wailua.hpl.hp.com \
--to=davidm@napali.hpl.hp.com \
--cc=davidm@hpl.hp.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®