nfs4: remove static for nfs4_max_xxx
Being static defined, these variables can not be changed with mdb etc. Also, possibly some future patches will be based on it.
Updated by Daniil Lunev almost 9 years ago
Actually, it's not a problem of visibility.
Code in nfs4_common.c:
static uint_t nfs4_max_transfer_size = 32 * 1024;
static uint_t nfs4_max_transfer_size_cots = 1024 * 1024;
static uint_t nfs4_max_transfer_size_rdma = 1024 * 1024;
/* * For the moment, just return nfs4_max_transfer_size until we * can query the appropriate transport.
nfs4tsize: pushq %rbp
nfs4tsize+1: movq %rsp, %rbp
nfs4tsize+4: movl $0x8000, %eax
As you can see, nfs4_max_transfer_size value hard coded and can't be changed at all.