summaryrefslogtreecommitdiff
path: root/drivers/block/null_blk.c
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2015-06-01 09:29:54 -0600
committerJens Axboe <axboe@fb.com>2015-06-01 14:36:06 -0600
commit42483228d4c019ffc86b8dbea7dfbc3f9566fe7e (patch)
tree392fdf30b3cd4b7e654e705f4976b7fdcf1d99ab /drivers/block/null_blk.c
parent843e8ddb250b5e8ff157b4096277c0c54102905c (diff)
downloadlinux-42483228d4c019ffc86b8dbea7dfbc3f9566fe7e.tar.gz
linux-42483228d4c019ffc86b8dbea7dfbc3f9566fe7e.tar.xz
NVMe: Remove hctx reliance for multi-namespace
The driver needs to track shared tags to support multiple namespaces that may be dynamically allocated or deleted. Relying on the first request_queue's hctx's is not appropriate as we cannot clear outstanding tags for all namespaces using this handle, nor can the driver easily track all request_queue's hctx as namespaces are attached/detached. Instead, this patch uses the nvme_dev's tagset to get the shared tag resources instead of through a request_queue hctx. Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/null_blk.c')
0 files changed, 0 insertions, 0 deletions