Re: [pnfs] [RFC 11/51] FIXME: nfsd41: reduce server lease time for nfs41

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



review 11-12: get rid of this patch (at least for submit),
can be set in run time.

On Nov. 10, 2008, 22:44 +0200, Benny Halevy <bhalevy@xxxxxxxxxxx> wrote:
> From: Marc Eshel <eshel@xxxxxxxxxxxxxxx>
> 
> FIXME: bhalevy: find out why this is needed.  Is this only for debugging?
> 
> Signed-off-by: Benny Halevy <bhalevy@xxxxxxxxxxx>
> ---
>  fs/nfsd/nfs4state.c |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
> index 0e1bc72..dcb075d 100644
> --- a/fs/nfsd/nfs4state.c
> +++ b/fs/nfsd/nfs4state.c
> @@ -59,8 +59,13 @@
>  #define NFSDDBG_FACILITY                NFSDDBG_PROC
>  
>  /* Globals */
> +#if defined(CONFIG_NFSD_V4_1)
> +static time_t lease_time = 20;     /* default lease time */
> +static time_t user_lease_time = 20;
> +#else /* CONFIG_NFSD_V4_1 */
>  static time_t lease_time = 90;     /* default lease time */
>  static time_t user_lease_time = 90;
> +#endif /* CONFIG_NFSD_V4_1 */
>  static time_t boot_time;
>  static u32 current_ownerid = 1;
>  static u32 current_fileid = 1;
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux