aboutsummaryrefslogtreecommitdiff
path: root/hw/sh4/shix.c
diff options
context:
space:
mode:
authorKlaus Jensen <k.jensen@samsung.com>2021-04-14 21:34:44 +0200
committerKlaus Jensen <k.jensen@samsung.com>2021-05-17 09:18:59 +0200
commit6146f3dd35cd71b4ac594b2e4a86c4bb3af52b09 (patch)
treefdd23c3808b8955e71db54c6d66b7f6446ec548e /hw/sh4/shix.c
parent0c76fee2f8e3332b8d7db89da13e4edfdcc5a4f0 (diff)
hw/block/nvme: cache lba and ms sizes
There is no need to look up the lba size and metadata size in the LBA Format structure everytime we want to use it. And we use it a lot. Cache the values in the NvmeNamespace and update them if the namespace is formatted. Signed-off-by: Klaus Jensen <k.jensen@samsung.com> Reviewed-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'hw/sh4/shix.c')
0 files changed, 0 insertions, 0 deletions