Return-Path: Received: from mx2.netapp.com ([216.240.18.37]:21202 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753721Ab1IUS1Z (ORCPT ); Wed, 21 Sep 2011 14:27:25 -0400 Message-ID: <4E7A2C8B.2060204@netapp.com> Date: Wed, 21 Sep 2011 14:27:23 -0400 From: Bryan Schumaker To: linux-fsdevel@vger.kernel.org, "linux-nfs@vger.kernel.org" , viro@zeniv.linux.org.uk, "Myklebust, Trond" , Chuck Lever Subject: Re: [PATCH] VFS: Add "device" tag to /proc/self/mountstats References: <4E5BCA9E.2010908@netapp.com> In-Reply-To: <4E5BCA9E.2010908@netapp.com> Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 What is the status of this patch? I hope it didn't get forgotten with the kernel.org confusion... - Bryan On 08/29/2011 01:21 PM, Bryan Schumaker wrote: > > nfsiostat was failing to find mounted filesystems on kernels after > 2.6.38 because of changes to show_vfsstat() by commit > c7f404b40a3665d9f4e9a927cc5c1ee0479ed8f9. This patch adds back the > "device" tag before the nfs server entry so scripts can parse the > mountstats file correctly. > > Signed-off-by: Bryan Schumaker > --- > fs/namespace.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/fs/namespace.c b/fs/namespace.c > index 22bfe82..1429114 100644 > --- a/fs/namespace.c > +++ b/fs/namespace.c > @@ -1109,6 +1109,7 @@ static int show_vfsstat(struct seq_file *m, void *v) > > /* device */ > if (mnt->mnt_sb->s_op->show_devname) { > + seq_puts(m, "device "); > err = mnt->mnt_sb->s_op->show_devname(m, mnt); > } else { > if (mnt->mnt_devname) {