Return-Path: Return-Path: Subject: Re: [PATCH 23/24] ibnbd: a bit of documentation To: Roman Penyaev , Bart Van Assche Cc: "linux-block@vger.kernel.org" , "linux-rdma@vger.kernel.org" , "danil.kipnis@profitbricks.com" , "hch@infradead.org" , "ogerlitz@mellanox.com" , "jinpu.wang@profitbricks.com" , "axboe@kernel.dk" References: <20180202140904.2017-1-roman.penyaev@profitbricks.com> <20180202140904.2017-24-roman.penyaev@profitbricks.com> <1517586918.2675.3.camel@wdc.com> From: Sagi Grimberg Message-ID: Date: Mon, 5 Feb 2018 16:16:02 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed List-ID: > /sys/kernel was chosen ages ago and I completely forgot to move it to configfs. > IBTRS is not a block device, so for some read-only entries (statistics > or states) > something else should be probably used, not configfs. Or it is fine > to read state > of the connection from configfs? For me sounds a bit weird. Configs go via configfs, states and alike go to sysfs (but you need your own class device).