From: Dave Chinner <david@fromorbit.com>
To: "Linda A. Walsh" <lkml@tlinx.org>
Cc: Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Howto tell kernel to use 4096 as granularity & minimum size?
Date: Mon, 21 Jul 2014 08:28:18 +1000 [thread overview]
Message-ID: <20140720222818.GM4453@dastard> (raw)
In-Reply-To: <53CC0EAA.2010202@tlinx.org>
On Sun, Jul 20, 2014 at 11:47:06AM -0700, Linda A. Walsh wrote:
> I have a hard disk with a "512e" sector size: emulated 512, really 4096.
>
> The disk returns a 512-byte size to drivers for compatibility.
>
> I can partition the disk and setup the allocation size
> to 4096, but I'd like to tell the kernel to use a
> virtual-size of 4096 for the sector as an additional
> performance 'hint', so nothing will even try to use
> smaller i/o's than that.
Just format the filesystem with 4k sector size.
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
next prev parent reply other threads:[~2014-07-20 22:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-20 18:47 Howto tell kernel to use 4096 as granularity & minimum size? Linda A. Walsh
2014-07-20 22:28 ` Dave Chinner [this message]
2014-07-21 20:45 ` Linda Walsh
2014-07-23 13:17 ` One Thousand Gnomes
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=20140720222818.GM4453@dastard \
--to=david@fromorbit.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lkml@tlinx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.