Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1235154
| From | Keith Busch <keith.busch@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/3] blk-mq & nvme: introduce .map_changed |
| Date | 2015-09-29 16:30 +0200 |
| Message-ID | <qe44O-D4-9@gated-at.bofh.it> (permalink) |
| References | <qdTM6-2Kw-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, 28 Sep 2015, Ming Lei wrote: > This patchset introduces .map_changed callback into 'struct blk_mq_ops', > and use this callback to get NVMe notified about the mapping changed event, > then NVMe can update the irq affinity hint for its queues. I think this is going the wrong direction. Shouldn't we provide blk-mq the vectors in the tag set so that layer can manage the irq hints? This could lead to more cpu-queue assignment optimizations from using that information. For example, two h/w contexts sharing the same vector shouldn't be assigned to cpus on different NUMA nodes. > Also the 'cpumask' in 'struct blk_mq_tags' isn't needed any more, so remove > that and related kernel interface. It was added to the tags because the cpu mask is an artifact of the tags rather that duplicating it across all the h/w contexts sharing the same set. It also doesn't let a h/w context from one namespace overwrite another's cpu affinity mask when they share the same vector. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/3] blk-mq & nvme: introduce .map_changed Ming Lei <tom.leiming@gmail.com> - 2015-09-29 05:30 +0200
[PATCH 2/3] block: nvme: use map_changed to set irq affinity hint Ming Lei <tom.leiming@gmail.com> - 2015-09-29 05:30 +0200
Re: [PATCH 0/3] blk-mq & nvme: introduce .map_changed Christoph Hellwig <hch@lst.de> - 2015-09-29 09:10 +0200
Re: [PATCH 0/3] blk-mq & nvme: introduce .map_changed Ming Lei <tom.leiming@gmail.com> - 2015-09-30 00:00 +0200
Re: [PATCH 0/3] blk-mq & nvme: introduce .map_changed Keith Busch <keith.busch@intel.com> - 2015-09-29 16:30 +0200
Re: [PATCH 0/3] blk-mq & nvme: introduce .map_changed Jens Axboe <axboe@kernel.dk> - 2015-09-29 16:50 +0200
Re: [PATCH 0/3] blk-mq & nvme: introduce .map_changed Ming Lei <tom.leiming@gmail.com> - 2015-09-30 00:20 +0200
Re: [PATCH 0/3] blk-mq & nvme: introduce .map_changed Keith Busch <keith.busch@intel.com> - 2015-09-30 00:50 +0200
Re: [PATCH 0/3] blk-mq & nvme: introduce .map_changed Ming Lei <tom.leiming@gmail.com> - 2015-09-30 02:10 +0200
csiph-web