aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-05-13 19:00:13 +0200
committerChristoph Hellwig <hch@lst.de>2018-07-27 19:13:01 +0200
commit793c7cfce02ce88b7bd67d43834c052d16c096e3 (patch)
treebc15ed260d3d74b37c81dff0a78ed417fffda1be /init
parentnvmet: keep a port pointer in nvmet_ctrl (diff)
downloadlinux-dev-793c7cfce02ce88b7bd67d43834c052d16c096e3.tar.xz
linux-dev-793c7cfce02ce88b7bd67d43834c052d16c096e3.zip
nvmet: track and limit the number of namespaces per subsystem
TP 4004 introduces a new 'Maximum Number of Allocated Namespaces' field in the Identify controller data to help the host size resources. Put an upper limit on the supported namespaces to be able to support this value as supporting 32-bits worth of namespaces would lead to very large buffers. The limit is completely arbitrary at this point. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <keith.busch@intel.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions