Do away with the notion of hardsect_size

Until now we have had a 1:1 mapping between storage device physical block size and the logical block sized used when addressing the device. With SATA 4KB drives coming out that will no longer be the case. The sector size will be 4KB but the logical block size will remain 512-bytes. Hence we need to distinguish between the physical block size and the logical ditto.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/mmc/card?h=v4.9&id=e1defc4ff0cf57aca6c5e3ff99fa503f5943c1f1

posted @ 2021-03-12 10:29  bobfly1984  阅读(77)  评论(0编辑  收藏  举报