Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp1436118imd; Thu, 1 Nov 2018 15:51:22 -0700 (PDT) X-Google-Smtp-Source: AJdET5fKH1s49HBJVsPmjCNCzNrR2lYMuznj/cae07/7eraSzv8GcggjKUBX/dInFNODAyvGBT+r X-Received: by 2002:a62:ce8e:: with SMTP id y136-v6mr9567871pfg.201.1541112682565; Thu, 01 Nov 2018 15:51:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541112682; cv=none; d=google.com; s=arc-20160816; b=rSG8VX345/ALhD7unkqDblIVcJYlBrJgOwq/5DbyHLKMJuVYjnm0uKla9LuACXYxP1 bVtZB4qcqLRsjsfgqJCxdHKQwikZ/8Xyfk+50ys6ZX62MY7dVYECBIfsrah9MublvksD LcZ2rwlWiSgX2TE0iUBG0tt0MrFsa4KbwqgR/WwnqLTUq+TfCV/5qya/VMAVsc1vcjqU ezSi+bSVkOTNrc1g9b6x7OB/xKCK/+T0npqeayTZfAOWyvEvX4nx9FPht4BtfD4UfIuy AwiSAcFLj/CsaUSp04FkX8N/UODr1vpfT8xY4aU3/xCOL6SV3dUkn93CTt13l1b6ES84 rAcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=TRQhdaKLLcber9B2Js4e48V71FbQxEqTYQjA/ZyGrjI=; b=DhvDo3+sDLt99Uq8L3KNFW1YmUFrvsmpVLzHwQTMgl7C7ZkvCOwZOvJXPis0UdvTA+ zZb/JHbUZvpiHQvKyNgmZQjb8NmS0otTecuQytf1GVh4ln18tYQ2bE8enKv4WsnAcIVq 0eF2bQ7GCpOz9YJlvoPGfYKohuL9H8wJGE/NMfP3zLvjE6afGKSggr6RiJ5cc+5FdQ4p 4TdeaWTh+7OdkYbPQC4NFOUDpektu+8GjshrDlqo0uMUlw4tNby2ZSOCbhFMNo6ieeqG THj0Dwx1pzsE3Nh4ZHw+YeqnsDG3uL1CAzHPfb1FMjZh6atFtFs9PP38/hEwsdYjW5vz ayQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=PR3tO1RQ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f12-v6si30429581pgo.136.2018.11.01.15.51.07; Thu, 01 Nov 2018 15:51:22 -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=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=PR3tO1RQ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728028AbeKBHzY (ORCPT + 99 others); Fri, 2 Nov 2018 03:55:24 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:40042 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727151AbeKBHzY (ORCPT ); Fri, 2 Nov 2018 03:55:24 -0400 Received: by mail-pf1-f193.google.com with SMTP id g21-v6so46228pfi.7 for ; Thu, 01 Nov 2018 15:50:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=TRQhdaKLLcber9B2Js4e48V71FbQxEqTYQjA/ZyGrjI=; b=PR3tO1RQY31oyIP2TtU/zhQMtrB0IWaWV/U+mKXJFRagMHrusZlTN7AtyLeB0vH2OB PKIazSSD/bbXLIkR0aBtGs1SRe/oXkwNRZiLLHlR2NE36uM4e7Ljz9anQHg5iimuol3L wI0wFyrZ6VK+kgcqR/nGo+DhvDeqgYJFvHuK/NJcdKZHk92jsOrj83w90CigJeHEhowa UVTBEU94XrWSU/miOz79t2Bjnzkk4PCTaukl8nAXZqTmQSVYSl+/7m/vw8NeGggNGLFH uuo7WiDSxmr8Vtgk9FzMuLXL/xpf5YURRQm7n+uEzF3HbvvJ0NwLmzYSsxevESqkv9p9 bvJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=TRQhdaKLLcber9B2Js4e48V71FbQxEqTYQjA/ZyGrjI=; b=Lvsfd5gwpiJwY41m4Bw84wsyIh753IhC8gi9S7fmU/xwmsZapdDVxc+ZFp+uQaftW+ Iay1UZIhwxKXd2GDry/KMGcW8eFB1lS9s0fPkyZPkhEn0fOZogTBMzqRPeLbfGmJ3TdI T53RHGTd6n11nmg+Jx4MmZvCdIt1jP9a/7ZRbtt9JrMbRlHcx7ZK1TgemkpN61VXjTjX 4V+fLW/UrzcUew0TVvjZiE/rDpzvZzsRS6R5GcR2/C/sS5EQxHmKikiqpCOTH5M29jJg vNzXJrf+99jKHL3bJKeiEb+NIOjrtyRlrheYx1ycLfoXdkDO/qqdgc+0r8wfhVJOqGQh gZLA== X-Gm-Message-State: AGRZ1gKoibzdNsLy3m3f7M4QXuJhAEwOh74GkcPgBQ7KrlnLctiRld2l b2UkvltXZY8AFFB6hSSR1ic8pKWi2ns= X-Received: by 2002:a62:7e93:: with SMTP id z141-v6mr9738359pfc.241.1541112625287; Thu, 01 Nov 2018 15:50:25 -0700 (PDT) Received: from [192.168.1.121] (66.29.188.166.static.utbb.net. [66.29.188.166]) by smtp.gmail.com with ESMTPSA id 11-v6sm57210564pfs.108.2018.11.01.15.50.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 15:50:24 -0700 (PDT) Subject: Re: [PATCH 06/16] blk-mq: add 'type' attribute to the sysfs hctx directory To: Omar Sandoval Cc: linux-block@vger.kernel.org, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org References: <20181030183252.17857-1-axboe@kernel.dk> <20181030183252.17857-7-axboe@kernel.dk> <20181101215957.GH18005@vader> From: Jens Axboe Message-ID: <163b5cc9-8106-9369-9675-f93bca24cd81@kernel.dk> Date: Thu, 1 Nov 2018 16:50:22 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181101215957.GH18005@vader> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/1/18 3:59 PM, Omar Sandoval wrote: > On Tue, Oct 30, 2018 at 12:32:42PM -0600, Jens Axboe wrote: >> It can be useful for a user to verify what type a given hardware >> queue is, expose this information in sysfs. >> >> Reviewed-by: Hannes Reinecke >> Reviewed-by: Bart Van Assche >> Signed-off-by: Jens Axboe >> --- >> block/blk-mq-sysfs.c | 10 ++++++++++ >> 1 file changed, 10 insertions(+) > > Out of curiousity, why sysfs instead of debugfs? I don't feel that strongly about it, but it is a property like the mapped CPUs, for instance, so kind of makes sense to put it there rather than in debugfs. -- Jens Axboe