diff options
| author | Mikulas Patocka <mpatocka@redhat.com> | 2025-10-20 14:48:13 +0200 |
|---|---|---|
| committer | Mikulas Patocka <mpatocka@redhat.com> | 2025-12-10 19:28:22 +0100 |
| commit | d0ac06ae53be0cdb61f5fe6b62d25d3317c51657 (patch) | |
| tree | 8ed71307df50056811081721f42f6de5c5791492 /scripts/lib/abi/abi_regex.py | |
| parent | ce51c6963a91cc6d5c9cf6c3735991882f72587d (diff) | |
dm-bufio: align write boundary on physical block size
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
Diffstat (limited to 'scripts/lib/abi/abi_regex.py')
0 files changed, 0 insertions, 0 deletions
