Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1235611

Re: [PATCH 0/3] blk-mq & nvme: introduce .map_changed

From Keith Busch <keith.busch@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 0/3] blk-mq & nvme: introduce .map_changed
Date 2015-09-30 00:50 +0200
Message-ID <qebSG-3fs-11@gated-at.bofh.it> (permalink)
References <qdTM6-2Kw-3@gated-at.bofh.it> <qe44O-D4-9@gated-at.bofh.it> <qe4oa-ZN-21@gated-at.bofh.it> <qebpE-2HP-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 29 Sep 2015, Ming Lei wrote:
> Yes, I thought of that before, but it has the following cons:
>
> - some drivers/devices may need different IRQ affinity policy, such as virtio
> devices which has its own set affinity handler(see virtqueue_set_affinity()),

That's not a very good example to support your cause; virtio_scsi's use
is a perfect example for one that would benefit from letting blk-mq
handle affinity. virtio_scsi sets affinity only when there is a 1:1
mapping of cpu's to queue's, but this driver doesn't know the mapping
that blk-mq used, creating a potentially less than optimal mapping.

> - block core has to get the irq vector information which has to be
> setup/finalized
> before blk-mq uses that for setting irq affinity, for example, in case
> NVMe's admin
> queue, its vector can be changed after admin queue's initialization.

Why do you want to put a hint on the admin queue's irq?
--
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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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