Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp941182pxk; Thu, 10 Sep 2020 02:46:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy38A7/AVYuVxJ1AsFPmSYKrqt7ybDbkUEs2Y0rpnG1esCgHV97y5F8uufeqYgiyQKZQxgg X-Received: by 2002:a17:906:1dd0:: with SMTP id v16mr7754673ejh.309.1599731201248; Thu, 10 Sep 2020 02:46:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599731201; cv=none; d=google.com; s=arc-20160816; b=SW2K8qrUPQuEhZmEw/fchGAbqAChGb/5psBfscH/J7nfU/7Tuh1b4G2RtbEaFFQ1U/ 9yRieczTF94xwA0ZOd/xwXAkn3Stp5cJd6HBl9+uDMnASIxF6NEVaIccqKvASd4PSQoS HTd2iHL6X9G/Dhv5lfdw+1vAoPulvDp7KWhJRmuGNvAhs5fMEpSRAmxDbRmunFXoIV45 eM/y1kFnFXOLPuLJpSjiL65GHtkrniVwkJ4c/DjCW01FNWanquIdl1uJsETU/I7XmDCD 2HYKIvc8t0IzZQghgJexG8tP+I75QtJGJ6BwvgGUB0nk4T20q6Xq0oFUbeUqBkejSaZk K1gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=rNk38S5k98e3uyrJZxoG2D7H+uxkEvvjcshXhNrdm48=; b=GWB1S1Za+J+/2DrsQWSz0Vrhsq73yX91jr1583MnXyEWMYUXxMtImyHecN4TLoxm95 5NGrCnRl13Sq/pb4dP/62H41/p4+6ITmC7xaHZ1OXgTS/1oWZpTi9CzpcsBazD7nCNn1 Y1NFX06aRMx5cyVDHoBACj7Qzmu+UIow0idft0XNj6tO5BAiDD5RY/9k0mANcflI7lqO ZJLOwDTHSVC3KUEPkEKFTMNs76t98dDeKGq1hixXt1Llrycop733neMwbR0olx+buXdC 8BhDzssjLsgiHkV+VeQAQlB1sSx17sVKIJguU6yA9Kpm262XvKgDSG/Kq6YIhgRgGv1+ dpmw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bg14si3137167ejb.368.2020.09.10.02.46.18; Thu, 10 Sep 2020 02:46:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730312AbgIJJpo (ORCPT + 99 others); Thu, 10 Sep 2020 05:45:44 -0400 Received: from smtp.h3c.com ([60.191.123.56]:46165 "EHLO h3cspam01-ex.h3c.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728443AbgIJJpm (ORCPT ); Thu, 10 Sep 2020 05:45:42 -0400 Received: from DAG2EX08-IDC.srv.huawei-3com.com ([10.8.0.71]) by h3cspam01-ex.h3c.com with ESMTPS id 08A9irMK054157 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 10 Sep 2020 17:44:53 +0800 (GMT-8) (envelope-from tian.xianting@h3c.com) Received: from DAG2EX03-BASE.srv.huawei-3com.com (10.8.0.66) by DAG2EX08-IDC.srv.huawei-3com.com (10.8.0.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 10 Sep 2020 17:44:56 +0800 Received: from DAG2EX03-BASE.srv.huawei-3com.com ([fe80::5d18:e01c:bbbd:c074]) by DAG2EX03-BASE.srv.huawei-3com.com ([fe80::5d18:e01c:bbbd:c074%7]) with mapi id 15.01.1713.004; Thu, 10 Sep 2020 17:44:56 +0800 From: Tianxianting To: Jens Axboe , "ast@kernel.org" , "daniel@iogearbox.net" , "kafai@fb.com" , "songliubraving@fb.com" , "yhs@fb.com" , "andriin@fb.com" , "john.fastabend@gmail.com" , "kpsingh@chromium.org" CC: "linux-block@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , "bpf@vger.kernel.org" Subject: RE: [PATCH] block: remove redundant empty check of mq_list Thread-Topic: [PATCH] block: remove redundant empty check of mq_list Thread-Index: AQHWhnZLNDw9Ap0NoUKJovJuaKCnsqlf1fuAgAHGWJA= Date: Thu, 10 Sep 2020 09:44:56 +0000 Message-ID: References: <20200909064814.5704-1-tian.xianting@h3c.com> <466b8c40-9d53-8a40-6c5b-f76db2974c04@kernel.dk> In-Reply-To: <466b8c40-9d53-8a40-6c5b-f76db2974c04@kernel.dk> Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.99.141.128] x-sender-location: DAG2 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-DNSRBL: X-MAIL: h3cspam01-ex.h3c.com 08A9irMK054157 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgSmVucywNClRoYW5rcyBmb3IgeW91ciBmZWVkYmFjaywNClllcywgYmxrX2ZsdXNoX3BsdWdf bGlzdCgpIGlzIG9ubHkgY2FsbGVyIG9mIGJsa19tcV9mbHVzaF9wbHVnX2xpc3QoKS4NClNvIEkg Y2hlY2tlZCB0aGUgY2FsbGVycyBvZiBibGtfZmx1c2hfcGx1Z19saXN0KCksIGZvdW5kIGJlbG93 IGNvZGUgcGF0aCB3aWxsIGNhbGwgYmxrX2ZsdXNoX3BsdWdfbGlzdCgpOg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