From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Steve French (smfltc)" Subject: Re: mountstats Date: Mon, 14 Aug 2006 13:35:43 -0500 Message-ID: <44E0C27F.4070304@us.ibm.com> References: <44D90E78.4060006@us.ibm.com> <1155576129.5664.94.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org, linux-cifs-client@lists.samba.org Return-path: Received: from e3.ny.us.ibm.com ([32.97.182.143]:56785 "EHLO e3.ny.us.ibm.com") by vger.kernel.org with ESMTP id S1752049AbWHNSfD (ORCPT ); Mon, 14 Aug 2006 14:35:03 -0400 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e3.ny.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k7EIZ0xA016981 for ; Mon, 14 Aug 2006 14:35:00 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay02.pok.ibm.com (8.13.6/8.13.6/NCO v8.1.1) with ESMTP id k7EIZ0f3262008 for ; Mon, 14 Aug 2006 14:35:00 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k7EIZ0Jg023644 for ; Mon, 14 Aug 2006 14:35:00 -0400 To: Trond Myklebust In-Reply-To: <1155576129.5664.94.camel@localhost> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Trond Myklebust wrote: >On Tue, 2006-08-08 at 17:21 -0500, Steve French wrote: > > >>Why are mountstats per process (e.g. "cat /proc/1/mountstats")? >> >> > >Namespaces are per-process, hence so are the per-mountpoint mountstats. > >Cheers, > Trond > > > Namespaces are per process but superblocks are not. It could be confusing to some users. Locating these stats [only] in the perprocess information (alongside some truly per-process stats) creates the impression that the stats are those I/Os for that per-process for that mount while the stats displayed are the stats for the superblock (across all processes that have the superblock in the namespace). I realize that it would not really be possible to show per-process/per-mount stats but it seems odd that the per-superblock mountstats show up only here, rather in a more intuitive location(s) such as /proc/mountstats [as well].