[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4827227D.6040903@singnet.com.sg>
Date: Mon, 12 May 2008 00:44:45 +0800
From: "P.V.Anthony" <pvantony@...gnet.com.sg>
To: "J. Bruce Fields" <bfields@...ldses.org>
CC: linux-kernel@...r.kernel.org
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists