]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit781833cebead600583e87943bff982fa28da7a68
tree9150e1c2d48c996506980de81d6852ab24b2fd2a
parentd4b91b13c0253aaa3fc74ffc790ffe9039cf940e
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