Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp621947yba; Thu, 18 Apr 2019 07:01:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqzGvoRsFonYYbOjdpwIeZQBMIWBCSXCX2KTl7Xbj8dKaHvLR8dm6J9EBPHNQjKgS1ZBckHr X-Received: by 2002:aa7:8212:: with SMTP id k18mr95425319pfi.50.1555596075650; Thu, 18 Apr 2019 07:01:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555596075; cv=none; d=google.com; s=arc-20160816; b=gJU1KbN/puzNldRND8yWZufY2N8iSCycQLZvvRqWaMusq4uHh4l2iTNdF/nCZdcvFr qtvJOYqF0PUXoe83Hxe539uYsPQGL6VLUu8P3+F1FAxCiLRc/vVQjd7V0vY1073ZFmcb td6eG6Quji6INf1/BjjG8xaC6vFrVk4cfwTcq6EcYvMrr6hU7XeOTU3dEdw6ipuO4lvA Df3KBcn0aL8xs3iSzjB/SobMwtkV2ZWWh8ZRlkbVaWxzLqC6vqzqa7hGawoyePLNRWez 0520jIfSFd3ZKmlcCQvJwu1OGPLRE13BZpEGd5G18PBMFOe0kNbxPrfccSiHaIPoYDIS mjMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=bnELcHrGjeiLVCi+rXdjq2vCxyRXpgb2ceI9sG5AGbU=; b=kaUv3r11Jr2on5nq06vYGpGaawejHKydPa2k7a5g+q91O08Bdew/JtVl1q1d+NAysn 6NZCYBDpbMnaqHcQ+T7bFkvu4YGq9R6gSxV125q8o9caaYZnZGiyCXfzcwbBNGkY7mPQ U/JO4ORytK1BWaVu2LTplLf6tI8ZqbUNkJAm4kqmiFYZbcpwvZdtET69nY/7qkyzY1Xp aud2GcRDFguVjZxAOggH8LdvGa7X/BcFmGAHE1rAle9Jw3yXwoNdrySLx7qAn3RQ1+Xq x3ZHW/HlvHCoGUw6zIm2ldcu1uxj1ps41eLyQkdZ1x/7oX2uVfrOUIb9kPhfYWmjwevD Dx6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gs28ssrp; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k12si2026472plt.28.2019.04.18.07.00.59; Thu, 18 Apr 2019 07:01:15 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gs28ssrp; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389055AbfDRN6k (ORCPT + 99 others); Thu, 18 Apr 2019 09:58:40 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:41048 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729331AbfDRN6k (ORCPT ); Thu, 18 Apr 2019 09:58:40 -0400 Received: by mail-pg1-f195.google.com with SMTP id f6so1238077pgs.8 for ; Thu, 18 Apr 2019 06:58:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=bnELcHrGjeiLVCi+rXdjq2vCxyRXpgb2ceI9sG5AGbU=; b=gs28ssrpYA+BhFTA76+l58aIAk7O1RNzI+qz+jSZgqxtQr5XQ6ARJdKMF9FOnLZSus BspvZcm/0AU2h2FK6lkkylLNTTqVvV5DOIO76sB8Ii8bRLYc/yK3zAloVA+CbYk96Vdt +9jwMrp09dXgOnIn4bH3X/wiH0dHSZIOfu+JEuikNvgcyjSkHxa/jV+yYZ4KMMIlzz0g J018PEd+W7vj1a0ydJ28FXgLK9UqGyGZ5fZ7EDpvXCnFmjdtWMSZSkZPQCyDVp/v6nCQ WyhA/qXxX88+OnMLz1BpMkA337Zdr1VuIzy5mGMtD+xwYLyhJWW3ftAefQpXl3OMkfct cQsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=bnELcHrGjeiLVCi+rXdjq2vCxyRXpgb2ceI9sG5AGbU=; b=FP+QMkj0NOXPfAA7hizaUF7qFTbq+w5w2mjKd31LXKXU/xb61IB32tgnsSSxoOO2yZ 4coBFZSNOe3FtW+SXWyryP+8esDQs4c9yfs/SH173CD0vVsyfhh2+GeMebIqx2nrQosX st3NJsc2h3+hsYkLgrdD//bu3eEvF8eb2VuqphYzJpXGQ5jdka1PkNZ50Xkq12VFk3Z9 hvlZUdHlF54MQqONqtr+OwonayG4d7ZqniDkET70Wm/+iI18Hd/UfIqgFOxdA1wC187k AMUXmjfGq881heomiPSa1t+7BsgfiDj19od0VSYLE7dHszK5uProAgiASbeY+JJhbdu0 EECw== X-Gm-Message-State: APjAAAVdqVYJEf6EPvSuCyU6NqPNhrSPbDg5Js7/tlV4OCshKxI5yAvz mZZl1d6AIF9x/84BoSwqRdw= X-Received: by 2002:a63:1702:: with SMTP id x2mr5665805pgl.448.1555595919429; Thu, 18 Apr 2019 06:58:39 -0700 (PDT) Received: from [192.168.0.6] ([123.213.206.190]) by smtp.gmail.com with ESMTPSA id p189sm6371954pfg.184.2019.04.18.06.58.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Apr 2019 06:58:38 -0700 (PDT) Subject: Re: [PATCH] nvme: determine the number of IO queues To: Aaron Ma , Maxim Levitsky , linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, keith.busch@intel.com, axboe@fb.com References: <1555510379-20199-1-git-send-email-aaron.ma@canonical.com> <096935354b16662eb481aeda1f48001ba489463c.camel@redhat.com> <99ab1942-9c38-695d-03dc-ea6eecb31217@gmail.com> <130f490e-e173-750d-994e-c00f7c0da080@canonical.com> <38bc8924-e553-70d7-c91d-b6c864379b43@canonical.com> From: Minwoo Im Message-ID: Date: Thu, 18 Apr 2019 22:58:35 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <38bc8924-e553-70d7-c91d-b6c864379b43@canonical.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/18/19 10:38 PM, Aaron Ma wrote: > > > On 4/18/19 9:33 PM, Minwoo Im wrote: >> If the controller returns error for that command, how can we assure that >> the controller would support a single I/O queue ? > > Make sense, I will keep *count = 0 in V2. IMHO, If you would like to set *count to 0, then what's gonna be V2? I guess if some device is failed, we can make it as a quirk. > > Thanks, > Aaron >