summaryrefslogtreecommitdiff
path: root/include/linux/nvme.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-12-21 12:12:17 +0300
committerChristoph Hellwig <hch@lst.de>2022-12-28 19:26:25 +0300
commit831ed60c2aca2d7c517b2da22897a90224a97d27 (patch)
tree61ee3a3c954b3173e4ba2b9e7a60aa3afe0a7a68 /include/linux/nvme.h
parent2a459f6933e1c459bffb7cc73fd6c900edc714bd (diff)
downloadlinux-831ed60c2aca2d7c517b2da22897a90224a97d27.tar.xz
nvme: also return I/O command effects from nvme_command_effects
To be able to use the Commands Supported and Effects Log for allowing unprivileged passtrough, it needs to be corretly reported for I/O commands as well. Return the I/O command effects from nvme_command_effects, and also add a default list of effects for the NVM command set. For other command sets, the Commands Supported and Effects log is required to be present already. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Diffstat (limited to 'include/linux/nvme.h')
0 files changed, 0 insertions, 0 deletions