Re: [PATCH 2/3] md: align superblock writes to physical blocks

2020-11-02 Thread Xiao Ni
On 10/30/2020 04:13 AM, Christopher Unkel wrote: Writes of the md superblock are aligned to the logical blocks of the containing device, but no attempt is made to align them to physical block boundaries. This means that on a "512e" device (4k physical, 512 logical) every superblock update hit

[PATCH 2/3] md: align superblock writes to physical blocks

2020-10-29 Thread Christopher Unkel
Writes of the md superblock are aligned to the logical blocks of the containing device, but no attempt is made to align them to physical block boundaries. This means that on a "512e" device (4k physical, 512 logical) every superblock update hits the 512-byte emulation and the possible associated p