+6
−4
Loading
There may be devices with physical block size larger than 4k. If dm-bufio sends I/O that is not aligned on physical block size, performance is degraded. The 4k minimum alignment limit is there because some SSDs report logical and physical block size 512 despite having 4k internally - so dm-bufio shouldn't send I/Os not aligned on 4k boundary, because they perform badly (the SSD does read-modify-write for them). Signed-off-by:Mikulas Patocka <mpatocka@redhat.com> Reported-by:
Uladzislau Rezki (Sony) <urezki@gmail.com> Cc: stable@vger.kernel.org