mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matti Aarnio <matti.aarnio@zmailer.org>
To: Jordi Ros <jros@xiran.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: page size bigger than 4 KB for ext2
Date: Thu, 27 Mar 2003 11:27:48 +0200	[thread overview]
Message-ID: <20030327092748.GF29167@mea-ext.zmailer.org> (raw)
In-Reply-To: <E3738FB497C72449B0A81AEABE6E713C027904@STXCHG1.simpletech.com>

On Wed, Mar 26, 2003 at 03:24:23PM -0800, Jordi Ros wrote:
> Hi all,
> 
> I am trying to bring up a hard drive formated to 8KB page size using 
> ext2. It seems that i may need to recompile the kernel, as default 
> PAGE_SIZE is 4KB. I have 2 questions:

  The last time I looked at it, it should not be possible to have EXT2
  filesystem formatted with FILESYSTEM BLOCK SIZE of 8k.  Primary reason
  for this is that i386 machines have page size of 4k, and system has
  been kept limited to that for ease of memory reference handling, and
  to keep filesystems compatible in between machines, lowest limits
  have been taken into use.

  Notable thing is, that in BSD world the UFS (close relative of EXT2)
  can support FILESYSTEM block sizes of at least up to 64k.
  Referring to a bit of data within such blocks is a lot more
  convoluted, than it is in current incarnation of EXT2.

> 1) What is the procedure to build a kernel that can support hard drives 
>    formatted to 8KB ext2?

  You might need changes in block-layer, not (only) in filesystems.
  The PHYSICAL BLOCK SIZE of 8k will need reading and writing the
  disk in that size of chunks, which means in i386 type machines
  two memory pages, preferrably contiguous. Some limits from
  device drivers (like DMA must not go over 64k boundary) might
  also assert themselves.

> 2) What is the procedure to format a hard drive to 8KB ext2?

  Presently it can not be done.

> Thank you so much,
> Jordi

/Matti Aarnio

  parent reply	other threads:[~2003-03-27  9:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-26 23:24 Jordi Ros
2003-03-27  9:11 ` Helge Hafting
2003-03-27  9:27 ` Matti Aarnio [this message]
2003-03-27  9:32   ` David Lang

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=20030327092748.GF29167@mea-ext.zmailer.org \
    --to=matti.aarnio@zmailer.org \
    --cc=jros@xiran.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®