summaryrefslogtreecommitdiff
path: root/kernel/debug/debug_core.h
diff options
context:
space:
mode:
authorSagi Grimberg <sagi@grimberg.me>2019-03-11 15:02:25 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-31 06:46:15 -0700
commitc24860f40b664b1a8228ce5a33aef1e0d53fb70f (patch)
tree9183cc863a49b922317e9c4d48f1388c7a2f6e73 /kernel/debug/debug_core.h
parent31de7f1d07b5b241187d49cedb6284e4d70b4466 (diff)
nvme: set 0 capacity if namespace block size exceeds PAGE_SIZE
[ Upstream commit 01fa017484ad98fccdeaab32db0077c574b6bd6f ] If our target exposed a namespace with a block size that is greater than PAGE_SIZE, set 0 capacity on the namespace as we do not support it. This issue encountered when the nvmet namespace was backed by a tempfile. Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/debug/debug_core.h')
0 files changed, 0 insertions, 0 deletions