summaryrefslogtreecommitdiffstats
path: root/crypto/tcrypt.h
diff options
context:
space:
mode:
authorJeff Lien <jeff.lien@wdc.com>2017-12-19 13:24:15 -0600
committerChristoph Hellwig <hch@lst.de>2017-12-29 10:31:05 +0100
commitcee160fd34b459ace029653436319557a643795a (patch)
tree74fb334a13d4464cdb40a31f181220183b316bfd /crypto/tcrypt.h
parent955b1b5a00ba694159a7d3763412597f707c294d (diff)
downloadlinux-cee160fd34b459ace029653436319557a643795a.tar.bz2
nvme: fix sector units when going between formats
If you format a device with a 4k sector size back to 512 bytes, the queue limit values for physical block size and minimum IO size were not getting updated; only the logical block size was being updated. This patch adds code to update the physical block and IO minimum sizes. Signed-off-by: Jeff Lien <jeff.lien@wdc.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'crypto/tcrypt.h')
0 files changed, 0 insertions, 0 deletions