android_kernel_motorola_sm6375/drivers/nvme
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Keith Busch 6eb9759328 nvme: introduce helper function to get ctrl state
[ Upstream commit 5c687c287c46fadb14644091823298875a5216aa ]

The controller state is typically written by another CPU, so reading it
should ensure no optimizations are taken. This is a repeated pattern in
the driver, so start with adding a convenience function that returns the
controller state with READ_ONCE().

Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2024-01-25 14:34:19 -08:00
..
host nvme: introduce helper function to get ctrl state 2024-01-25 14:34:19 -08:00
target nvmet: nul-terminate the NQNs passed in the connect command 2023-12-08 08:44:24 +01:00
Kconfig
Makefile