lkml.org 
[lkml]   [2014]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Howto tell kernel to use 4096 as granularity & minimum size?
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


\
 
 \ /
  Last update: 2014-07-21 01:01    [W:0.060 / U:1.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site