From patchwork Mon Jan 18 11:34:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 365522 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp2215993jap; Mon, 18 Jan 2021 04:27:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJzagIXymzl0hrksheE9hWt8mQKp5M6wV/8/V/HqF7lUU8ULDuNkn+sT8xf91B0YMb34R1U8 X-Received: by 2002:a05:6402:2c4:: with SMTP id b4mr12364603edx.49.1610972832424; Mon, 18 Jan 2021 04:27:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610972832; cv=none; d=google.com; s=arc-20160816; b=YOpwB00NOMOv1yOFuECnQmaFyV/r3DKWkQFSSYij7c1i4u8mesd1kEHmiBvpEWaafk MDKKhwUvGTARX6lvGPsRm3PswnO5tbbRtOVxPd7ca82U5VOtqOuaY7V/br5YKim6uQdm a2ZIFQrtcfnfKy7lBrFthdcmZtVl1EUkzupsgaL6npXWcq58bhulRcGqLbLqWISb//77 X9GpprM1hOgrpBADec998quBQ5vsiaTESrcmlKNDisAcM6ORjWprK1qbcFbV+aW2qMiZ eahZR4UcPEnmsm7LQqln+hvWnWrTt2AFs2AcOWAq/y0/W3X4z8k28KpYloRnLRRsMRgQ TDNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=SR5+Dgfy/qKKN7nwzToCCNDdi7dwzSFS/cfnFfK4Bsc=; b=COVFEFGPEenlmraEH75Vlqwmqav2WGWp0Q+rPuQgMylzhKVoQHZ9sLOpPwsRFHwQYx wA7r3LXtc1eL8bSHqO0Zxqm/vNf8HJVA/DKrxdaIYg1Et2VjzmCsyGB6F3At5xqXNq/H Rq64qHtu1lxD0qxTJTQa+nGU58cRNh/28dECTt1TGTWQcyye4kM0U0VVP7G3Xqqqs+OA 4f6/AwroC4wQe380emSfjHWagEc/8RMLWKxNqaxc1iNCnqALyg3oH7sv0aKSFhWXUPFD TA3RkGr0hKf/bAxPe5fFWaahxFtptd5DkztVsefNts9D25CbXK1UR85VyUPjh7RO7RQL 5I5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=R5ce1Moc; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hp13si2462522ejc.593.2021.01.18.04.27.12; Mon, 18 Jan 2021 04:27:12 -0800 (PST) Received-SPF: pass (google.com: domain of stable-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=@linuxfoundation.org header.s=korg header.b=R5ce1Moc; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391520AbhARM1K (ORCPT + 13 others); Mon, 18 Jan 2021 07:27:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:39118 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390879AbhARLqP (ORCPT ); Mon, 18 Jan 2021 06:46:15 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id E3BB9222B3; Mon, 18 Jan 2021 11:45:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610970340; bh=0G3mvyihlNYVY0qink1d/lmxEzbO5HZb4AV5AQgkc/k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R5ce1MocAt+mJmMzzOMsdtFofEI0aN5ekYkcUzsWQ16hS1DxGLniL3/3rAAK0QTL5 cd7A64oypjFZ/EelNsgguyFFfKPLEfdqzooQ3eQGZ5jeBall0fq9EaYdNmhi9CKK8M 8lrl1D7qpEzbYy9xAS18acm1+PSijHw8wec+85pE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, John Garry , Jens Axboe , Sasha Levin Subject: [PATCH 5.10 108/152] blk-mq-debugfs: Add decode for BLK_MQ_F_TAG_HCTX_SHARED Date: Mon, 18 Jan 2021 12:34:43 +0100 Message-Id: <20210118113357.907022810@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210118113352.764293297@linuxfoundation.org> References: <20210118113352.764293297@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: John Garry [ Upstream commit 02f938e9fed1681791605ca8b96c2d9da9355f6a ] Showing the hctx flags for when BLK_MQ_F_TAG_HCTX_SHARED is set gives something like: root@debian:/home/john# more /sys/kernel/debug/block/sda/hctx0/flags alloc_policy=FIFO SHOULD_MERGE|TAG_QUEUE_SHARED|3 Add the decoding for that flag. Fixes: 32bc15afed04b ("blk-mq: Facilitate a shared sbitmap per tagset") Signed-off-by: John Garry Signed-off-by: Jens Axboe Signed-off-by: Sasha Levin --- block/blk-mq-debugfs.c | 1 + 1 file changed, 1 insertion(+) -- 2.27.0 diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c index 4d6e83e5b4429..4de03da9a624b 100644 --- a/block/blk-mq-debugfs.c +++ b/block/blk-mq-debugfs.c @@ -246,6 +246,7 @@ static const char *const hctx_flag_name[] = { HCTX_FLAG_NAME(BLOCKING), HCTX_FLAG_NAME(NO_SCHED), HCTX_FLAG_NAME(STACKING), + HCTX_FLAG_NAME(TAG_HCTX_SHARED), }; #undef HCTX_FLAG_NAME