[PATCH v7 08/10] blk-mq: use hk cpus only when isolcpus=io_queue is enabled
Christoph Hellwig
hch at lst.de
Thu Jul 3 02:01:58 PDT 2025
On Wed, Jul 02, 2025 at 06:33:58PM +0200, Daniel Wagner wrote:
> const struct cpumask *blk_mq_possible_queue_affinity(void)
> {
> + if (housekeeping_enabled(HK_TYPE_IO_QUEUE))
> + return housekeeping_cpumask(HK_TYPE_IO_QUEUE);
> +
> return cpu_possible_mask;
> }
I'm no expert on the housekeeping stuff, but why isn't the
housekeeping_enabled check done in housekeeping_cpumask directly so
that the drivers could use housekeeping_cpumask without a blk-mq
wrapper?
More information about the Linux-nvme
mailing list