Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2095650imu; Thu, 24 Jan 2019 07:09:54 -0800 (PST) X-Google-Smtp-Source: ALg8bN5zhOh5wIhTp3j0sd22BrQYaRBa8XUJfSbRihM3JZYcInCZ300fHb9r4SchUnr54COPxzIE X-Received: by 2002:aa7:85d7:: with SMTP id z23mr7043164pfn.205.1548342594365; Thu, 24 Jan 2019 07:09:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548342594; cv=none; d=google.com; s=arc-20160816; b=es0/ZXpvD+L7DIAdLWkhxe12rAFPf0ThrSmMM3sBoFyh1BsdhportXFch50WdpqIHd wx+CqAtYC30D5sc2xmyXRzf42cBhHn7UbR4XHjAUz6yy2wb0zFuEOGWRY2DeRXdAO+M3 wWdOsYUB7eH/AxwqvwQsmNMUAQPjpg1CLXwzQmOCzdDyYQaP9bLuCHq7RMmbUQsRhM9N fXqn98YCgm2qJqUmLsLLv1Vha976qb05gAhjnqxeStz0I6YDmm4+YrCAkHHThXZ4ch9A g2BG4jhYQplwVMFYs8wTBKe49wBpjS68se9YMiKQhnc919WV6g0z/tubQaRDrRCYyrT1 brDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=30HHT/It0DAnD9kb8DQx5LVwjNAaIVCFYItZWzTlw24=; b=LtPTPsIt+kcHJxcsq81knWlRYGe9fjKz9A/k2WWnPI0leY8mkDzI7561g0ni2yQvO0 71eL3pxdZ1/GujuzCa3LuofO2E+GdSqiN79JnVolgo0QXCF1NthHhlyzg2dr8uGEl0OO J+gIw+i+QlYN0IWe1A8GMfbq2D40MTOJAIxx+q0mpWo19jjnIS1i5kiqJetSUUvwqnCP qwpUrLvb5m98x3k0+QbSAIt6j8mLZsHpuT4c43IKxYvysBs0lU2X+zmv0tmvdFxA2Heq 3uM4k1rfe/ANArxOri7v1EuZc4hcS2pEjvjHO10qgMuGyt2YIHWAa3+rDwHlVQ9l6/UU wIJw== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t12si21964371plr.311.2019.01.24.07.09.37; Thu, 24 Jan 2019 07:09:54 -0800 (PST) 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728571AbfAXPJ2 (ORCPT + 99 others); Thu, 24 Jan 2019 10:09:28 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48604 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728010AbfAXPJ2 (ORCPT ); Thu, 24 Jan 2019 10:09:28 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1C28AC0495AE; Thu, 24 Jan 2019 15:09:28 +0000 (UTC) Received: from segfault.boston.devel.redhat.com (segfault.boston.devel.redhat.com [10.19.60.26]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 849B568D48; Thu, 24 Jan 2019 15:09:27 +0000 (UTC) From: Jeff Moyer To: Jianchao Wang Cc: axboe@kernel.dk, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] blk-mq: fix the cmd_flag_name array References: <1548325735-1760-1-git-send-email-jianchao.w.wang@oracle.com> X-PGP-KeyID: 1F78E1B4 X-PGP-CertKey: F6FE 280D 8293 F72C 65FD 5A58 1FF8 A7CA 1F78 E1B4 Date: Thu, 24 Jan 2019 10:09:26 -0500 In-Reply-To: <1548325735-1760-1-git-send-email-jianchao.w.wang@oracle.com> (Jianchao Wang's message of "Thu, 24 Jan 2019 18:28:55 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Thu, 24 Jan 2019 15:09:28 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jianchao Wang writes: > Swap REQ_NOWAIT and REQ_NOUNMAP and add REQ_HIPRI. > > Signed-off-by: Jianchao Wang > --- > block/blk-mq-debugfs.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c > index 90d6876..f812083 100644 > --- a/block/blk-mq-debugfs.c > +++ b/block/blk-mq-debugfs.c > @@ -308,8 +308,9 @@ static const char *const cmd_flag_name[] = { > CMD_FLAG_NAME(PREFLUSH), > CMD_FLAG_NAME(RAHEAD), > CMD_FLAG_NAME(BACKGROUND), > - CMD_FLAG_NAME(NOUNMAP), > CMD_FLAG_NAME(NOWAIT), > + CMD_FLAG_NAME(NOUNMAP), > + CMD_FLAG_NAME(HIPRI), > }; > #undef CMD_FLAG_NAME Acked-by: Jeff Moyer You might consider also adding a comment above the req_flag_bits enum noting that modifications also need to be propagated to cmd_flag_name.