Re: I/O topology fixes for big physical block size

Ted Ts'o
2010-10-01T14:24:41Z

On Thu, Sep 30, 2010 at 01:33:43PM -0400, Mike Snitzer wrote:
>
> Yes optimal_io_size may be 0. But minimum_io_size will always be scaled
> up to at least match physical_block_size.

Woah! Are we sure we want to do that? According to Jens, 8k physical
blockes are here already and 16k physical blocks sizes are right
around the corner. If we scale minimum_io_size up to the physical
block size, then even though these devices will have 512 or 4k logical
block sizes, minimum_io_size will be 16k? That sounds wrong,
incorrect, and given that the Linux VM can't handle file system block
sizes greater than page size. And if we scale the minimum_io_size to
the physical block size, mke2fs will refuse to create a 4k blocksize
filesystem --- since presumably "minimum io size" means we can't do
I/O's smaller than that.

Please tell me you meant to say __logical__ blocksize above?

Or am I misunderstanding what you meant?

- Ted