Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3387581pxa; Tue, 25 Aug 2020 21:30:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7Nhm7o4KfBaC8lA24sud5KfUO+iTk239Mvq/DgeDXU2LpgHWP2Fl5pt5j8tLk1dXD6XCS X-Received: by 2002:a17:906:1c59:: with SMTP id l25mr14400551ejg.182.1598416247119; Tue, 25 Aug 2020 21:30:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598416247; cv=none; d=google.com; s=arc-20160816; b=dP6RTYS3kXIbFr349gmRRApDF+W64E+KHIZLE2azHQvULKXIcOrKkqkB1yfLLGgffa FjsPcSyvQAo3Oc5KC1cwSa0F37t9dtFzF1FEVHj7V8MTX6vqEdQwYsf1Z5UiPW93wWL9 /2zQtLDXUdrUFprrP896dtYbMToP8Pu7lMOkXfvQ15ZbiVbE3ilPKq6bG0XzMrZTB6a8 F8cYiDq5Vy3XkNgKB2++/Hq7YrpVQpPY+/UqkQCLqyWQ47SvGjrn/bauJXkJqh018oA6 B946yBsGJFCHO+FzB2dzMdFxHHNJaTWzScE735zxcxL4s8knDUQF2uvcl9AaSd2Ug0ZY WpYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=25qYfOACsmbAvoaQnmoTDd/ocsmeL+RtLd1N/yOMT6o=; b=JCtldCFb5tdUpEtv8LubBEG4w0t5KsUlZuFCwBYPiTgYw5nHZfRGRWza57lmR9Jyf5 7B6s56C95+ApEeKDf/V4DQolr0ELJTT9Hmoy6Bo+/ZMSI/r/nkBbGVkWT4TXniaIgiUr mkAfSLvnq/A+RkNC7hqMerXVfcWl9ZJFhxgQZcKmtavHsVrjlo+S2PeCVyRfiAE9rMqn De+tcqjGXbqbztnsURyMoK1uSIx2dd8sz1KJ9T8SgNX8wCHyJVXdLCmXzHkzNOYovlu1 LRG485DRBKUtcYUIRYVFQ94Hj6GwS73lCUlaRy+XXz4l349dJNQxvUeSU6iGXL9CVsmW sjYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MGOHcxtM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l23si809881ejb.496.2020.08.25.21.30.24; Tue, 25 Aug 2020 21:30:47 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MGOHcxtM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726700AbgHZE3d (ORCPT + 99 others); Wed, 26 Aug 2020 00:29:33 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:25688 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725267AbgHZE3c (ORCPT ); Wed, 26 Aug 2020 00:29:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1598416171; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=25qYfOACsmbAvoaQnmoTDd/ocsmeL+RtLd1N/yOMT6o=; b=MGOHcxtMZBQZlyxdfMtKkqVwOW8ZjmYGUdmgkhIc92gu60jHnnvgO3vRByN+eMvsPtw3rq Ul9aKXBufSa9pK4dt9OsY2636b80NANzMcpHtZl2GcaSdextTSoXeodXbzr9kzet1fxYv0 Jb63aKGCAYFWNaDXHvIBCvDbB+A6iVU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-11-azbTPEEWOT-tRC0vhUVV4w-1; Wed, 26 Aug 2020 00:29:29 -0400 X-MC-Unique: azbTPEEWOT-tRC0vhUVV4w-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8DE058030CB; Wed, 26 Aug 2020 04:29:28 +0000 (UTC) Received: from T590 (ovpn-13-178.pek2.redhat.com [10.72.13.178]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0BC7A7C5F6; Wed, 26 Aug 2020 04:29:22 +0000 (UTC) Date: Wed, 26 Aug 2020 12:29:18 +0800 From: Ming Lei To: Xianting Tian Cc: axboe@kernel.dk, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [v2] blk-mq: use BLK_MQ_NO_TAG for no tag Message-ID: <20200826042918.GA116347@T590> References: <20200826020651.9856-1-tian.xianting@h3c.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200826020651.9856-1-tian.xianting@h3c.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 26, 2020 at 10:06:51AM +0800, Xianting Tian wrote: > Replace various magic -1 constants for tags with BLK_MQ_NO_TAG. > And move the definition of BLK_MQ_NO_TAG from 'block/blk-mq-tag.h' > to 'include/linux/blk-mq.h' All three symbols are supposed for block core internal code only, so looks you shouldn't move them to public header. Thanks, Ming