Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp5080319imd; Tue, 30 Oct 2018 11:38:42 -0700 (PDT) X-Google-Smtp-Source: AJdET5e0uNZARZEBsCK37t8nt4vv55il2uFFHOKCv1gFjF3o/S+Qmyn+v29EHccdqFt//pqIXHFR X-Received: by 2002:a17:902:4165:: with SMTP id e92-v6mr3165pld.209.1540924722754; Tue, 30 Oct 2018 11:38:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540924722; cv=none; d=google.com; s=arc-20160816; b=hjKoZCxK/Ug5a1+8eHeIokvCQ82DSCuRGP8lb3+M2/XDRt1awLsJb8It+UEPeq+KLx yA1+iL7uViiZZxK5wCk7ijd2yyK4DKJ+Jiuxdo/RcLdStz5RCO4qLjTGEvEKMWT1j/f6 5SQutQ/74ppP9eE/WeGRdg0Gia0u2PIJ0F2juXG0U8XVidQaYKJ2wo/RrAhvnsjCVCN5 TulIh8aH798V2tKT6pE4X/sa8GzPuK02K+ioH7ChTGg9e6m4XQDE1oRrOOQdIAfUKDvQ kRySDM5lUOPEzvFICAiygK0s14zZi+XW5IMJHtjosePjSDx2jKCgpXeWxMLqVmPkYaSH +Lxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ZW+j8m4SOjhr+SZdOsZWLittultU/BsDHgM9xsUSi3s=; b=zJ1FhD6jOeuhGWvMXYVTbyQpJI78SyBceUVtruWdmc1W6F+fQl6BFOj0kBYWFeRr1J qIGP8HSu1SV2oo4Lt39BjUDDobdA6FNp09Ocd3HpYcsTotpr6ysowE3Zjf+D/tHmG0KS 1oENbdc4Rx/hcRkO7nFLhqqPtbihpjmAdZTuc4htd6e1D5uR6y6IFH5GQPV+7aXeDq2e HyxlkqZvHQx71Q/g9LFuJ7XwYADJIyWFyYjUCkuusU5IA6CnAP/Mb1IK8wGuLtwLoHTZ 3oyhioBd9jT++Q6T/LTXlVTClZ3W6T5BNMu6vvDlJoPE2lQG13F2QYuos3FfLpjswxI9 MMug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z1-v6si23339504plo.59.2018.10.30.11.38.23; Tue, 30 Oct 2018 11:38:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727521AbeJaDci (ORCPT + 99 others); Tue, 30 Oct 2018 23:32:38 -0400 Received: from mga17.intel.com ([192.55.52.151]:27995 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726219AbeJaDch (ORCPT ); Tue, 30 Oct 2018 23:32:37 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Oct 2018 11:38:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,445,1534834800"; d="scan'208";a="275762646" Received: from unknown (HELO localhost.localdomain) ([10.232.112.69]) by fmsmga005.fm.intel.com with ESMTP; 30 Oct 2018 11:38:00 -0700 Date: Tue, 30 Oct 2018 12:35:39 -0600 From: Keith Busch To: Jens Axboe Cc: linux-block@vger.kernel.org, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHSET v3 0/16] blk-mq: Add support for multiple queue maps Message-ID: <20181030183538.GB19483@localhost.localdomain> References: <20181030183252.17857-1-axboe@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181030183252.17857-1-axboe@kernel.dk> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 30, 2018 at 12:32:36PM -0600, Jens Axboe wrote: > This series adds support for multiple queue maps for blk-mq. > Since blk-mq was introduced, it's only support a single queue > map. This means you can have 1 set of queues, and the mapping > purely depends on what CPU an IO originated from. With this > patch set, drivers can implement mappings that depend on both > CPU and request type - and they can have multiple sets of mappings. > > NVMe is used as a proof of concept. It adds support for a separate > write queue set. One way to use this would be to limit the number > of write queues to favor reads, since NVMe does round-robin service > of queues. An easy extension of this would be to add multiple > sets of queues, for prioritized IO. > > NVMe also uses this feature to finally make the polling work > efficiently, without triggering interrupts. This both increases > performance (and decreases latency), at a lower system load. At > the same time it's more flexible, as you don't have to worry about > IRQ coalescing and redirection to avoid interrupts disturbing the > workload. This is how polling should have worked from day 1. > > This is on top of my mq-conversions branch. It can also be bound > in my mq-maps branch. Looks good to me. For the series: Reviewed-by: Keith Busch