Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1297428imm; Fri, 17 Aug 2018 15:48:30 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzMHs8fCwty3t2af/Lny3xN7f8cuUb7UUpmT9lIxBvx9FN22/rZmgj+9FwCXkosVSfcypwM X-Received: by 2002:a63:b43:: with SMTP id a3-v6mr34181949pgl.50.1534546110057; Fri, 17 Aug 2018 15:48:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534546110; cv=none; d=google.com; s=arc-20160816; b=UgULfWi8jRwe9wubQD7p1BoWMFkxyWcI0OjWVOetIyRm9APgn6cuTp6z5eURr+ICxW AKE3Rvrq3V7GGGb7tQhQnkGCLRkC91iYlLMrJ6dK8Esh8zhxafPLj85HMnpjQ4AzhRk/ 8L/M9F2HCDT8saAvB0haKkJrr8bGsr3aLXruY7HSOB0HzCa5mvgFqRTYFZjPfaRPL5LP Inxdk0/2aX3NL2u49btDMddXm3Q6L7MYVG+XUs0EkWRCc660Pdz1ZiFcsIWfijuqZE3Z L+c+1EgIrtmK8ibybr6T/XxSPIhJZfFHd2MPMF4IUil6agW8qQClhCE4wG8IpOic19vh 9QzA== 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:arc-authentication-results; bh=UnNGo8D78Bo33rmz8map+HM3C2S/MuF2ULlGUwIEizs=; b=HodZfASBcWw4SuxTRWkQoxBtGxdzL29v40jToViEslwTEQCN9CejRg/M+B0Q/yxmph xyB7u1vDItHupXTvC5mUWDCpAURjpIBWkrhJ5uk0vvgv3cY16B/Woi7FFf19o2Gh93ng blUyKLUInJkoNt31sgrer9/cFDqGQY2z0VJ522Xru/3J+FBb/6J048Eou/eo5BLSeltO rfd1KjSIT5S1xARq88174K0QQw8eUt3vIsMesMsZYwSuKrkOEbAV1gumwQzmD8ReITs2 4cZ3KL1CSFevKS0kUZMTDFJiSv+iYRk9RUBbR8qEbuSgjLU7xLMZVeOW5eS03wY25Svn c7xA== 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 h24-v6si2941505pgh.365.2018.08.17.15.48.14; Fri, 17 Aug 2018 15:48:30 -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 S1728494AbeHRBwW (ORCPT + 99 others); Fri, 17 Aug 2018 21:52:22 -0400 Received: from mail-yw1-f66.google.com ([209.85.161.66]:41293 "EHLO mail-yw1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727956AbeHRBwV (ORCPT ); Fri, 17 Aug 2018 21:52:21 -0400 Received: by mail-yw1-f66.google.com with SMTP id q129-v6so4945025ywg.8; Fri, 17 Aug 2018 15:47:07 -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:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=UnNGo8D78Bo33rmz8map+HM3C2S/MuF2ULlGUwIEizs=; b=A2N/Kfx5Pu9uz8cKXXDpxgk84xx8G9Lf4o+97bufX5bd3MO/1nRi6V/ROF4APea74b FEZTiMvmq41swtrpedZFqwQWyRS+ovKHnBy4wqiKUKLNMq9omImDzk9bzKQoqjG8GYqE TVHzFinI+647751XeMniec7Jt7PtxHijZulh5lD5zgT+ODBYP3LReQ4yDjDNPZNUuy8O WTGUcMaz4ERuog3lWdSJjW8hC9uoGRosf52MXaWrxxm4xYG2f1S+D2InRXB/i6fB+Hih JYHnX9s02iSw4MTIolYpKe95m9oyXIp0v7mV6Leks8kzwC3AWdZj9mE7MCczSAPbq/qW 9Lhg== X-Gm-Message-State: AOUpUlFabMfUZNPuVXl4JqXmK4wJ4FzE7b3M/UVxpnfX4eSrkinZw/5P T9TNngOA3pB3rb92ajHpuX8= X-Received: by 2002:a81:760a:: with SMTP id r10-v6mr20631641ywc.364.1534546027311; Fri, 17 Aug 2018 15:47:07 -0700 (PDT) Received: from [192.168.16.57] (162-195-240-247.lightspeed.sntcca.sbcglobal.net. [162.195.240.247]) by smtp.gmail.com with ESMTPSA id b135-v6sm3791007ywh.24.2018.08.17.15.47.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Aug 2018 15:47:06 -0700 (PDT) Subject: Re: [PATCH 2/5] nvme: register ns_id attributes as default sysfs groups To: Bart Van Assche , "hch@lst.de" Cc: "linux-kernel@vger.kernel.org" , "linux-block@vger.kernel.org" , "hare@suse.de" , "axboe@kernel.dk" , "hare@suse.com" , "linux-nvme@lists.infradead.org" , "keith.busch@intel.com" References: <20180814073305.87255-1-hare@suse.de> <20180814073305.87255-3-hare@suse.de> <5a4aab8b5f509d8090ad10107b01d11285fe1528.camel@wdc.com> <20180817070013.GD11170@lst.de> From: Sagi Grimberg Message-ID: <23e2d972-c1fd-4581-60d1-a3a736f311a8@grimberg.me> Date: Fri, 17 Aug 2018 15:47:04 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: 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 > Hello Christoph, > > How about applying the patch below on top of Hannes' patch? The patch below > has the advantage that it completely separates the open channel sysfs > attributes from the NVMe core sysfs attributes - the open channel code > doesn't have to know anything about the NVMe core sysfs attributes and the > NVMe core does not have to know anything about the open channel sysfs > attributes. This looks better to me Bart (unless I'm missing something)