Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp5447980imd; Tue, 30 Oct 2018 18:28:12 -0700 (PDT) X-Google-Smtp-Source: AJdET5e4IU73oWQYPu4hASrk7Y3O0GQ4ucE79075MxCdXAgHVn4OK6AmXE5doRcwgkdCkUnFj4WE X-Received: by 2002:a63:1444:: with SMTP id 4mr1087136pgu.430.1540949291947; Tue, 30 Oct 2018 18:28:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540949291; cv=none; d=google.com; s=arc-20160816; b=alkinql4vls6LgzOjvasDDxi9xY/s0HA+/p5DJqShsO89zr+XAkBxM2uRHEyPkZVmZ 9jHlBSZotn1XiKOxKPNOl7ZVG6P7FeNDCQ/cUGtbHHz6zjSRlxr9Ym8MDo0h3jUQ6Yc+ 1o8ok0n+yNE33iG1upWEAZLLjw9fRbNtDVfM2EJQjAcOFVeJKTE7Qu2OCMRwOEZ+3Pmy th2s3YV+C4kd26hUgnxDLjhXYtcAkL6+3T64BoALEuDxlqH5okbs/m0U6D/GNUme9Or0 K0u2NZEO+TYQqATM5SaC50bRrXaghfN0EuvszvdW+puth1ToM3wM98h9OZI9DqnIPN9O Qt+g== 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:to:subject; bh=khWo0nrLtR0gpz6qZiFVs3uMUmNdBFNMYf2YM6o6TGQ=; b=ZiEA+BaUXoiAKP60ZgwPQjH747tNjikhwiNnENcWR8vybv4778QUk/cO4Z92mx5SYb I7y2m4f/oHEyIULv+1TPRkCnyHLItUF75s4f5J4VmN+UoQJgBcLEOeJpQcJygUJLZz8E 4a5Wasix4vdAOyYBoFG8o/fopiJFDM11b6vd/PskxQMWJlXGn2feLY+nvttt3U4L09sI mr2N3OrKHSa76C0ycapPYZrZX8+Y1S7AGkHM/hajZs1eH430oMHOO0ck143pTlm7oWCo fBJlCNKHBoDL8QKraKlsXR2662AcxYnZIDpPatkmxoz5k7sBFSPkon0ISzseRgWEDoyF SQsw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g14-v6si27106583plm.142.2018.10.30.18.27.56; Tue, 30 Oct 2018 18:28:11 -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; 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 S1728843AbeJaJtc (ORCPT + 99 others); Wed, 31 Oct 2018 05:49:32 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:37109 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728591AbeJaJtb (ORCPT ); Wed, 31 Oct 2018 05:49:31 -0400 Received: by mail-pg1-f193.google.com with SMTP id c10-v6so6510190pgq.4; Tue, 30 Oct 2018 17:53:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=khWo0nrLtR0gpz6qZiFVs3uMUmNdBFNMYf2YM6o6TGQ=; b=ZQOSVZCNa6Mkhba6vaAWNLuZM0hs4gW69BwS2d9qbJUbSEZ8ulAJU80Txf9tfj8/gk 7qxibsWSl/PZzSV0pUnkotVjp8hMjMXs9/yL/eWMm/2h+f3YA2hMj+KiK8Pzzab64sQJ zoE0R4JIxQ29NWzEm2iKyj68AZw1KOadINLvF46IALlFXLX7xMLFPwcy8BOne4TVXxAK nyBL46pC3Ihn6e/jBcameKXwyb94+gA23xDzT51ODk/Rs4ng4gSJ9p3pxiXk47rTZaG3 mJFsZkE6+U/2UQ5UX8L156bYEEroK+Urj7idoG3N7NrTIAVR/bxJO4b4J2obAV2xtYhQ u9YA== X-Gm-Message-State: AGRZ1gKgyiXNHgXkZUfhXqaT+7co4+yeLK7U7afqjjgyk6aygLxXyxnK 8mEncDZpis9PqtkJhLqPeRIFI8kC X-Received: by 2002:a62:4e01:: with SMTP id c1-v6mr996465pfb.141.1540947225329; Tue, 30 Oct 2018 17:53:45 -0700 (PDT) Received: from ?IPv6:2601:647:4800:973f:e9fd:d0f6:3e3:43a5? ([2601:647:4800:973f:e9fd:d0f6:3e3:43a5]) by smtp.gmail.com with ESMTPSA id x189-v6sm20604509pfb.162.2018.10.30.17.53.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Oct 2018 17:53:44 -0700 (PDT) Subject: Re: [PATCH 06/16] blk-mq: add 'type' attribute to the sysfs hctx directory To: Jens Axboe , 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> From: Sagi Grimberg Message-ID: <2d858eb1-56d6-5c3e-7c7e-9e36b1ad04fc@grimberg.me> Date: Tue, 30 Oct 2018 17:53:43 -0700 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: <20181030183252.17857-7-axboe@kernel.dk> Content-Type: text/plain; charset=utf-8; format=flowed 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 > It can be useful for a user to verify what type a given hardware > queue is, expose this information in sysfs. I assume the user is expected to understand the meaning of the enumeration it sees in accessing this field correct? Would be nice to output some meaningful string but I'm not yet sure how to do that, but would be nice... Other than that, Reviewed-by: Sagi Grimberg