Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1333711img; Fri, 22 Mar 2019 23:36:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqz27RXqia4/fFYPmPV/UkpKzKEHp1/jjnh15yDgqIqX+wLIr0PdjqgfEDKcRgouchousPBr X-Received: by 2002:a17:902:a7:: with SMTP id a36mr13712743pla.267.1553322967209; Fri, 22 Mar 2019 23:36:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553322967; cv=none; d=google.com; s=arc-20160816; b=Ap5cYUYG63WnOk4onbIn+m5Yk32mWYwScXfXOSmJ9HIijWy4E1JoI9fzdawpvRAZgI MvFBGLoFg4lK8dHKmcmf3B/WCAK2hHolyjvvdpyy/FbTVRONn62Xs/QyKbRq/O23WU+5 8cR75Ba5QypHBcs5icHP6LyMge4R4wiPeOZ2JKWE++r6ivsLDKXcoCbLzOL2zKMEmrd7 KMspjPsTq0Y3x2SH7SJ+brqWMsvFkD3g+YCpPqkChyp2irzLOXG3ApJBeYIRVkM78IhB +h4fSux4n1lzrx4Peab5IFhaAGzP0GZ4UfIM8L+59NGbtIWGzM/V1d0+wIUKLaao8/Kc ZCdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:mime-version :content-transfer-encoding:references:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=ndANxISV7baKLjxqXfyv04D8Ikzpu50eb0i/aIoMOTc=; b=J6lEg1uQS3N4G1NsDDEjwyZi4EU/Pb68cvmPhRNZdrSQ3Jw3aEBF48q2qvKEsDXp6V 662VxLbFRCscFhssFCfNRT0yA4xy82CLw/pywC1VN6wFnKRZ96kueCeqhZe1yuc7dMHd 097mt0vGw91mExsKKgBMbt1BtWEigO95uLr0e/pDb/ScKqpKWnkticXK8GV62p+XaI3+ MvemMSvTpJdncgbIvfp8x8tPM5U1NRveaT1bFJp8g1SaanIjQgBXy40AOgcnl+KaVBpt Rl2RwKE8QNodPTuX00rforYBBaKk6IFeAtXzK0No14dUlB4FhPUjaCPGtDuiw1LwqCPC rwKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@163.com header.s=s110527 header.b=EpghnCiP; 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=163.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cc18si1294832plb.363.2019.03.22.23.35.52; Fri, 22 Mar 2019 23:36:07 -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=neutral (body hash did not verify) header.i=@163.com header.s=s110527 header.b=EpghnCiP; 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=163.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726801AbfCWGe6 (ORCPT + 99 others); Sat, 23 Mar 2019 02:34:58 -0400 Received: from m13-37.163.com ([220.181.13.37]:46963 "EHLO m13-37.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726211AbfCWGe6 (ORCPT ); Sat, 23 Mar 2019 02:34:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:MIME-Version:Message-ID; bh=miYSJ G8KpKAlih9b8ElAxT99SSIoN+EhSb1raJGbYO0=; b=EpghnCiPA+qFR//hrLywX GhhDOrUk5H6Niqu6hhGH7AjPHkZGr+g1lQoQq7RzvXjoD04CGL8zRHr9EhdLgKEl KH4pjDvEciwhu7hPra+I20eKBoXUkElp3nEKE62y0gBsu7efwiEOArR0zIMUozsX XnE0eXX/xlkf4hLGF5jM2s= Received: from luferry$163.com ( [47.251.3.230, 54.215.2.217] ) by ajax-webmail-wmsvr37 (Coremail) ; Sat, 23 Mar 2019 14:34:25 +0800 (CST) X-Originating-IP: [47.251.3.230, 54.215.2.217] Date: Sat, 23 Mar 2019 14:34:25 +0800 (CST) From: luferry To: "Dongli Zhang" Cc: "Jens Axboe" , "Ming Lei" , "Christoph Hellwig" , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re:Re: [PATCH] block/mq: blk map queues by core id X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20180927(cd7136b6) Copyright (c) 2002-2019 www.mailtech.cn 163com In-Reply-To: <9fa3eda2-536c-86a1-a7a3-c157fd0cdfdc@oracle.com> References: <20190322100949.5555-1-luferry@163.com> <9fa3eda2-536c-86a1-a7a3-c157fd0cdfdc@oracle.com> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=GBK MIME-Version: 1.0 Message-ID: <4cddfb88.8534.169a941f24a.Coremail.luferry@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: JcGowABHZgRx05VcfTcaAA--.55002W X-CM-SenderInfo: poxiv2lu16il2tof0z/xtbBax6AWletueSFXAACsT X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CkkganVzdCBib3VnaHQgb25lIHZtICwgc28gaSBjYW5ub3QgYWNjZXNzIHRvIGh5cGVydmlzb3Iu IEkgd2lsbCB0cnkgdG8gYnVpbGQgdGhlIGVudmlyb25tZW50IG9uIG15IGRlc2t0b3AuCkknbSBz dXJlIGFib3V0IHNvbWV0aGluZy4KVGhlIGh5cGVydmlzb3IgaXMgS1ZNIGFuZCBkaXNrIGRyaXZl ciBpcyB2aXJ0aW8tYmxrLgpbcm9vdEBibGstb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