OSDN Git Service

nvme: directly cache command effects log
authorKeith Busch <kbusch@kernel.org>
Fri, 13 Nov 2020 18:28:30 +0000 (10:28 -0800)
committerChristoph Hellwig <hch@lst.de>
Sat, 14 Nov 2020 08:57:55 +0000 (09:57 +0100)
commitf6224b8681326856937420e1db18564a934bf32b
tree9150e1c2d48c996506980de81d6852ab24b2fd2a
parent0f0d2c876c96d4908a9ef40959a44bec21bdd6cf
nvme: directly cache command effects log

Remove the struct used for tracking known command effects logs in a
list. This is now saved in an xarray that doesn't use these elements.
Instead, store the log directly instead of the wrapper struct.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h