diff options
author | Mike Marshall <hubcap@omnibond.com> | 2016-01-13 17:38:14 +0100 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-01-13 17:38:14 +0100 |
commit | be57366e14d8341f5d2b589d5b59151895afe210 (patch) | |
tree | c582ce175ed0e6be9c3f968e166c0d246968b74f /fs/orangefs/super.c | |
parent | Orangefs: define a minimum compatible userspace version. (diff) | |
download | linux-be57366e14d8341f5d2b589d5b59151895afe210.tar.xz linux-be57366e14d8341f5d2b589d5b59151895afe210.zip |
Orangefs: make .statfs gossip_debug more complete.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/super.c')
-rw-r--r-- | fs/orangefs/super.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/fs/orangefs/super.c b/fs/orangefs/super.c index bee67b37d805..a32981239ea6 100644 --- a/fs/orangefs/super.c +++ b/fs/orangefs/super.c @@ -158,11 +158,15 @@ static int orangefs_statfs(struct dentry *dentry, struct kstatfs *buf) goto out_op_release; gossip_debug(GOSSIP_SUPER_DEBUG, - "orangefs_statfs: got %ld blocks available | " - "%ld blocks total | %ld block size\n", + "%s: got %ld blocks available | " + "%ld blocks total | %ld block size | " + "%ld files total | %ld files avail\n", + __func__, (long)new_op->downcall.resp.statfs.blocks_avail, (long)new_op->downcall.resp.statfs.blocks_total, - (long)new_op->downcall.resp.statfs.block_size); + (long)new_op->downcall.resp.statfs.block_size, + (long)new_op->downcall.resp.statfs.files_total, + (long)new_op->downcall.resp.statfs.files_avail); buf->f_type = sb->s_magic; memcpy(&buf->f_fsid, &ORANGEFS_SB(sb)->fs_id, sizeof(buf->f_fsid)); |