public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "P.V.Anthony" <pvantony@singnet.com.sg>
To: "J. Bruce Fields" <bfields@fieldses.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: How to change the FSINFO for nfsd?
Date: Mon, 12 May 2008 00:44:45 +0800	[thread overview]
Message-ID: <4827227D.6040903@singnet.com.sg> (raw)
In-Reply-To: <20080509042238.GC21408@fieldses.org>

J. Bruce Fields wrote:

> I think you're probably barking up the wrong tree, but the max file size
> as returned by fsinfo is set in fs/nfsd/nfs3proc.c:nfsd3_proc_fsinfo().

Thank you very much for information on which file to change.

Need to ask one question. Please bear with me as I am not a programmer.

1. What program should be used to see the FSINFO of a NFS server?
This program is needed to see if the changes done to the source is
returning with the required FSINFO information.

Just for the record, the change done is as follows.

/usr/src/linux/fs/nfsd # diff nfs3proc.c.org nfs3proc.c
558c558
<       resp->f_maxfilesize = ~(u32) 0;
---
>       resp->f_maxfilesize = 1111111111111111;

P.V.Anthony


  reply	other threads:[~2008-05-11 16:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-08 17:05 How to change the FSINFO for nfsd? P.V.Anthony
2008-05-09  4:22 ` J. Bruce Fields
2008-05-11 16:44   ` P.V.Anthony [this message]
2008-05-11 17:36     ` Bernd Eckenfels
2008-05-17 17:57   ` Solved - " P.V.Anthony
2008-05-17 18:25     ` Jan Engelhardt
2008-05-17 18:36       ` Trond Myklebust
2008-05-19 17:24         ` J. Bruce Fields
2008-05-19 17:59           ` P.V.Anthony
2008-05-20  8:15           ` P.V.Anthony
2008-05-20 13:12             ` Trond Myklebust

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4827227D.6040903@singnet.com.sg \
    --to=pvantony@singnet.com.sg \
    --cc=bfields@fieldses.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox