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

Ted Ts'o
2010-09-28T20:57:51Z

On Tue, Sep 28, 2010 at 10:15:45AM -0400, Mike Snitzer wrote:
> Actually, -F allows one to override fs blocksize < physical_block_size.
>
> In this instance we have the following:
> # cat /sys/block/dm-2/queue/physical_block_size
> 1048576
> # cat /sys/block/dm-2/queue/logical_block_size
> 512
>
> > Should we change something?
>
> Unclear. I could see maybe automatically capping the fs block size at
> 4096 if physical_block_size is larger and is a multiple of 4096?

Can we decide soon what the right thing should be? I'm about to
release e2fsrogs 1.41.13, and if I should put in some sanity checking
code so mke2fs does something sane when it sees a 1M physical block
size, I can do that.

Or if the kernel is going to do that, it's fine too....

- Ted