Messages in this thread | | | Date | Mon, 12 May 2008 00:44:45 +0800 | From | "P.V.Anthony" <> | Subject | Re: How to change the FSINFO for nfsd? |
| |
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
| |