From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Subject: Re: [PATCH 07/24] ibtrs: client: sysfs interface functions To: Roman Pen , linux-block@vger.kernel.org, linux-rdma@vger.kernel.org Cc: Jens Axboe , Christoph Hellwig , Bart Van Assche , Or Gerlitz , Danil Kipnis , Jack Wang References: <20180202140904.2017-1-roman.penyaev@profitbricks.com> <20180202140904.2017-8-roman.penyaev@profitbricks.com> From: Sagi Grimberg Message-ID: <1e874694-b30e-d957-6b48-edefe8e41c9a@grimberg.me> Date: Mon, 5 Feb 2018 13:20:47 +0200 MIME-Version: 1.0 In-Reply-To: <20180202140904.2017-8-roman.penyaev@profitbricks.com> Content-Type: text/plain; charset=utf-8; format=flowed List-ID: Hi Roman, > This is the sysfs interface to IBTRS sessions on client side: > > /sys/kernel/ibtrs_client// > *** IBTRS session created by ibtrs_clt_open() API call > | > |- max_reconnect_attempts > | *** number of reconnect attempts for session > | > |- add_path > | *** adds another connection path into IBTRS session > | > |- paths// > *** established paths to server in a session > | > |- disconnect > | *** disconnect path > | > |- reconnect > | *** reconnect path > | > |- remove_path > | *** remove current path > | > |- state > | *** retrieve current path state > | > |- stats/ > *** current path statistics > | > |- cpu_migration > |- rdma > |- rdma_lat > |- reconnects > |- reset_all > |- sg_entries > |- wc_completions > > Signed-off-by: Roman Pen > Signed-off-by: Danil Kipnis > Cc: Jack Wang I think stats usually belong in debugfs.